, : closing this as this is not the proper fix and there was no answer to previous comment describing recommended alternatives.
Disable Lazy load of Image if the image has lazyLoad attribute
-
Export a site containing image component using .export.zip method
-
Extract the downloaded zip and open the .html file in your browser
-
Observe that the images are not displayed in the site even though they are present in the exported zip folder
-
Site Image links are written in a temporary path '/var/designs/' and written in the site before exporting the site and have a lazy Load disable attribute set in them
-
Page Exporter exports the images of the site in /var/designs/ directory in the zip
-
Image js again rewrites the links and thus breaking the img element upon page load
-
Don't rewrite the links upon page load if the image doesn't allow lazy load
-
CQ-4241179
| Q | A | ------------------------ | --- | Fixed Issues? | CQ-4241179 | Patch: Bug Fix? | | Minor: New Feature? | | Major: Breaking Change? | | Tests Added + Pass? | | Documentation Provided | Yes (code comments and or markdown) | Any Dependency Changes? | | License | Apache License, Version 2.0
该提问来源于开源项目:adobe/aem-core-wcm-components
- 点赞
- 写回答
- 关注问题
- 收藏
- 复制链接分享
- 邀请回答
6条回答
为你推荐
- 禁用WooCommerce中的原始图像裁剪
- image
- php
- wordpress
- 2个回答
- 使用disable_functions和disable_classes极大地限制函数和类的成本和好处是什么?
- performance
- security
- php
- web-services
- 1个回答
- PHP Imagick不会添加ICC颜色配置文件
- image
- php
- imagick
- 1个回答
- Jquery根据.load请求的输出禁用或启用操作按钮
- php
- jquery
- 1个回答
- 在macOS和PHP 7.1上使用disable-output-escaping的问题
- apache
- xml
- apache
- xslt
- php
- 1个回答
- 基于IF语句通过PHP调用JS函数的问题
- html
- php
- javascript
- 3个回答
- 如何访问if语句中的变量
- ajax
- global-variables
- php
- javascript
- variables
- 3个回答
- 如何为用户而不是管理员(PHP)创建文本框readonly / disable?
- php
- readonly
- textarea
- 4个回答
- 使用.htaccess启用函数main ini有disable_functions
- php
- 2个回答
- 如果值无效,请坚持如何禁用此按钮
- php
- jquery
- 3个回答
- 检查foreach中的每个if语句
- codeigniter
- php
- 4个回答
- Yo SEO的WP SEO - 如何设置不同的og:每个类别的图像
- seo
- image
- php
- wordpress
- 2个回答
- centos7 安装glibc2.23,configure: error: The x86_64 is not supported.
- python
- linux
- 1个回答
- Wordpress - 如果is_plugin功能?
- if-statement
- php
- wordpress
- 1个回答
- # systemctl disable NetworkManager 永久关闭网络管理命令后 怎么打开
- centos
- 云计算
- linux
- 2个回答
- HTML中input标签设置disable之后IE8,6字体颜色会变灰 怎么让它不变颜色????
- html5
- 8个回答
- EXT GRID 表格怎样把指定行,整行属性都设为disable 感激不尽
- ext
- javascript
- 0个回答
- 安装 tensorflow cpu 版出问题, 求解决办法。 谢谢
- python
- 4个回答
- 数据库表一对多disable的问题
- 数据库
- 3个回答
- extjs更该tools的disable属性问题
- tools
- extjs
- 2个回答