Skip to content

Commit

Permalink
Fixed wrong pimcore thumbnail class (#168)
Browse files Browse the repository at this point in the history
* Fixed wrong pimcore thumbnail class
* add upgrade notes
Co-authored-by: Stefan Hagspiel <[email protected]>
  • Loading branch information
NaincyKumariKnoldus authored Mar 9, 2022
1 parent 27662e2 commit 82da2fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Version 4.0.4
- [BUGFIX] fix file size calculation
- [BUGFIX] add label for column adjuster [@blankse](https://github.com/dachcom-digital/pimcore-toolbox/pull/170)
- [BUGFIX] fix image thumbnail class [@NaincyKumariKnoldus](https://github.com/dachcom-digital/pimcore-toolbox/pull/168)

## Version 4.0.3
- [BUGFIX] return correct default value if editable is null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
{{ pimcore_image('ci', { 'class' : class}) }}
{% else %}
{% if pimcore_image('ci').thumbnail(toolbox_get_image_thumbnail('image_element')) is not empty %}
{{ pimcore_image('ci').thumbnail(toolbox_get_image_thumbnail('image_element')).html({'class':class})|raw }}
{{ pimcore_image('ci').thumbnail(toolbox_get_image_thumbnail('image_element')).html({imgAttributes: {'class' : class}})|raw }}
{% endif %}
{% endif %}

0 comments on commit 82da2fe

Please sign in to comment.