-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Content Type Image] Both desktop and mobile images are loaded #254
Comments
@jasperzeinstra we originally opted for the solution you see today due to requirements of this functionality working on IE 11. However, I believe it's suitable for the responsive images to not show when viewing the site on IE 11 as it's not a mobile browser. We'll create a backlog item to have this addressed in a future version. |
Hi @jasperzeinstra. We need to postpone this issue cause we need to wait till magento/adobe-stock-integration#894 will be done in the Magento core. After that, we will be glad to work with you on this. Thanks for your contribution. |
@omiroshnichenko magento/adobe-stock-integration#894 is out of ASI scope now |
This is still an important issue. It would be the best to replace the |
…e_247beta2 AC-9128 ::Performance issue- While saving the page its taking lots of time, after edit the page.
When using Content Type Image and using a mobile and desktop image both images are loaded by the browser. It should only load the image you see. The template is now using two img-tags. But it would be better to use the picture-tag.
Current situation
vendor/magento/module-page-builder/view/adminhtml/web/template/content-type/image/full-width/master.html
Preferred situation
I haven't figured out how page builder works exactly so haven't got a PR ready for this. But does everybody agree that this is a better implementation? Otherwise you're loading desktop images on a mobile device. That's taking up to much resources.
The text was updated successfully, but these errors were encountered: