Active
Project:
Image Caption
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2011 at 11:50 UTC
Updated:
13 Jan 2012 at 01:41 UTC
We just need the possibility to set caption as standard, in some kind.
Say a class to like .no-caption to set it offf when stadard is yes e.g. for a content type. And the .caption class to set it on when standard is off.
Comments
Comment #1
davidwhthomas commentedTo re-phrase, you mean new default config settings
1. caption all images or
2. caption only images with the "caption" class ?
Option 1 would probably need to be restricted to the main content area or could interfere with the theme.
I could see it becoming problematic to mark images not to caption.
Interesting though.
Comment #2
reinis.berzins commentedThis solution works well for TinyMCE editor. Open the following file: 0:/public_html/sites/all/libraries/tinymce/jscripts/tiny_mce/plugins/advimage/js/image.js and add a single line to it (around line No.180):
Although the selected class="caption" doesn't appear as selected on the insert/edit image dialogue, still every image inserted into textarea via tinyMCE editor gets automatic class="caption".
Comment #3
rooby commentedI agree, I would like an option to 'caption all images' and then use whether or not the image has a title attribute as whether or not it has a caption.
Having to add classes is clunkly and unnecessary.
Comment #4
rooby commentedAlso, in terms of marking images as no-caption, that is unnecessary too, just leave the title attribute empty and the image will be skipped over when captioning.