It would be very helpful to have addition options with the insert module to determine alignment when inserting an image, as well as hspace, vspace and border.

Also, once an image has been inserted to a wysiwyg controlled text area, there is no way to edit (Alignment, hspace, vspace, alt text, title, etc..) other then to disable rich text and manually edit the code.

Comments

quicksketch’s picture

Insert will not provide options for hspace, vspace, or any other HTML properties. Note that you can easily set these properties by overriding the insert-image.tpl.php file in your theme, but all these options should probably be handled by your WYSIWYG editor or through CSS, which I'd recommend anyway over using hard-coded HTML properties.

GregoryHeller’s picture

while i agree that for things like hspace and vspace they should be set in the css, users often want to adjust the positioning/alignment and wrapping for the image depending on where it is posted in the text, and how many images there are.

How would one change the alignment/wrapping using the wysiwyg editor? left/right/center alignment would wrap the entire image in a tag, not set the image alignment property, right?

quicksketch’s picture

Status: Active » Closed (won't fix)

It depends on your WYSIWYG. As far as I know, using the alignment or spacing options in most WYSIWYGs will apply the styling directly to the image tag. I'm marking this won't fix, since I think this request is at the wrong level. It should be handled within the editor you use, not Insert.