• Thank you so much for this app. It’s been a tremendous help.

    I am trying to adjust the layout using the built-in attributes but I only have a choice between the medium and large thumbnail size. The problem is the large has a variable height which makes some of the thumbnails look stretched out.

    [etsy-shop shop_name="ClevrDesigns" section_id="28200109" thumb_size="large" height="203px" width="300px"]

    I noticed on Etsy there is an additional thumbnail size that is more standardized than the “570xN”, which has a variable height. This is the “340×270” size. (https://i.etsystatic.com/20445936/d/il/74ba60/2328941488/il_340x270.2328941488_j06w.jpg?version=0)

    I tried to simply copy existing code to make a new attribute and adding in the new size and giving it a different name but that didn’t work.

    ` //Filter the thumb size
    switch ($thumb_size) {
    case (“small”):
    $thumb_size = “url_75x75”;
    break;
    case (“medium”):
    $thumb_size = “url_170x135”;
    break;
    case (“large”):
    $thumb_size = “url_570xN”;
    break;
    case (“original”):
    $thumb_size = “url_fullxfull”;
    break;
    default:
    $thumb_size = “url_570xN”;
    break;
    }`

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

  • The topic ‘Thumbnail’ is closed to new replies.