Dynamic image resizing with Ruby and Serverless framework
19-Jul-2019 1833
If you’ve grappled with resizing images for various page layouts and devices, you know the pain of accounting for all different types of screens, the scaling problem that serving the full-size original image presents, and the fact that large images increase page load times and increase bounce rates. And the difference between an original image and a compressed one is essentially unnoticeable to the user.And so it follows that you’ll want to generate and serve an image of lower but still good quality. However, it’s not possible to know in advance which image sizes to serve. And pre-scaling the original image to all imaginable sizes will result in an unsustainable hit to your cloud storage capacity and therefore to your monthly bill.
Dynamic image resizing with Ruby and Serverless framework #ruby #rubydeveloper #rubyonrails #Dynamic #image #resizing #Serverless #framework #framework #serverless https://rubyonrails.ba/link/dynamic-image-resizing-with-ruby-and-serverless-framework