Allow specification of a CSS class for an inline image

mrowe - November 15, 2004 - 11:08
Project:Image filter
Component:Code
Category:feature request
Priority:normal
Assigned:mrowe
Status:closed
Description

It would be handy to be able to set a CSS class for inlined image tags (e.g when right-aligning images, margin settings should be different to block align the image appropriately).

This patch extends the image_filter syntax to allow a class to be specified:

[image:123 class=imgleft]

If nobody has any objections, I'll commit this to HEAD in a few days.

AttachmentSize
image_filter_class.patch2.2 KB

#1

mrowe - November 21, 2004 - 00:36

Committed to HEAD

#2

Anonymous - December 5, 2004 - 01:15
 
 

Drupal is a registered trademark of Dries Buytaert.