Support » Plugin: WooCommerce » Single product page gallery image different size
Single product page gallery image different size
-
Hello Team,
I have been using the below code for a very long time. It was cropping and resizing the gallery image correctly, but after the recent update, it stopped working. Can you please help me with how I can get all the product gallery image thumbnail sizes equal?
/* PRODUCT GALLERY IMAGE SIZE*/ add_filter( 'woocommerce_get_image_size_gallery_thumbnail', function( $size ) { return array( 'width' => 200, 'height' => 120, 'crop' => 1, ); });
Reference from https://woocommerce.com/document/image-sizes-theme-developers/#section-3
Similar Issue: https://wordpress.org/support/topic/single-product-page-gallery-imgs-different-size/
Note: I have already regenerated thumbnails after making changes to image sizes, so the new sizes are used for existing images.
-
Thanks for reaching out.
If that’s no longer working it probably means your theme is overriding the behavior. What theme are you using and have you updated it recently?
I think you might want to get in touch with your theme author and report to them that the filter stopped working. They should be able to provide more information as to why it’s happening.
It could also be a conflict, and the best way to prove it is to temporarily switch your theme to Storefront and disable all plugins except for WooCommerce. If that resolves the issue, then re-enable the custom theme and your plugins one by one until you find the one that’s causing the issue.
Cheers.
@rainfallnixfig I’ve received the below code from the Salient theme developer, but it’s not making any changes.
add_filter( 'woocommerce_gallery_thumbnail_size', function( $size ) { return array(200, 120); }, 99);
I’ve tested with the Storefront theme and default WooCommerce plugin only, but no change so far.
Thanks for the update.
As we move forward with troubleshooting we’d like to have a better idea of your site setup, can you please share the following?
- System Status: You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
- Fatal Error Log: Share a copy of any fatal error log found under WooCommerce > Status > Logs (if available).
Thanks!
System Status
### WordPress Environment ### WordPress address (URL): https://localhost/wordpress Site address (URL): https://localhost/wordpress WC Version: 6.8.2 REST API Version: ✔ 6.8.2 WC Blocks Version: ✔ 8.0.0 Action Scheduler Version: ✔ 3.4.0 Log Directory Writable: ✔ WP Version: 6.0.2 WP Multisite: – WP Memory Limit: 2 GB WP Debug Mode: – WP Cron: – Language: en_GB External object cache: ✔ ### Server Environment ### Server Info: Apache/2.4.25 (Debian) PHP Version: 7.4.30 PHP Post Max Size: 120 MB PHP Time Limit: 250 PHP Max Input Vars: 2500 cURL Version: 7.52.1 OpenSSL/1.0.2u SUHOSIN Installed: – MySQL Version: 5.5.5-10.4.20-MariaDB-1:10.4.20+maria~stretch-log Max Upload Size: 120 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 6.8.2 WC Database Prefix: wp_ Total Database Size: 1525.24MB Database Data Size: 1184.62MB Database Index Size: 340.62MB wp_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_woocommerce_order_items: Data: 2.52MB + Index: 0.44MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 20.55MB + Index: 20.55MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.05MB + Index: 0.05MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 2.02MB + Index: 1.14MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 1.23MB + Index: 1.33MB + Engine InnoDB wp_affiliate_wp_affiliatemeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_affiliate_wp_affiliates: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_affiliate_wp_campaigns: Data: 0.17MB + Index: 0.11MB + Engine InnoDB wp_affiliate_wp_coupons: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_affiliate_wp_creatives: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_affiliate_wp_customermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_affiliate_wp_customers: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_affiliate_wp_direct_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_affiliate_wp_notifications: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_affiliate_wp_payouts: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_affiliate_wp_referralmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_affiliate_wp_referrals: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_affiliate_wp_rest_consumers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_affiliate_wp_sales: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_affiliate_wp_visits: Data: 7.52MB + Index: 1.52MB + Engine InnoDB wp_allowphp_functions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_berocket_termmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_braapf_product_stock_status_parent: Data: 0.11MB + Index: 0.06MB + Engine InnoDB wp_braapf_product_variation_attributes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_braapf_term_taxonomy_hierarchical: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_braapf_variable_attributes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_braapf_variation_attributes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_cli_cookie_scan: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cli_cookie_scan_categories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_cli_cookie_scan_cookies: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_cli_cookie_scan_url: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cli_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_commentmeta: Data: 1.44MB + Index: 0.53MB + Engine InnoDB wp_comments: Data: 19.55MB + Index: 10.77MB + Engine InnoDB wp_ewwwio_images: Data: 122.63MB + Index: 87.48MB + Engine InnoDB wp_failed_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gf_addon_feed: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_gf_entry: Data: 37.56MB + Index: 4.03MB + Engine InnoDB wp_gf_entry_meta: Data: 21.55MB + Index: 19.59MB + Engine InnoDB wp_gf_entry_notes: Data: 1.52MB + Index: 0.19MB + Engine InnoDB wp_gf_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gf_form_meta: Data: 3.52MB + Index: 0.00MB + Engine InnoDB wp_gf_form_revisions: Data: 0.13MB + Index: 0.03MB + Engine InnoDB wp_gf_form_view: Data: 6.52MB + Index: 6.03MB + Engine InnoDB wp_gf_rest_api_keys: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_gmap_poi_db: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailchimp_carts: Data: 0.25MB + Index: 0.00MB + Engine InnoDB wp_mailchimp_jobs: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_mdf_query_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mdf_stat_buffer: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mdf_stat_tmp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 15.45MB + Index: 5.05MB + Engine InnoDB wp_pmxe_exports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxe_google_cats: Data: 0.38MB + Index: 0.00MB + Engine InnoDB wp_pmxe_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxe_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_postmeta: Data: 487.98MB + Index: 109.16MB + Engine InnoDB wp_posts: Data: 188.08MB + Index: 15.95MB + Engine InnoDB wp_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_redirection_404: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_redirection_items: Data: 0.16MB + Index: 0.16MB + Engine InnoDB wp_redirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_rg_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rg_form_meta: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp_rg_form_view: Data: 3.52MB + Index: 3.03MB + Engine InnoDB wp_rg_incomplete_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_rg_lead: Data: 13.52MB + Index: 2.02MB + Engine InnoDB wp_rg_lead_detail: Data: 6.52MB + Index: 9.09MB + Engine InnoDB wp_rg_lead_detail_long: Data: 2.52MB + Index: 0.00MB + Engine InnoDB wp_rg_lead_meta: Data: 0.48MB + Index: 0.58MB + Engine InnoDB wp_rg_lead_notes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_rg_mailchimp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_snp_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_snp_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_socialslider: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_termmeta: Data: 0.27MB + Index: 0.20MB + Engine InnoDB wp_terms: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 2.52MB + Index: 1.52MB + Engine InnoDB wp_term_taxonomy: Data: 2.52MB + Index: 0.06MB + Engine InnoDB wp_tinvwl_analytics: Data: 0.22MB + Index: 0.14MB + Engine InnoDB wp_tinvwl_items: Data: 0.31MB + Index: 0.16MB + Engine InnoDB wp_tinvwl_lists: Data: 0.13MB + Index: 0.00MB + Engine InnoDB wp_tinvwl_subscribers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_usermeta: Data: 4.52MB + Index: 3.91MB + Engine InnoDB wp_users: Data: 0.19MB + Index: 0.22MB + Engine InnoDB wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.39MB + Index: 0.39MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 1.52MB + Index: 0.69MB + Engine InnoDB wp_wc_order_stats: Data: 1.52MB + Index: 0.89MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_points_rewards_user_points: Data: 0.11MB + Index: 0.13MB + Engine InnoDB wp_wc_points_rewards_user_points_log: Data: 0.33MB + Index: 0.25MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 2.48MB + Index: 2.16MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.23MB + Index: 0.48MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfblockediplog: Data: 0.13MB + Index: 0.00MB + Engine InnoDB wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfconfig: Data: 2.30MB + Index: 0.00MB + Engine InnoDB wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilemods: Data: 13.55MB + Index: 0.00MB + Engine InnoDB wp_wfhits: Data: 4.02MB + Index: 0.23MB + Engine InnoDB wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfissues: Data: 0.09MB + Index: 0.06MB + Engine InnoDB wp_wfknownfilelist: Data: 6.52MB + Index: 0.00MB + Engine InnoDB wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wflogins: Data: 0.38MB + Index: 0.14MB + Engine InnoDB wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfnotifications: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfstatus: Data: 0.13MB + Index: 0.09MB + Engine InnoDB wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_exported_csv_items: Data: 13.52MB + Index: 0.33MB + Engine InnoDB wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpml_mails: Data: 71.52MB + Index: 0.00MB + Engine InnoDB wp_yoast_indexable: Data: 75.61MB + Index: 24.03MB + Engine InnoDB wp_yoast_indexable_hierarchy: Data: 0.27MB + Index: 0.41MB + Engine InnoDB wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_primary_term: Data: 0.17MB + Index: 0.20MB + Engine InnoDB wp_yoast_seo_links: Data: 5.52MB + Index: 3.03MB + Engine InnoDB wp_yoast_seo_meta: Data: 1.52MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### advanced_fee: 3 amn_smtp: 1 attachment: 67918 br_product_filter: 6 cookielawinfo: 40 dhwc_template: 3 meta_data_filter: 2 nav_menu_item: 263 oembed_cache: 149 page: 410 portfolio: 38 post: 805 product: 2186 revision: 333 salient_g_sections: 1 shop_order: 8803 shop_order_refund: 232 slide: 1 snp_popups: 2 tablepress_table: 1 wc_product_tab: 1835 wcccf: 3 wccpf: 1 wooframework: 215 wpcode: 2 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (48) ### AffiliateWP - Recurring Referrals: by Sandhills Development LLC – 1.9 AffiliateWP: by AffiliateWP – 2.9.6.1 AffiliateWP - Affiliate Area Tabs: by Sandhills Development LLC – 1.4 AffiliateWP - Allow Own Referrals: by Sandhills Development LLC – 1.2 AffiliateWP - Custom Affiliate Slugs: by Sandhills Development LLC – 1.2 AffiliateWP - Direct Link Tracking: by Sandhills Development LLC – 1.3 AffiliateWP - Leaderboard: by Sandhills Development LLC – 1.2 AffiliateWP - Order Details For Affiliates: by Sandhills Development LLC – 1.3 Akismet Anti-Spam: by Automattic – 5.0 Classic Widgets: by WordPress Contributors – 0.3 GDPR Cookie Consent: by WebToffee – 2.1.2 DHWCPage - WooCommerce Page Builder: by SiteSao Team – 5.3.1 GTM4WP: by Thomas Geiger – 1.16.1 Facebook for WooCommerce: by Facebook – 2.6.22 Gravity Forms Phone Extension: by ANEX – 1.2.2 Gravity Forms: by Gravity Forms – 2.6.6 Gravity Forms Mailchimp Add-On: by Gravity Forms – 5.1 WPCode - Insert Headers, Footers, and Code Snippets: by WPCode – 2.0.2 Salient WPBakery Page Builder: by Michael M - WPBakery.com | Modified by ThemeNectar – 6.9.1 Mailchimp for WooCommerce: by Mailchimp – 2.7.3 Pinterest for WooCommerce: by WooCommerce – 1.2.2 Redirection: by John Godley – 5.3.2 Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5 Salient Core: by ThemeNectar – 1.9.5 Salient Portfolio: by ThemeNectar – 1.7.2 Salient Shortcodes: by ThemeNectar – 1.5 Salient Social: by ThemeNectar – 1.2.2 Salient Widgets: by ThemeNectar – 1.2 TI WooCommerce Wishlist Premium: by TemplateInvaders – 1.47.0 WC Duplicate Order: by Jamie Gill – 1.7 WC Fields Factory: by Saravana Kumar K – 4.1.4 WooCommerce Admin Custom Order Fields: by SkyVerge – 1.15.2 Advanced Fees for WooCommerce: by Jeroen Sormani – 1.3.3 WooCommerce AJAX Products Filter: by BeRocket – 3.1.3 WooCommerce Checkout Field Editor: by WooCommerce – 1.7.3 WooCommerce Conditional Shipping and Payments: by WooCommerce – 1.14.2 WOOCS - WooCommerce Currency Switcher: by realmag777 – 2.3.8 WooCommerce Email Customizer: by cxThemes – 3.33 WooCommerce Gravity Forms Product Add-Ons: by Element Stark – 3.3.26 WooCommerce Points and Rewards: by WooCommerce – 1.7.10 WooCommerce Social Login: by SkyVerge – 2.11.2 WooCommerce: by Automattic – 6.8.2 Wordfence Security: by Wordfence – 7.6.1 Yoast SEO: by Team Yoast – 19.6.1 WP Mail Logging: by Wysija – 1.10.4 WP Mail SMTP: by WPForms – 3.5.2 WPS Hide Login: by WPServeur NicolasKulka wpformation – 1.9.6 ### Inactive Plugins (0) ### ### Dropin Plugins (2) ### advanced-cache.php: advanced-cache.php object-cache.php: Object Cache Pro (Drop-in) ### Must Use Plugins (1) ### Object Cache Pro (MU): by Rhubarb Group – 1.15.2 ### Settings ### API Enabled: ✔ Force SSL: ✔ Currency: USD (US $) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 0 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) 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: – ### WC Pages ### Shop base: #112 - /shop/ Basket: #7 - /cart/ Checkout: #8 - /checkout/ My account: ❌ Page does not contain the [woocommerce_my_account] shortcode. Terms and conditions: #773 - /terms-conditions/ ### Theme ### Name: Salient Child Theme Version: 1.0 Author URL: https://themeforest.net/user/themenectar Child Theme: ✔ Parent Theme Name: Salient Parent Theme Version: 15.0.2 Parent Theme Author URL: https://themeforest.net/user/themenectar WooCommerce Support: ✔ ### Templates ### Overrides: salient/woocommerce/cart/mini-cart.php salient/woocommerce/checkout/form-checkout.php salient/woocommerce/checkout/review-order.php salient/woocommerce/checkout/terms.php salient/woocommerce/content-product.php salient/woocommerce/content-single-product.php /wp-content/plugins/woocommerce-email-control/templates/emails/supreme/admin-cancelled-order.php /wp-content/plugins/woocommerce-email-control/templates/emails/supreme/admin-failed-order.php /wp-content/plugins/woocommerce-email-control/templates/emails/supreme/admin-new-order.php /wp-content/plugins/woocommerce-email-control/templates/emails/supreme/customer-completed-order.php /wp-content/plugins/woocommerce-email-control/templates/emails/supreme/customer-invoice.php /wp-content/plugins/woocommerce-email-control/templates/emails/supreme/customer-new-account.php version 3.7.0 is out of date. The core version is 6.0.0 /wp-content/plugins/woocommerce-email-control/templates/emails/supreme/customer-note.php /wp-content/plugins/woocommerce-email-control/templates/emails/supreme/customer-on-hold-order.php /wp-content/plugins/woocommerce-email-control/templates/emails/supreme/customer-processing-order.php /wp-content/plugins/woocommerce-email-control/templates/emails/supreme/customer-refunded-order.php /wp-content/plugins/woocommerce-email-control/templates/emails/supreme/customer-reset-password.php /wp-content/plugins/woocommerce-email-control/templates/emails/supreme/email-addresses.php version 3.9.0 is out of date. The core version is 5.6.0 /wp-content/plugins/woocommerce-email-control/templates/emails/supreme/email-customer-details.php /wp-content/plugins/woocommerce-email-control/templates/emails/supreme/email-downloads.php /wp-content/plugins/woocommerce-email-control/templates/emails/supreme/email-footer.php /wp-content/plugins/woocommerce-email-control/templates/emails/supreme/email-header.php /wp-content/plugins/woocommerce-email-control/templates/emails/supreme/email-order-details.php /wp-content/plugins/woocommerce-email-control/templates/emails/supreme/email-order-items.php /wp-content/plugins/woocommerce-email-control/templates/emails/supreme/email-styles.php salient/woocommerce/loop/add-to-cart.php salient/woocommerce/loop/loop-start.php salient/woocommerce/myaccount/form-login.php salient-child/woocommerce/single-product/meta.php salient-child/woocommerce/single-product/product-image.php salient/woocommerce/single-product/rating.php salient-child/woocommerce/single-product/tabs/description.php salient/woocommerce/single-product/tabs/tabs.php salient/woocommerce/single-product/title.php salient-child/woocommerce/single-product-reviews.php Outdated Templates: ❌ Learn how to update ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products experimental-product-tour shipping-smart-defaults shipping-setting-tour homescreen 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 wc-pay-promotion wc-pay-welcome-page wc-pay-subscriptions-page Disabled Features: minified-js settings Daily Cron: ✔ Next scheduled: 2022-09-07 06:17:56 +08:00 Options: ✔ Notes: 102 Onboarding: completed ### Social Login ### Facebook: ✔ Available Google: ✔ Available Twitter: Disabled Amazon: Disabled Linkedin: Disabled Paypal: Disabled Disqus: Disabled Yahoo: Disabled Vkontakte: Disabled ### TI WooCommerce Wishlist Templates ### Overrides: – ### Action Scheduler ### Complete: 3,316 Oldest: 2022-08-07 21:44:33 +0800 Newest: 2022-09-07 11:12:27 +0800 Pending: 8 Oldest: 2022-09-07 13:31:10 +0800 Newest: 2022-10-05 18:06:16 +0800 ### Status report information ### Generated at: 2022-09-07 11:13:20 +08:00
Fatal Error Log: There are currently no logs to view.
-
This reply was modified 6 months, 3 weeks ago by
Group Of Oceninfo.
-
This reply was modified 6 months, 3 weeks ago by
Group Of Oceninfo.
Thanks for sharing the System Status Report.
Outdated Templates X
I see that your theme overrides many WooCommerce templates, and some overrides are outdated. Please refer to our documentation on how to update outdated templates: https://woocommerce.com/document/fix-outdated-templates-woocommerce/
Pending: 8
Can you please run the pending actions manually by going to WooCommerce > Status > Scheduled actions > Pending. Please allow some time that it would need to be completed.
You can also use a plugin like WP Crontrol to help you manage pending actions: https://wordpress.org/plugins/wp-crontrol/
Let us know if that made a difference.
@margaretwporg Thanks for your response; I’ve deactivated the outdated plugin (woocommerce-email-control) to ensure everything is updated. All the pending actions run once daily, weekly, or monthly as they must be scheduled, for example, wc_facebook_regenerate_feed, affwp_daily_scheduled_events, and pinterest_for_woocommerce_daily_heartbeat, etc.
No difference so far. It’s picking up the full-size image instead of the thumbnail (200×120).
Thanks for getting back to us.
I tested the snippet to make sure it still works and indeed it does. These are the steps followed on a default WordPress installation with Storefront and only WooCommerce and the Code Snippets plugins enabled.
1. Added the snippet here to change gallery thumbnails to be 50x50px uncropped images;
2. Regenerated shop thumbnails in WooCommerce > Status > Tools (https://snipboard.io/aJzfue.jpg);And this is a screencast that shows gallery thumbnails getting smaller after enabling the snippet and regenerating thumbnails.
Link: https://ibb.co/FbCk1ZyIn addition to changing the theme and disabling plugins, have you also purged the cache? I see that you have server-side caching so it’s a good idea to ask your host to help you clear the cache.
We’ll be here if you have other questions.
@rainfallnixfig Thanks for debugging; after regenerating shop thumbnails in WooCommerce > Status > Tools, it worked as expected.
Good to know that after regenerating shop thumbnails in WooCommerce > Status > Tools, it worked as expected.
As for the
Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5
plugin interfering with normal functionality, you may want to reach out to the plugin’s author/helpdesk and report the issue.However, as you may have noticed, the plugin has neither been updated in the last 2 years, nor tested with the latest 3 major releases of WordPress. So you may want to look for alternatives.
- The topic ‘Single product page gallery image different size’ is closed to new replies.