ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Ignore:
Timestamp:
Mar 2, 2009, 3:48:04 PM (12 years ago)
Author:
ebihara
Message:

#3596:fixed the memberImageBox parts always display "no image" images

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/apps/pc_frontend/templates/_partsMemberImageBox.php

    r10920 r10921  
    33<p class="photo">
    44<?php $imgParam = array('size' => '180x180', 'alt' => $options->object->getName()) ?>
    5 <?php if ($options->image): ?>
    6 <?php echo image_tag_sf_image($options->image, $imgParam) ?>
     5<?php if ($options->object): ?>
     6<?php echo image_tag_sf_image($options->object->getImageFileName(), $imgParam) ?>
    77<?php else: ?>
    88<?php echo image_tag('no_image.gif', $imgParam) ?>
Note: See TracChangeset for help on using the changeset viewer.