Live data from Hacker News

Show HN: Thumbor – open-source on-demand image cropping, resizing, and filters

thumbor.org

1–10 of 22 posts

Re: Show HN: Thumbor – open-source on-demand image cropping, resizing, and filters

#3

on firefox maybe you should display a dummy webp image. Seems like FF doesn't support it yet, you should degrade gracefully in this case.

that's odd, I'm seeing all images here in my firefox in windows... What version of Firefox you using in what OS?

Re: Show HN: Thumbor – open-source on-demand image cropping, resizing, and filters

#6
post #5

By upgrading your image server to thumbor you would go from 0kb to 0kb for 0 images, thus saving NaN% (using WebP images). Did I break it?

What website did you put into it? If your site loads images via javascript we don't capture it...

Re: Show HN: Thumbor – open-source on-demand image cropping, resizing, and filters

#7
post #5

By upgrading your image server to thumbor you would go from 0kb to 0kb for 0 images, thus saving NaN% (using WebP images). Did I break it?

What website did you put into it? If your site loads images via javascript we don't capture it...

I don't load them via javascript, but I have an onError handler where I replace images with icons if they don't show up. The site is https://lifeprotips.com

Re: Show HN: Thumbor – open-source on-demand image cropping, resizing, and filters

#8
post #5

By upgrading your image server to thumbor you would go from 0kb to 0kb for 0 images, thus saving NaN% (using WebP images). Did I break it?

What website did you put into it? If your site loads images via javascript we don't capture it...

Would definitely recommend showing a message akin to 'no images detected' in that event.

Maybe with a few common reasons that might happen(such as the above)

Cool stuff though!

Re: Show HN: Thumbor – open-source on-demand image cropping, resizing, and filters

#9
Dealing with on-demand thumbnails is annoying, I've done something similar in the past [1].

In any case, transparently generating thumbnails from URLs is the saner solution, designers/editors might want to embed image of all sorts of sizes and aspect ratios and you can't always generate everything in batch - this is extremely common on news sites.

[1] https://github.com/hcarvalhoalves/django-rest-thumbnails

Post reply on HN