Support » Theme: Poseidon » Book cover thumbnail displays as square on WooCommerce shop page

  • Resolved TheoLogos.Net

    (@theologosnet)


    The thumbnail is shown as 300×300 in pixels. I need to have it displayed in the same proportion as the original book cover image.

    I have installed the Simple Image Sizes plugin and have tried to regenerate images after making changes, but could not get it work for some reasons.

    After checking the page source, I can pin-point this line to be related:

    <img width="300" height="300" src="https://www.biblecodes.ca/wp-content/uploads/2019/07/tptp_english_cover-300x300.jpg" class="attachment-woocommerce_thumbnail size-woocommerce_thumbnail" alt="" srcset="https://www.biblecodes.ca/wp-content/uploads/2019/07/tptp_english_cover-300x300.jpg 300w, https://www.biblecodes.ca/wp-content/uploads/2019/07/tptp_english_cover-100x100.jpg 100w" sizes="(max-width: 300px) 100vw, 300px" />

    But I don’t know how not to use the tptp_english_cover-300×300.jpg image and how not to set the width and height as 300 pixels.

    Any hint will be appreciated!

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

Viewing 1 replies (of 1 total)
  • Theme Author ThemeZee

    (@themezee)

    Hi there,

    Thanks so much for using Poseidon.

    Please note that the image comes from wooCommerce, not the theme. You have to check how wooCommerce handles image sizes and if it can even be changed with the plugin. You have to ask the wooCommerce support about that, I don’t know, I’m sorry.

    Best,
    Thomas

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.