Closed (works as designed)
Project:
Image cycle
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 Sep 2010 at 13:36 UTC
Updated:
10 Jan 2011 at 08:34 UTC
Is there a way to show a caption to each image in image_cycle as they cycle, based on the title given to the image on upload?
Drupal6, Image_cycle 6.x-1.1, Jquery.cycle.min.js.
Many thanks.
Comments
Comment #1
tony@faithfull.id.au commentedSolved this for myself eventually.
1. Create a container for the caption.
In Administer->Site Building->Blocks->Image Cycle->configure, I put the following code:
2. Define a function for the 'after' parameter to populate the container with the appropriate caption text, in this case from the alt attribute of the image.
In Administer->Content Management->Image Galleries->[your gallery]->edit gallery->Cycle Settings Parameters, I put the following parameter: