• Resolved dawesta

    (@dawesta)


    We recently updated woocommerce from 4.6 to version 7.3. After the update the newly added products have the wrong image dimensions on the shop page. While the old product images are displayed correctly. We have tried to set the image size with the customizer but that did nothing. How can we fix the image size on the shop page so that it’s the same size as before?

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Roxy

    (@roxannestoltz)

    Hi @dawesta ,

    Thanks for reaching out!

    I understand that updating WooCommerce resulted in your new product images displaying the incorrect dimensions, correct?

    As a first step, please can you can navigate to?WooCommerce?→?Status?→?Tools?and do the following to see if it makes any difference:

    • Clear WooCommerce transients
    • Clear expired transients
    • Recount terms
    • Regenerate Product lookup tables
    • Regenerate shop thumbnails

    If this makes no difference, could you please share a copy of your sites System Status Report which you can find by navigating to?WooCommerce?→?Status. Select?Get system report?and then?Copy for support.

    Once you have this, please share the results in your response here.

    Additionally, please can you share a direct link to a product that has been affected by the update, as well as a screenshot of what you are seeing on your end for that same product.

    Snipboard.io?can be used for easily sharing screenshots – please follow the instructions on that page, then paste the URL in this thread.

    Cheers!

    Thread Starter dawesta

    (@dawesta)

    Hi Roxy,

    Thank you for you reply. Updating WooCommerce resulted indeed in displaying the incorrect dimensions for the products. We are having this problem on 2 sites.

    We have tried the options:

    • Clear WooCommerce transients
    • Clear expired transients
    • Recount terms
    • Regenerate Product lookup tables
    • Regenerate shop thumbnails

    But it doesn’t seem to make a difference.

    The product pages are showing the images in the correct dimensions. It’s the shop page that doesn’t show the newly added images in the correct dimension. The page where it is not showing correctly is https://www.antiquesportsbooks.com/shop/

    The 3 images on the left have the correct size and the last one has the wrong size.
    On https://www.sportboek.nl/shop-sportboek-nl/ we have the same problem.

    The images above all have the wrong size

    The green ones have the correct dimensions and the 2 in between have the wrong dimensions.

    Below is the system report you requested

    WordPress Environment
    
    WordPress address (URL): https://www.antiquesportsbooks.com
    Site address (URL): https://www.antiquesportsbooks.com
    WC Version: 7.3.0
    REST API Version: ? 7.3.0
    WC Blocks Version: ? 9.1.5
    Action Scheduler Version: ? 3.4.0
    Log Directory Writable: ?
    WP Version: 6.1.1
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: nl_NL
    External object cache: – Server Environment Server Info: nginx/1.20.2
    PHP Version: 8.1.15
    PHP Post Max Size: 50 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 2000
    cURL Version: 7.29.0
    NSS/3.53.1 SUHOSIN Installed: –
    MySQL Version: 10.5.19-MariaDB
    Max Upload Size: 50 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ? Database WC Database Version: 7.3.0
    WC Database Prefix: antique_
    Totale database grootte: 311.06MB
    Database gegevens grootte: 242.51MB
    Database index grootte: 68.55MB
    antique_woocommerce_sessions: Data: 58.09MB + Index: 2.31MB + Engine InnoDB
    antique_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    antique_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    antique_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    antique_woocommerce_order_items: Data: 0.62MB + Index: 0.35MB + Engine MyISAM
    antique_woocommerce_order_itemmeta: Data: 3.86MB + Index: 2.82MB + Engine MyISAM
    antique_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    antique_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    antique_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    antique_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    antique_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    antique_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    antique_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    antique_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    antique_actionscheduler_actions: Data: 0.17MB + Index: 0.19MB + Engine InnoDB
    antique_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    antique_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    antique_actionscheduler_logs: Data: 0.13MB + Index: 0.11MB + Engine InnoDB
    antique_commentmeta: Data: 0.03MB + Index: 0.03MB + Engine MyISAM
    antique_comments: Data: 2.73MB + Index: 1.15MB + Engine MyISAM
    antique_duplicator_packages: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    antique_jigoshop_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    antique_jigoshop_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    antique_jigoshop_termmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    antique_layerslider: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    antique_layerslider_drafts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    antique_layerslider_revisions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    antique_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    antique_miwosql_queries: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    antique_options: Data: 21.39MB + Index: 2.19MB + Engine MyISAM
    antique_pmr_status: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    antique_pmxe_exports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    antique_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB + Engine InnoDB
    antique_pmxe_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    antique_pmxe_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    antique_postmeta: Data: 99.85MB + Index: 34.04MB + Engine MyISAM
    antique_posts: Data: 14.04MB + Index: 3.92MB + Engine MyISAM
    antique_query_override_terms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    antique_query_wrangler: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    antique_redirection_404: Data: 1.02MB + Index: 0.30MB + Engine InnoDB
    antique_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    antique_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    antique_redirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    antique_strong_views: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    antique_termmeta: Data: 0.14MB + Index: 0.20MB + Engine InnoDB
    antique_terms: Data: 0.04MB + Index: 0.09MB + Engine MyISAM
    antique_term_relationships: Data: 1.43MB + Index: 2.90MB + Engine MyISAM
    antique_term_taxonomy: Data: 0.04MB + Index: 0.04MB + Engine MyISAM
    antique_usermeta: Data: 0.74MB + Index: 0.43MB + Engine MyISAM
    antique_users: Data: 0.04MB + Index: 0.04MB + Engine MyISAM
    antique_wcpdf_credit_note_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    antique_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    antique_wcpdf_invoice_number_2021: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    antique_wcpdf_invoice_number_2022: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    antique_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    antique_wcpdf_proforma_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    antique_wcpdf_proforma_number_2021: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    antique_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    antique_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    antique_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    antique_wc_customer_lookup: Data: 0.30MB + Index: 0.27MB + Engine InnoDB
    antique_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    antique_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    antique_wc_order_product_lookup: Data: 1.52MB + Index: 0.72MB + Engine InnoDB
    antique_wc_order_stats: Data: 0.47MB + Index: 0.44MB + Engine InnoDB
    antique_wc_order_tax_lookup: Data: 0.09MB + Index: 0.11MB + Engine InnoDB
    antique_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    antique_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    antique_wc_product_meta_lookup: Data: 1.52MB + Index: 2.77MB + Engine InnoDB
    antique_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    antique_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    antique_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    antique_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    antique_wdm_bidders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    antique_woocommerce_multisafepay: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    antique_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    antique_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    antique_wpmelon_advbedit_temp: Data: 0.48MB + Index: 0.00MB + Engine InnoDB
    antique_wpml_mails: Data: 1.02MB + Index: 0.00MB + Engine InnoDB
    antique_yoast_indexable: Data: 26.55MB + Index: 10.50MB + Engine InnoDB
    antique_yoast_indexable_hierarchy: Data: 1.47MB + Index: 1.17MB + Engine InnoDB
    antique_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    antique_yoast_primary_term: Data: 1.52MB + Index: 0.75MB + Engine InnoDB
    antique_yoast_seo_links: Data: 0.13MB + Index: 0.06MB + Engine InnoDB
    antique_yoast_seo_meta: Data: 1.52MB + Index: 0.00MB + Engine InnoDB Post Type Counts attachment: 12604
    avia_framework_post: 10
    bl_testimonials: 1
    customize_changeset: 1
    flamingo_contact: 738
    flamingo_inbound: 931
    nav_menu_item: 33
    oembed_cache: 273
    page: 54
    popup: 11
    popup_theme: 8
    post: 109
    product: 10612
    revision: 4963
    shop_order: 4007
    shop_order_refund: 182
    tribe_events: 3
    tribe_organizer: 1
    tribe_venue: 1
    ultimate-auction: 2
    wpcf7s: 756
    wpcf7_contact_form: 5
    wpm-testimonial: 5 Security Secure connection (HTTPS): ?
    Hide errors from visitors: ? Active Plugins (27) Antispam Bee: door pluginkollektiv – 2.11.2
    Classic Widgets: door WordPress Contributors – 0.3
    Contact Form 7: door Takayuki Miyoshi – 5.7.3
    Duplicator: door Snap Creek – 1.5.2.1
    Flamingo: door Takayuki Miyoshi – 2.3
    Google Language Translator: door Translate AI Multilingual Solutions – 6.0.18
    Health Check & Troubleshooting: door De www.remarpro.com community – 1.5.1
    Jetpack: door Automattic – 11.8.3
    Limit Login Attempts: door Johan Eenfeldt – 1.7.1
    Login No Captcha reCAPTCHA (Google): door Robert Peake and Contributors – 1.7.1
    MultiSafepay: door MultiSafepay – 5.1.1
    Phoenix Media Rename: door crossi72 – 3.8.9
    Popup Maker: door Popup Maker – 1.18.0
    Really Simple CAPTCHA: door Takayuki Miyoshi – 2.1
    Redirection: door John Godley – 5.3.9
    Site Offline: door Chandra Shekhar Sahu – 1.5.5
    SSH SFTP Updater Support: door TerraFrost
    David Anderson + Team Updraft – 0.8.5 Strong Testimonials: door WPChill – 3.1.0
    WooCommerce Advanced Bulk Edit: door George Iron – 4.6
    WooCommerce - Store Exporter: door Visser Labs – 2.7.1
    PDF Invoices & Packing Slips for WooCommerce: door WP Overnight – 3.3.2
    WooCommerce PDF Invoices & Packing Slips Professional: door Ewout Fernhout – 2.0.2
    WooCommerce: door Automattic – 7.3.0 (update naar versie 7.4.0 is beschikbaar)
    Yoast SEO: door Team Yoast – 20.1
    WP Mail Logging: door SendLayer – 1.10.5
    WP Mail SMTP: door WPForms – 3.7.0
    WP Rollback: door GiveWP.com – 1.7.3 Inactive Plugins (1) Multisafepay: door Multisafepay – 3.2.0 Dropin Plugins (1) maintenance.php: maintenance.php Must Use Plugins (1) Health Check Troubleshooting Mode: door – 1.7.2 Settings API Enabled: ?
    Force SSL: ?
    Currency: EUR (€)
    Currency Position: left
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: configurable (configurable)
    downloadable (downloadable)
    external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    virtual (virtual) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5) Connected to WooCommerce.com: –
    Enforce Approved Product Download Directories: –
    Order datastore: WC_Order_Data_Store_CPT WC Pages Winkelbasis: #20 - /shop/
    Winkelwagen: #106 - /winkelwagen/
    Afrekenen: #107 - /afrekenen/
    Mijn account: #108 - /mijn-account/
    Algemene voorwaarden: #193 - /algemene-voorwaarden/ Theme Name: Enfold Child
    Version: 1.0
    Author URL: https://www.dawesta.nl/
    Child Theme: ?
    Parent Theme Name: Enfold
    Parent Theme Version: 5.4-dev-2
    Parent Theme Author URL: https://kriesi.at
    WooCommerce Support: ? Templates Overrides: enfold-child/woocommerce/archive-product.php Admin Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    multichannel-marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page Disabled Features: minified-js
    new-product-management-experience
    settings Daily Cron: ? Next scheduled: 2023-02-15 11:12:10 +01:00
    Options: ?
    Notes: 113
    Onboarding: completed Action Scheduler Afgerond: 454
    Oldest: 2023-01-15 14:43:48 +0100
    Newest: 2023-02-15 10:18:31 +0100 In afwachting: 2
    Oldest: 2023-02-16 10:06:46 +0100
    Newest: 2024-01-01 00:00:01 +0100 Status report information Generated at: 2023-02-15 10:21:20 +01:00
    `

    Hi,

    A new version of WooCommerce has been rolled out, which is the 7.0.4, you can update it to see if this makes a difference.

    You can try one of the plugins available in the www.remarpro.com repository here to help you resize the images and thumbnails.

    Let us know how that goes.

    Thread Starter dawesta

    (@dawesta)

    We have updated WooCommerce with version 7.4.0 but it did not make a difference. Nothing has changed after regeration of the thumbnails.

    Hi,

    To clarify, if you temporarily switch the site’s theme to Storefront is the issue still present?

    If not, can you check these recommendations to see if that helps to solve this issue on your end? How To Change Product Image Sizes

    Let us know if you need further assistance.

    Thread Starter dawesta

    (@dawesta)

    Hi,
    We have temporarily switched to the storefront theme and then the images are shown in the correct format.
    The theme we are using for the site is Enfold. Do you think that there is a problem with enfold an woocommerce? And how can we solve this?

    Storefront shop page (temporarily tried)

    Enfold shop page (current)

    Roxy

    (@roxannestoltz)

    Hi @dawesta ,

    Thanks for providing an update!

    If the issue is no longer present when switching to the Storefront theme, and you can confirm that it reappears when switching back to the Enfold theme, then this confirms that the issue is related to the theme you are using (Enfold).

    Since support for third-party themes/plugins is outside our scope of support, I’d suggest reaching out to the theme developers for further help with this.

    You can reach out in the Enfold theme support forum here.

    Hope this helps!

    Thread Starter dawesta

    (@dawesta)

    It was indeed an issue with the enfold theme. I had to add the code below in functions.php and after adding that is is working perfectly

    add_filter( ‘avf_wc_before_shop_loop_item_title_img_size’, ‘avf_wc_before_shop_loop_item_title_img_size_mod’, 10, 1 );
    function avf_wc_before_shop_loop_item_title_img_size_mod( $thumbnail_size ) {
    return ‘woocommerce_thumbnail’;
    }

    Roxy

    (@roxannestoltz)

    Hi @dawesta ,

    Glad to hear that you have managed to get this sorted!

    Thanks for adding the solution here, it may be helpful for others experiencing this same issue ??

    Since this has been resolved, feel free to create a new topic should you need any further help.

    Cheers!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Wrong image size’ is closed to new replies.