Jump to:
| Project: | FancyZoom |
| Version: | 6.x-1.1 |
| Component: | Documentation |
| Category: | support request |
| Priority: | minor |
| Assigned: | thinkyhead |
| Status: | closed (works as designed) |
Issue Summary
Thanks for a great module! I can't figure out how to get the Image Caption Titles to display within FancyZoom.
I am using Imagecache and have created a imagecached thumbnail that i am then using the CCK display rules to link to the full image.
I am using a node-project.tpl.php file. I am calling the following code to display all the thumbs that are linking to the FancyZoom image.
TEMPLATE CODE:
<?php // BEGIN PROJECT PHOTOS ?>
<?php if (!empty($node->content['group_projectimages']['#children'])): ?>
<div id="row2">
<?php print $node->content['group_projectimages']['#children'] ?>
</div>
<?php endif; ?>The Output code of this shows as:
TEMPLATE CODE OUTPUT:
<div class="fieldgroup group-propertyimages">
<div class="content"><div class="field field-type-filefield field-field-propertyphotos">
<div class="field-items"> <div class="field-item odd">
<a href="http://mysite.com/sites/default/files/projects/images/photos/Green_Sea_Turtle.jpg" class="imagecache imagecache-ap_thumb imagecache-imagelink imagecache-ap_thumb_imagelink">
<img src="http://mysite.com/sites/default/files/imagecache/ap_thumb/projects/images/photos/Green_Sea_Turtle.jpg" alt="TEST ALT TEXT" title="TEST IMG TITLE" width="95" height="63" /></a>
</div>
<div class="field-item even">
<a href="http://mysite.com/sites/default/files/projects/images/photos/Winter_Leaves.jpg" class="imagecache imagecache-ap_thumb imagecache-imagelink imagecache-ap_thumb_imagelink">
<img src="http://mysite.com/sites/default/files/imagecache/ap_thumb/projects/images/photos/Winter_Leaves.jpg" alt="TEST2 ALT TEXT" title="TEST2 IMG TITLE" width="95" height="63" /></a>
</div>
</div>
</div></div> </div> I am able to see that the title tags are being displayed for the thumbnails but not the FancyZoom Display. The Goal is to have the thumbail with the Title below it, and have the same within the FancyZoom Image as well.
Does anyone have any thoughts on how to get the caption to display within the FancyZoom Image?
Comments
#1
The TITLE for the caption belongs on the A tag, not the IMG tag.