woocommerce / woocommerce

A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine.
https://woocommerce.com
9.42k stars 10.77k forks source link

images not displaying at the size set #16280

Closed gregpendo closed 7 years ago

gregpendo commented 7 years ago

Prerequisites

Steps to reproduce the issue

  1. install woocommerce on 'blank' site. also install regenerate thumbnails. no other plugins active, no edits to any files (all default)
  2. set theme to wp twentytwelve
  3. setup product with image - original 161 x 160
  4. settings > product > display. Set single product image to 100 x 100, no hard crop. set catalog images to 100 x 100, no hard crop
  5. run regen thumbnails
  6. view single product page and catalog pages

Expected/actual behavior

When I follow those steps, I see... the image displayed at the woocomerce default size

I was expecting to see...the image displayed at the smaller size defined on the settings page

Isolating the problem

WordPress Environment

` ### WordPress Environment ### Home URL: http://mossythoughts.com Site URL: http://mossythoughts.com WC Version: 3.1.1 Log Directory Writable: ✔ WP Version: 4.8 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ✔ Language: en_AU ### Server Environment ### Server Info: Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 PHP Version: 7.0.21 PHP Post Max Size: 8 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.54.0 OpenSSL/1.0.2k SUHOSIN Installed: – MySQL Version: ❌ 5.5.55 - We recommend a minimum MySQL version of 5.6. See: WordPress requirements Max Upload Size: 2 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 3.1.1 WC Database Prefix: wp_ woocommerce_sessions: ✔ woocommerce_api_keys: ✔ woocommerce_attribute_taxonomies: ✔ woocommerce_downloadable_product_permissions: ✔ woocommerce_order_items: ✔ woocommerce_order_itemmeta: ✔ woocommerce_tax_rates: ✔ woocommerce_tax_rate_locations: ✔ woocommerce_shipping_zones: ✔ woocommerce_shipping_zone_locations: ✔ woocommerce_shipping_zone_methods: ✔ woocommerce_payment_tokens: ✔ woocommerce_payment_tokenmeta: ✔ MaxMind GeoIP Database: ❌ The MaxMind GeoIP Database does not exist - Geolocation will not function. You can download and install it manually from http://dev.maxmind.com/geoip/legacy/geolite/ to the path: . Scroll down to "Downloads" and download the "Binary / gzip" file next to "GeoLite Country". Please remember to uncompress GeoIP.dat.gz and upload the GeoIP.dat file only. ### Security ### Secure connection (HTTPS): ❌Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates. Hide errors from visitors: ✔ ### Active Plugins (2) ### Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 2.2.6 WooCommerce: by Automattic – 3.1.1 ### Settings ### API Enabled: ✔ Force SSL: – Currency: AUD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 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) ### WC Pages ### Shop base: #9 - /shop/ Basket: #10 - /cart/ Checkout: #11 - /checkout/ My account: #12 - /my-account/ ### Theme ### Name: Twenty Twelve Version: 2.3 Author URL: https://wordpress.org/ Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ✔ ### Templates ### Overrides: – `
mikejolley commented 7 years ago

These settings control the physical size of the image, not the displayed size. Thats down to CSS.

https://docs.woocommerce.com/document/fixing-blurry-product-images/