Back to Media Editor Metadata Support

Publipresse
Publipresse

Hello,

When you open metadatas for an image on the new octobercms 2.2, the display is buggy.

To fix it, in _update_metadata.htm, change the class of the image to w-100, so, this line :

<img src="/storage/app/media<?= $originalPath ?>" class="w-full"/>

Become this :

<img src="/storage/app/media<?= $originalPath ?>" class="w-full w-100"/>

(I let the w-full class for backward compatibility)

SnipiBA
SnipiBA

Publipresse said:

Hello,

When you open metadatas for an image on the new octobercms 2.2, the display is buggy.

To fix it, in _update_metadata.htm, change the class of the image to w-100, so, this line :

<img src="/storage/app/media<?= $originalPath ?>" class="w-full"/>

Become this :

<img src="/storage/app/media<?= $originalPath ?>" class="w-full w-100"/>

(I let the w-full class for backward compatibility)

w-full may be width 100% ... w-100 is width 100px .. then... this was "fixed" with max-width. please update plugin

Publipresse
Publipresse

Hello,

Don't know for previous version, but with octobercms 2.2, from storm.css, w-100 is width:100% and w-full no longer exist. The probably renamed the class to be inline with bootstrap, I think we can put both for backward compatibility.

1-3 of 3