image height issue im amp version
-
hi, there is one issue in amp version. all images height are appearing from amp plugin. I don,t want to appear this setting s on my website amp pages.
please see this link. I have higlighted the image
Please guide me how to resolve this
-
@franks123 could you share the URL? Thank you!
This is the link
http://creativesystems.0438cfd.netsolhost.com/?amp@franks123 Thanks for providing the link. Can you share the images specifically with this issue and we’ll hopefully be able to assist. I’m checking your homepage and while I can see the brand logos differing in AMP and non AMP that’s as a result of a plugin which is used for those images.
I’ve checked other pages also and the image dimensions seem correct on the URLs I checked. If you’ve made considerable CSS changes for AMP URLs it might be best to enqueue a separate AMP CSS file, which will only render on your AMP URLs.
I am telling about header images that are not coming through plugin. They are added in simple html and stylized by css. But due to amp plugin, css is overriden by amp plugin. please see the highlighted portion in this link
This highlighted section is coming from amp plugin on all over website. please tell me how to resolve this one.
Thank you@franks123 Are you using a lazy loading or another optimization plugin? I can see a
data-no-lazy="1"referenced in some of your images. Please disable these plugins before checking once more.Hi, There is no lazyload plugin enabled right now. Only W3 total cache plugin is enabled right now.
@franks123 Can you try deactivating that plugin (along with any other optimization or image processing plugins) before checking once more? Please share your Site Health information if the issue persists once you’ve temporarily deactivated these.
After deactivating optimization plugin. still the same issue. this is the link of site health.
@franks123 Can you share the full Site Health information, as described in this image, (Tools > Site Health > info > Copy site info to clipboard)?
after copying into clipboard then how can i share it?
On local server, there is no issue why these are appearing on live server?
-
This reply was modified 6 years, 2 months ago by
franks123.
@franks123 You can paste directly into this response. If you prefer you can use this form.
### wp-core ### version: 5.3.2 site_language: en_US user_language: en_US timezone: +00:00 permalink: /%postname%/ https_status: false user_registration: 0 default_comment_status: closed multisite: false user_count: 1 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: /data/user3/2019/93/9792/wordpress/.bafd4215ef527cf0e0b2f843ce2ee763 wordpress_size: loading... uploads_path: /data/user3/2019/93/9792/wordpress/.bafd4215ef527cf0e0b2f843ce2ee763/wp-content/uploads uploads_size: loading... themes_path: /data/user3/2019/93/9792/wordpress/.bafd4215ef527cf0e0b2f843ce2ee763/wp-content/themes themes_size: loading... plugins_path: /data/user3/2019/93/9792/wordpress/.bafd4215ef527cf0e0b2f843ce2ee763/wp-content/plugins plugins_size: loading... database_size: loading... total_size: loading... ### wp-active-theme ### name: (creative_system) version: undefined author: Anonymous author_website: (undefined) parent_theme: none theme_features: amp, post-thumbnails, editor-style, automatic-feed-links, menus, html5, post-formats, custom-background, featured-content, custom-header, woocommerce, widgets theme_path: /data/user3/2019/93/9792/wordpress/.bafd4215ef527cf0e0b2f843ce2ee763/wp-content/themes/creative_system ### wp-themes-inactive (3) ### Twenty Fourteen: version: 1.1, author: the WordPress team (latest version: 2.7) Twenty Nineteen: version: 1.0, author: the WordPress team (latest version: 1.4) Twenty Twenty: version: 1.1, author: the WordPress team ### wp-plugins-active (17) ### All In One SEO Pack: version: 2.12, author: Michael Torbert (latest version: 3.3.5) AMP: version: 1.4.4, author: AMP Project Contributors Classic Editor: version: 1.4, author: WordPress Contributors (latest version: 1.5) Contact Form 7: version: 5.1.1, author: Takayuki Miyoshi (latest version: 5.1.7) Custom Post Type UI: version: 1.6.1, author: WebDevStudios (latest version: 1.7.4) Drag and Drop Multiple File Upload - Contact Form 7: version: 1.3.2, author: Glen Don L. Mongaya Duplicate Post: version: 3.2.2, author: Enrico Battocchi (latest version: 3.2.4) Dynamic Featured Image: version: 3.7.0, author: Ankit Pokhrel Newsletter: version: 5.9.3, author: Stefano Lissa & The Newsletter Team (latest version: 6.5.5) Post Duplicator: version: 2.20, author: Metaphor Creations Simple Custom Post Order: version: 2.4.3, author: Colorlib (latest version: 2.4.9) Sucuri Security - Auditing, Malware Scanner and Hardening: version: 1.8.20, author: Sucuri Inc. (latest version: 1.8.24) WooCommerce: version: 3.7.1, author: Automattic (latest version: 4.0.0) WooCommerce Google Analytics Integration: version: 1.4.9, author: WooCommerce (latest version: 1.4.19) WP-PageNavi: version: 2.93, author: Lester 'GaMerZ' Chan (latest version: 2.93.1) WP Database Backup: version: 5.1.2, author: Prashant Walke (latest version: 5.5) WP Google Map Pro: version: 5.0.9, author: flippercode (latest version: 5.1.2) ### wp-plugins-inactive (5) ### Lazy Load by WP Rocket: version: 2.2.2, author: WP Rocket (latest version: 2.3.2) Testimonial: version: 2.1.3, author: ShapedPlugin W3 Total Cache: version: 0.13.1, author: BoldGrid WooCommerce Blocks: version: 2.0.1, author: Automattic (latest version: 2.5.14) WP Fastest Cache: version: 0.8.9.2, author: Emre Vona (latest version: 0.9.0.4) ### wp-media ### image_editor: WP_Image_Editor_Imagick imagick_module_version: 1656 imagemagick_version: ImageMagick 6.7.8-9 2019-08-08 Q16 http://www.imagemagick.org imagick_limits: imagick::RESOURCETYPE_AREA: 63 GB imagick::RESOURCETYPE_DISK: 1.844674407371E+19 imagick::RESOURCETYPE_FILE: 768 imagick::RESOURCETYPE_MAP: 63 GB imagick::RESOURCETYPE_MEMORY: 31 GB imagick::RESOURCETYPE_THREAD: not available gd_version: 2.2.5 ghostscript_version: 9.25 ### wp-server ### server_architecture: Linux 3.10.0-1062.9.1.el7.x86_64 x86_64 httpd_software: Apache/2.4.6 (CentOS) mpm-itk/2.4.7-04 mod_fcgid/2.3.9 PHP/7.2.26 php_version: 7.2.26 64bit php_sapi: apache2handler max_input_variables: 1000 time_limit: 60 memory_limit: 268435456 max_input_time: 60 upload_max_size: 100M php_post_max_size: 100M curl_version: 7.29.0 NSS/3.44 suhosin: false imagick_availability: true htaccess_extra_rules: true ### wp-database ### extension: mysqli server_version: 5.7.25-28-log client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: 3591daad22de08524295e1bd073aceeff11e6579 $ ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /data/user3/2019/93/9792/wordpress/.bafd4215ef527cf0e0b2f843ce2ee763/wp-content WP_PLUGIN_DIR: /data/user3/2019/93/9792/wordpress/.bafd4215ef527cf0e0b2f843ce2ee763/wp-content/plugins WP_MAX_MEMORY_LIMIT: 256M WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: false CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_LOCAL_DEV: undefined DB_CHARSET: utf8 DB_COLLATE: undefined ### wp-filesystem ### wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writableThis is the site health info.
@franks123 Thanks for providing an update. Unfortunately I’m unable to see your active theme there, with which to test and try replicate.
Can you check and see if the same issue arises with another theme, or provide a link to your current theme using this form?
If the issue is also arising from an image inserted into your header please share the code and we can try and replicate from our side.
hi @jamesosborne
theme is twenty fourteen. It is wordpress theme. We have customized it by making a child theme. -
This reply was modified 6 years, 2 months ago by
The topic ‘image height issue im amp version’ is closed to new replies.