Closed (fixed)
Project:
Image Caption
Version:
6.x-2.4
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jan 2010 at 21:11 UTC
Updated:
3 Feb 2010 at 17:00 UTC
Hey there, this module is great! The only thing I found is that it seems it's not possible to add a caption to a picture directly from the imagefield's title sub-field?
Is this possible that it does not work? Adding the title to the picture directly in the tinymce advanced image popup does work, but seems to me it would be simpler to let the user get the title right there with the filefield! Any chance this could work? thanks,
Patchak
ps. Using latest version of all modules as of today!
Comments
Comment #1
davidwhthomas commentedIf the imagefield image could have a class of 'caption' assigned, it will be picked up by image_caption.
You could add the 'caption' class by overriding the template for the imagefield. ( http://drupal.org/node/206980 )
Comment #2
patchak commentedThanks for the answer! I tried inserting another class at the output of the image, and it seesm the image gets this class :
Path: p » img.imagecache-Medium-original-size caption
So as you can see there is the caption tag there, so that actually seems to work. What is weird it's that the title says "Undefined", instead of the title inserted in the filefield... This "Undefined" seems to come from tinymce advanced image plugin... ?
Does the css class seem right to call the caption feature?
Thanks for any help, this should work normally I think so I must have something wrong in the config...
Patchak
Comment #3
patchak commentedOk this is fixed, seems it's related to this.. So I had to update the Insert module!
http://drupal.org/node/611158