Announcement

Collapse
No announcement yet.

Resize Image in Search & Filtering

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Resize Image in Search & Filtering

    Hi,

    On Search & Filtering, i'm trying to use the Resize image option under :

    settings / Search And Filtering Settings / Results / Product Image Options

    By default this is set to 80px in width. I want the images to be set at 160 px but in either height or Width and not both. If I set 160 in both, the images become skewed.

    Any thoughts on how I can achieve this?
    Many Thanks in Advance.
    Nilesh

    #2
    If you set the same width and height it would skew the image as it squashes dimensions. You can set the width as 160 and leave the height as 0 or the reverse, then images would be shown proportionate, but you may have images too tall or too wide for the layout.
    Peblaco

    Comment


      #3
      Thanks for the reply.

      I tried all the combinations i.e. setting either height, width or both to 160. Obviously, one answer doesn't fit all. I believe best option for me now is to have custom CSS.

      Long term, I think developers should add an extra variable, say max size which would then set the longest side to that value. Just a thought.

      Comment


        #4
        Ideally, this parameter should be used to set the longest side to the value specified. for example,

        If you had two images whose (h) & width (w) are 240x160 and 160x240 respectively, then both images when displayed will be scaled down to 160x120 and 120x160 respectively.

        With current setup, if you set only the width to 160, then images will be 240x160 and 120x160 . When displayed next to each other, do not look consistent.

        Please note I can't have every thumbnail to be exactly 160x160 as I'm trying to handle both, boots & flip flops.

        Hope I've explained it well.

        Comment


          #5
          You could do calculations using blockifs. I.e. if width is greater than x or height equals x or divide by x amount etc. However in SellerDeck 2013 search and filtering uses the Perl search script so you are restricted in customisation that would work. The easiest solution is creating correct consistent sized image thumbnails.
          Peblaco

          Comment


            #6
            Well, perhaps you're right.
            its best to standardise all the images, so need to worry about manipulation in any layout - Agree, point taken,

            Many thanks , Nilesh

            Comment

            Working...
            X