Sorry, we don't support your browser.  Install a modern browser
This post is closed.

Preprocessing images#151

When you upload an image, the file is uploaded and inserted.

It would be good that the image has a preprocessing changing the resolution and format, maybe 1024px wide and in webp format, so that the blog is faster, also when you click on the image it loads in another tab the image in its original format.

This would help the websites to load faster and the digitalocean image reading quota would be lower.

2 years ago
2

I think Optimizing Content is something the Site - Owner has to take care of (not the Service Provider).
Because there isn’t just one way of doing it. And after all the quality of your publications is based on your own skill.

But for a blog - it’s not easy to decide where to draw the line here.

Maybe Bear could show a tip that links to its docs - which contain guides & tools to optimize website content. As well as best practices, tips, etc.

Because it’s not just images. There is audio, video and other content as well. So trying to optimize that stuff server-side is more messy than helpful - after all.

a year ago

I feel that there should be some base level of processing done, due to the following:

  1. Privacy - I’m seeing that images uploaded still have GPS info in the EXIF data, and our less tech-savvy users might not know how to remove this easily (especially if blogging from their phones)
  2. File Size - As mentioned by @Melvinsalas above, images are large (multi-megabyte), and might be considered as going against the ethos of Tiny (~2.7kb), optimized, and awesome pages.

True, we should probably allow users to uncheck a box to upload original as-is images and content, but providing a sane default for the most uploaded media (images) would improve quality-of-life.

9 months ago
2
Changed the status to
Planned
9 months ago

Noted, I’ll get this sorted out promptly 👍

9 months ago

Specifically the localtion/time data first, then I’ll give some thought to other image pre-processing.

9 months ago
1

Images now have thier metadata stripped before uploading. I’m going to leave this request open, though, since it pertains more to reducing filesize and loadtimes.

9 months ago
5
?

Hi, this seems to have broken GIF uploading (they will not play back anymore, only the first frame is retained)

8 months ago

Thanks for reporting this. I’ve just patched it to ensure gifs work

8 months ago

I’ve added a pre-processing step that optimises images for web (I’m seeing way too many blogs with multiple raw 7mb iPhone pictures om a page). Currently just strips metadata and re-exports the image to WebP. This already reduces image sizes by about 60%. Images with very large resolutions are also reduced.

This image optimisation can be turned off in Advanced Settings in your dashboard, but from my testing it seems to be working very smoothly. Please notify me if you run into any problems.

8 months ago
1
Changed the status to
Completed
8 months ago
1