Closed (fixed)
Project:
Image Picker
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2009 at 03:47 UTC
Updated:
25 Sep 2009 at 09:28 UTC
When it comes to inserting an image, we need a way to assign a style. Perhaps a simple text field under the 'insert title and description' option that will allow us to use a custom CSS class for image styling.
Comments
Comment #1
hutch commentedSimple enough, I have made it an option which can be enabled under the advanced features on the configuration
Added to CVS, will appear in the 2.x dev version later today.
Please test and let me know ;-)
Comment #2
rewted commentedWill do. *Awaits dev version commit*
Comment #3
hutch commentedthere now
Comment #4
rewted commentedIt doesn't add the css class properly. Seems to just insert the class name you give it, but no class=" ".
Comment #5
hutch commentedOh, it did for me, would you be using a wysiwyg editor?
I notice that non 'Full HTML' strips style="......" but it should not strip class="...."
justed tested it it a plain body box in a zen theme, here is what it pasted
So I don't know what is stripping it, I tried it with single quotes too and that pasted OK too.
Comment #6
rewted commentedMy node was full html too. Noticed mixed results when using the align left defaults in conjunction with this new custom class too.
Comment #7
hutch commentedPlease remember that imagepicker has *no* control over how a node renders, it only supplies the means to paste a piece of html into the node body, what happens to it after that is completely beyond the control of this module.
As far as I can see this (optional) feature does what it says, it adds css to the image tag. If the result is different than you expected than that is an issue with the filtering or with css, not imagepicker.
Comment #8
hutch commented