When I check the "add title and description box" and insert an image, I get a div containing the title, then the image (linked to lightbox), then another div with the description, and if alignment is applied the the image, I get some very 'interesting' formatting issues.
I think that this could be improved by inserting the image and any title/description into a div, and have the alignment assigned to the div rather than the image. This could allow for styling (such as a frame/border) to images (I'm thinking polaroid style, or how WordPress currently formats image captions in 2.8).
Is this possible with the current implementation of Image Picker?
Comments
Comment #1
hutch commentedThe current dev version has the javascript that does the insertion in imagepicker_iframe.js, you can tweak that to suit your preferences.
With the current stable version you would have to edit function imagepicker_js in imagepicker.module.
Comment #2
wessex commentedThanks, I'll give that a go.
Comment #3
hutch commentedIt might be possible to manipulate the css classes 'imgp_desc' and 'imgp_title' with some deft css positioning, not my strongest point I'm afraid. Do let the list know if you come up with a more coherent solution ;-)
Comment #4
hutch commentedComment #5
Scott J commentedI think you could say the same for the image page: it would look better if the description was aligned with the image.