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

hutch’s picture

The 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.

wessex’s picture

Thanks, I'll give that a go.

hutch’s picture

It 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 ;-)

hutch’s picture

Status: Active » Closed (fixed)
Scott J’s picture

I think you could say the same for the image page: it would look better if the description was aligned with the image.