Skip to content
  • Hot
  • Top
  • New
1
votes

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

completed

Check if HTTPS is possible for images, if so, replace HTTP with HTTPS for all of that site’s images

Dave Hilditch shared this feature

April 27, 2018

We already proxy images if they are not HTTP, but:

1) This uses CPU and bandwidth (but no disk space)
2) Some networks, like ASOS, prevent downloading images in this way
3) Some networks, like ASOS, are listed as HTTP images in datafeedr but actually do have HTTPS images

So I’m going to add a new feature that when it spots an HTTP image for the first time from a new domain, it will test if HTTPS works, and if so, all future HTTP image requests will be changed to HTTPS image request rather than attempting to proxy them.

4 Comments

  1. Bassey Eyo
    May 8, 2019 @ 11:31 pm

    Whats the average speed of downloading ASOS images via proxy?

    Reply

    • Dave H.
      May 9, 2019 @ 4:24 pm

      You’re better off not proxying them due to how large they are. There’s an odd issue with Asos where it tries to detect image type using https and fails – BUT the images DO work with HTTPS.

      You can either alter the image URLs for Asos to be https instead of http or you can install SQL Executioner plugin and run this command to tell External Images to simply change http to https:

      update $options set option_value = ‘yes’ where option_name like ‘eissl-images.asos%’;

      Reply

  2. Bassey Eyo
    May 8, 2019 @ 11:32 pm

    Am looking at getting images from asos

    Reply

    • Dave H.
      May 9, 2019 @ 4:23 pm

      Hi – it’s possible – install SQL Executioner plugin then run this code in it:

      update $options set option_value = ‘yes’ where option_name like ‘eissl-images.asos%’;

      Reply

Leave a Reply

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