• Hot
  • Top
  • New
1
votes

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

approved

Display thumbnails with Jetpack Photon

Michael shared this feature

May 7, 2019

The issue: currently all external images load as full-sized images, even if they’re only displayed as thumbnails on the site. This is extremely detrimental to page sizes and page loading times, and goes against what the External Images plugin is trying to achieve. I do not need 2,000 pixel images to load in 300×300 pixel spaces, for example in the product image galleries.

Solution: Use Jetpack’s free Photon CDN via their API to automatically display images at thumbnail sizes when required. Use the Photon API (https://developer.wordpress.com/docs/photon/api/) to check if it’s installed and enabled, and if it is, rewrite the URLs to run through Photon so they will return an optimized thumbnail sized image instead where needed. You could make this an option in the admin panel, and greatly improve loading times on the Product Page and all Archive pages a product may appear on.

Leave a Reply

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

Pin It on Pinterest

We use cookies

We use cookies for various things on our site, including our on-site chat bubble (if you use it), our comment forms (if you use them) and for session handling (if you log in).

Other than that, we use cookies to identify where traffic came from to help us understand which traffic turns into sales, we use a cookie for Google Analytics traffic analysis and we use a cookie to customise adverts for our own products we think you'll be interested in.

You can read more detail in our privacy policy page. Please click 'Accept' or 'Decline' to continue.