Needs review
Project:
SWF Tools
Version:
6.x-2.5
Component:
SWF Tools
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 May 2009 at 13:24 UTC
Updated:
28 Feb 2010 at 17:37 UTC
The simpleviewer module writes its XML file using this:
<image>
<filename>'. $details['filename']. '</filename>
<caption>'. $details['description'] .'</caption>
</image>';
but the resulting file winds up like this:
<image>
<filename>slide.jpg</filename>
<caption></caption>
</image>
which tells me that the description field of the $details array isn't being populated, presumably in the swftools module itself.
Comments
Comment #1
Marko B commentedHmm yeah, i just wanted to ask how to ADD captions to images in SWF tools xml as XML is always empty, tried with title and alt also but nothing adds to xml. Any idea how to solve this?
Comment #2
strawman commenteddidn't this ever get solved?
Having same issue right now...and looking to fix..
Comment #3
strawman commentedOnly thing I can come up with is located in swftools module line 1034...trying to find away to get the module to pull the data from the cck field...any help would be great...don't really feel like taking the module apart to get this to work....
Please help...
Comment #4
Stuart Greenfield commentedA fix is coming!
The playlisting features need a big overhaul and this is now well underway in DRUPAL-6--3. The CCK support has been a hugely popular feature, so the next release should support descriptions properly. Watch this thread for updates!
Comment #5
Stuart Greenfield commentedThis is now fixed in branch DRUPAL-6--3. If you use CCK filefields to create the playlist, and provide a description with the file, then the description will be used as the caption.
Note you may need to clear your playlist directory to cause the xml files to be re-built, and also flush your browser cache, to pick up the new xml data.