Active
Project:
Image Caption
Version:
6.x-2.5
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2010 at 15:59 UTC
Updated:
19 Aug 2010 at 22:02 UTC
Is it possible to use this module with Insert? I can have insert put a class "caption" on the image as it is placed into the wysiwyg text field, but I don't know how to get Image Caption to run the javascript to pull the title text (or, in my case, I switched it to use the Alt text) and make the image caption. I've edited my editor.css file to include an empty .caption class as well...
Comments
Comment #1
geerlingguy commentedHmm... I got it to work with Insert; however, is it possible to display the caption while viewing the page in the editor, for instance, after you click 'Insert,' the caption and the related divs would be added automatically?
Comment #2
ashedryden commentedInterested in this functionality, too.
Comment #3
mawosch commentedIt is already possible. In the Node-Type Insert section there is a input field "Additional CSS classes: " When I put the class there in, it works.
Comment #4
geerlingguy commentedYes, but you don't actually see the caption class applied via javascript in the wysiwyg editor; you need to first save the page, then you'll see the caption...