TwicPics / wordpress-plugin

TwicPics Wordpress Plugin
GNU General Public License v2.0
16 stars 0 forks source link

Images aren't resized with gallery block and no "crop" option #2

Closed eloisemartin closed 4 years ago

eloisemartin commented 4 years ago

When using a gallery block without the "crop" option, my images aren't correctly resized (param "max=1440"). See an example below.

gallery_bloc_no_resizing

While my image is expected at 183x137, the browser is loading an image at 1910x1433 intrinsic dimensions.

nicolascassette commented 4 years ago

WordPress give an uncroped img url So we have to get the sizes from parents

jaubourg commented 4 years ago

Yep, it's a problem with flex display not being properly handled by the script. On it !

jaubourg commented 4 years ago

Fixed in 1.6.1 which should be deployed tomorrow.