Hi Yanniko,
great Module. Thank you very much. But i have a little Problem with my Installation.
I used Drupal 7.21, Colorbox and CCK-Blocks and it seems that the Image-Class isn't in the sourcecode.
But, when i used it with the Basic-Settings i got the same Problem.
The Theme is a Zen-5-Subtheme.

Any Ideas?

Cheers
Dirk

Comments

yannickoo’s picture

Oh, that is not very easy to debug. Could you post a list of all enabled modules here?

yannickoo’s picture

Status: Active » Postponed (maintainer needs more info)
yannickoo’s picture

Hey hermanns, let us try to fix that issue so please post a list with all your enabled modules.

oboz’s picture

Issue summary: View changes

I too have this bug

jerome72’s picture

I also have this problem. When the formatter in 'manage display' is set to colorbox, the class is not saved. If you change the format back to 'image', it works. So I think there is a conflict with the colorbox module.

Anonymous’s picture

I have the same issue. As soon as the field is defined as colorbox, the class is not saved.
Any progress?

aitala’s picture

Same issue. This also happens with lightbox.

I add the classes in the formatter and update. Classes are saved. However when I save the display the classes are removed.

See the images I posted here > https://www.drupal.org/node/2697145

The only modules you need to show this problem are the Image Class module (7.x-1.0) and the Colorbox module (7.x-2.12) and their dependencies.

Note that this is also using the Bootstrap theme with the Responsive image setting turned on to add 'img-responsive' to all IMG tags, Disabling that setting does not affect the removal of the class added via Image Class.

Eric

astonvictor’s picture

StatusFileSize
new2.72 KB

Fixed for colorbox module.

astonvictor’s picture

StatusFileSize
new1.86 KB

A better version of the patch.

astonvictor’s picture

Status: Postponed (maintainer needs more info) » Needs review
lamp5’s picture

Status: Needs review » Closed (outdated)