Cloudimage.io: imatges emmagatzemades a la memòria cau, retallades, redimensionades o amb filigrana com a servei

Cloudimage API for Image Compression, Cropping, Caching

Recently, I've been working quite a bit on this site to get the speed up. I've removed a ton of the moving parts to simplify how it's monetized and integrated, but the site speed is still too slow. I'm confident it's impacting my readership and my recerca orgànica reach. After enlisting the assistance of my friend, Adam Small, who operates a lightning fast plataforma de màrqueting immobiliari, the first item he pointed out was that I had some very large images loading in my podcast sidebar.

This was disconcerting since the images come from a third-party site that I have little control over. Ideally, I would have loved to have cropped and cached them locally, but then I would have had to write a rather complex integration. Not to mention that, even with a solid integration, the time it would take to download and resize the images would be awful. So, after doing some searches online, I found the perfect service – Cloudimage.io

Features of Cloudimage.io

  • On the first image load, Cloudimage downloads your origin image for your server / SXNUMX bucket, and they cache it on their resizing infrastructure.
  • Cloudimage.io can optionally resize, crop, frame, watermark, and compress the image to make it responsive and save you time.
  • Your images are delivered to your customers at the speed of light via fast CDNs, resulting in better conversion and more sales.

For my implementation, I had a podcast feed where I wanted to display the podcast images at just XNUMXpx by XNUMXpx but, often, the original images were huge (in dimension and filesize). So – with Cloudimage, we're able to just append the Image URL to the Cloudimage API, and the image is resized and cached perfectly.

https://ce8db294c.cloudimg.io/crop/XNUMXxXNUMX/x/https://images.fireside.fm/podcasts/images/c/c5d9b182-9c16-43a8-873d-ccc51c40dd8b/episodes/b/b638ca26-7bd9-4f6a-b039-99792720ff4a/cover.jpg

Notice the full URL:

  • Token subdomain to CloudImage
  • Command to crop the image
  • Dimensions set to XNUMXpx by XNUMXpx
  • My original file path

I was able to also lockdown my URLs where I could use the Cloudimage API so others can't steal it. Within a few minutes, I had the solution ready, and within the hour I had implemented the solution into our Feed de podcasts Widget.

Què et sembla?

Aquest lloc utilitza Akismet per reduir el correu no desitjat. Esbrineu com es processa el vostre comentari.