Hello

It would be very good for styling if, depending which setting is applied (landscape or portrait), the field-item that contains the image would have a class portrait or landscape. Like that you can assign different css depending on it.

Thanks a lot for the module :)

Comments

candelas’s picture

For example, in my case, horizontal will go on top of the text and portrait will be right aligned. Thanks

candelas’s picture

I have just found a field formatter that makes that https://www.drupal.org/project/field_formatter_css_class
I don't know how to mix both, but maybe you are interested.
Thanks

candelas’s picture

Other two modules, but neither of them let me choose portrait or landscape
https://www.drupal.org/project/field_formatter_class
https://www.drupal.org/project/css_field_formatters

  • neomen committed 191b394 on 7.x-1.x
    Issue #2462771 added custom css class for different orientations of...
neomen’s picture

HI
Thanks for you issues. I made a customisation options for the css class, look them in the settings of field on new release-version

neomen’s picture

neomen’s picture

Status: Active » Fixed
neomen’s picture

Status: Fixed » Closed (fixed)