staempfli / magento2-module-image-resizer

Magento 2 Module to add simple image resizing capabilities in all blocks and .phtml templates
92 stars 32 forks source link

Original Image is used when using CDN #17

Closed johnny-longneck closed 6 years ago

johnny-longneck commented 6 years ago

Yesterday we switched to a CDN (Cloudfront). It works fine but the resized images via this module are wrong. It is always outputting the original image path, which leads to a page speed disaster right now.

Updated to latest version 2.0.2 Magento 2.2.4 PHP7 Varnish Nginx

Expected Output:

<img src="https://d2rblablablaqf.cloudfront.net/staempfli_imageresizer/cache/catalog/category/182x182_co_ar_tr/niceimage.png" >

Actual Output

<img src="https://d2rblablablaqf.cloudfront.net/catalog/category/niceimage.png" />

mbernabeu commented 6 years ago

Hi @jalogut!!

this pull request solves this #19

jalogut commented 6 years ago

Issue is fixed in version 2.0.3