No "class" setting for the Image field type?

Permalink Browser Info Environment
In Block Designer, there is a "class" field for Image field type, which adds the class attribute to img element. However, in Block Developer, I couldn't set the class for Image field type. Is there no class setting for Image field type, or is my config missing something?

config.php
'thumb' => [
  'label' => 'thumbnail image',
  'type' => 'Image',
  'required' => false,
  'view' => [
    'prefix' => '<a class="popup">',
    'suffix' => '</a>',
    'class' => 'thumb',  // does not appeared in <img> element
    'thumbnail_handle' => 'works_thumb'
  ]
],

Type: Pre-Sale
Status: Resolved
sngazm
View Replies:
ramonleenders replied on at Permalink Reply
ramonleenders
Hi there,

Good catch, this was a bug (the HTML attribute wasn't applied). I fixed that in version 1.1.2. So you can update to the latest version and this should be fixed!

Kind regards,

Ramon
sngazm replied on at Permalink Reply
sngazm
Dear Ramon

Thank you for the quick update!

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.1
Version Installed - 8.5.1
Database Version - 20190301133300

# concrete5 Packages
Block Designer (3.2.1), Block Designer Pro (3.0.0), Block Developer (1.1.1), Debug Kit (0.9.5), ExchangeCore Dev Tools (1.0.2), Open Graph Tags Lite (2.1.3), SSL Redirect Configuration (0.9.2)

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.