If you want to update the values for an image, the CSS class for Design doesn't show the current value. Would be nice to see it reflect the current set CSS class.

For example I'm using the Image Caption module which depends on a CSS class, this way I know if it is already set or I can set a different CSS class.

Comments

eugenmayer’s picture

Not sure iam understanding you properly.

Do you mean, when you use the imagecache theme methode to return something like

<img class="mycaptionclass">

and later, when its in injected into the wysiwyg editor it looks like

<img class="mycaptionclass imgupl_style_border imagecache imagecache-preset-Original">

But when you edit this image again, you lose something? Well actually you only lose something if your theme_ method does not return "mycaptionclass" this time, otherwise it should look the same.
So actually the image-attributes are taken and feaded through the theme_ method once again

eugenmayer’s picture

Category: bug » feature
Status: Active » Fixed

A general problem with the approach in 6.1-0 branch to handle a mass of meta-informations. Added a special case to support image-captions using the http://drupal.org/project/image_caption module ( so supportig the style class "caption" which does not follow the rule, that a style must be name imguplo_style_*

Added in RC2

eugenmayer’s picture

eugenmayer’s picture

Status: Fixed » Closed (fixed)