[SOLVED] Blurred main image on item listing page

Discussion in 'General Support' started by geoffrey foggon, Apr 8, 2019.

  1. geoffrey foggon

    geoffrey foggon New Member

    Joined:
    Apr 5, 2019
    Messages:
    11
    Likes Received:
    0
    After countless searching on the forum and code changing without any luck. This line of code is causing all the issues, line 58 of the item.tpl
    Code:
      <img class="img-rounded img-responsive center-block" src="{SITEURL}getthumb.php?w={THUMBWIDTH}&fromfile={PIC_URL}" border="0" align="center" width="430px">
    This line of code is calling for the thumb size of the image then enlarges it to fit 430px. To fix it delete {THUMBWIDTH} and replace it with 420 .

    here is the code with the change

    Code:
      <img class="img-rounded img-responsive center-block" src="{SITEURL}getthumb.php?w=420&fromfile={PIC_URL}" border="0" align="center" width="430px">
    This will now make the image width 420 and not use the thumb size then enlarge it.
     

Share This Page