• Hot
  • Top
  • New
2
votes

You have ... votes left in this category for this week!

Allow dynamic/parameterised images

Dave Hilditch shared this feature

December 18, 2017

Rather than using CSS to control the sizes of images, some providers run timthumb or similar image sizing if parameters are passed to an image.

e.g.

http://hanwanggou.oss-cn-shanghai.aliyuncs.com/2017/07/A201602242271592361090.jpg This is the picture source file address

x-oss-process = image / resize, m_lfit, w_120, limit_1 / auto-orient, 0 This is the function of the host to process pictures, according to different values automatically handle the image size display.

As the following example:

http://hanwanggou.oss-cn-shanghai.aliyuncs.com/2017/07/A201602242271592361090.jpg?x-oss-process=image/resize,m_lfit,w_120,limit_1/auto-orient,0
http://hanwanggou.oss-cn-shanghai.aliyuncs.com/2017/07/A201602242271592361090.jpg?x-oss-process=image/resize,m_lfit,w_200,limit_1/auto-orient,0
http://hanwanggou.oss-cn-shanghai.aliyuncs.com/2017/07/A201602242271592361090.jpg?x-oss-process=image/resize,m_lfit,w_800,limit_1/auto-orient,0

An easy solution for this would be to allow users to specify different images for thumbnails vs full size images.

4 Comments

  1. zhikang r.
    December 19, 2017 @ 10:01 am

    My server charges based on traffic, and if the cost of a full-size image is unpredictable, the listing page needs to use small thumbnails to reduce the traffic.

    1.Allows users to specify different images for thumbnails and full-size images.(I think this solution can meet the needs of many users)
    2.added dynamic/parameterised images (This may not be much demand, except me)

    Reply

  2. zhikang r.
    December 22, 2017 @ 10:57 am

    If this feature can be achieved, I can accept the payment, because of this reason our project had to stop, so we are more urgent, thank you!

    Reply

  3. .
    January 22, 2018 @ 12:53 pm

    Can you please test version 1.76? It includes CSS cropping and I think that will cover this issue?

    Reply

  4. .
    January 22, 2018 @ 12:56 pm

    I’ll leave this open until you can confirm the CSS cropping has covered this requirement.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *