Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #2272675
Serve 300x300 site WPC Composite thumbnails
Closed

Comments

  • Lucas started the conversation

    I sell a same product with custom designs. The standard WPC Thumbnail size is too small to view design details, so i need better size and resolution. I think 300x300 is ok.

  •  767
    Janilyn replied

    Hi, 

    We’ve received your ticket and assigned one of our developers to help you with that. He’ll be looking into your issue and responding as soon as finding a solution. Please stay in touch as he might need you to provide further information.

    Best regards.

    Janilyn T. - WPClever Support Agent

  •   Lucas replied privately
  •  1,226
    Dustin replied

    Hi Lucas,

    Please add below CSS code to WP-Admin → Appearance → Customizer → Additional CSS:

    .wooco_component_product_selection .dd-option-image, .wooco_component_product_selection .dd-selected-image {
        max-width: 300px;
        width: 300px;
        height: auto;
    }

    Best regards,
    Dustin

  • Lucas replied

    Hi Frankie,

    I understood the CSS modification, but that was not what I wanted. 

    I would like the products to receive the thumbnail at 300x300px instead of the current thumbnail size (150x150).

    300x300 are the thumbnails of the Woocomerce product. Just changing CSS doesn't improve image quality

  •  1,226
    Dustin replied

    Yes! I can change the code for you.

    Please send me your website info (wp-admin link, username, password) then I can do that for you. You also can create a dev/staging site with the same issue then I'll work on it.

    Best regards,
    Dustin

  •   Lucas replied privately
  •   Lucas replied privately
  •  1,226
    Dustin replied

    Hi Lucas, 

    Today I start to work on this issue but I can't access your website https://prnt.sc/qq0usm

    Anything else I need to do to open this page?

    Best regards,
    Dustin

  •   Lucas replied privately
  •  1,226

    Best regards,
    Dustin

  • Lucas replied

    Thanks, Frankie!!

    Now my clients will see the content of my ptoducts Better!

    The code to help other people if prints screens went offline:
    Index.php > function wooco_get_product_data

    the following code was changed from:

    $wooco_product_img    = wp_get_attachment_image_src( $wooco_product-> get_image_id(), 'thumbnail' );

    To:

    $wooco_product_img    = wp_get_attachment_image_src( $wooco_product-> get_image_id(), array(300, 300 );

  •  1,226
    Dustin replied

    You're welcome!smile.png

    If you are satisfied, please reward it a full five-star ★★★★★ rating. https://wordpress.org/support/plugin/wpc-composite-products/reviews/?filter=5
    Thank you in advance! <3

    Best regards,
    Dustin

  • Daniel replied

    Hi Dustin, 

    my theme uses a different aspect ratio for product images. The thumbnails are 2 x 3 rather than 1 x 1. Is it possible to render the images in the drop menu in this aspect ratio?

    Nevermind, found that it was a wordpress setting rather than product related.

    Kind regards,

    Daniel