Announcement

#1 2021-01-23 10:04:17

homdax
Member
Sweden
2015-02-02
294

A few complaints on my start page taking long to load - it's true

This is not upgrade related but more of a question on how to sort images based on actual byte size... not dimensions. I call it weight to keep it differentiated from physical size in pixels.

The batch manager has filters for sorting images by weight (as in byte size) but that does not really seem to be any useful in any other way. I do not seem to be able to exclude imges from the frontpage based on weight.

As it is I have a lot of images above 5MB, some above 30Mb and I am looking in to optimizing things and redo the sorting, but what could go a long way is jut put away the largest images with some filter?

https://developers.google.com/speed/pag … ab=desktop

Offline

 

#2 2021-01-27 09:18:17

homdax
Member
Sweden
2015-02-02
294

Re: A few complaints on my start page taking long to load - it's true

I have been looking in to

- SmartAlbums - those filters have no weight (kb/mb) option
- PWG Blocks - no such filter there either.,

Any ideas besides manual sorting?

Last edited by homdax (2021-01-27 09:18:37)

Offline

 

#3 2021-01-27 09:38:56

Zentalquabula
Member
2014-05-10
217

Re: A few complaints on my start page taking long to load - it's true

This is the wrong approach. You are supposed to display thumbnails (and only thumbnails) on front page, album pages and photo pages.

Thumbnails are not supposed to be in the MB range…

Offline

 

#4 2021-01-27 10:36:12

homdax
Member
Sweden
2015-02-02
294

Re: A few complaints on my start page taking long to load - it's true

Please elaborate...?

I mean, those are thumbnails...?

Last edited by homdax (2021-01-27 11:22:27)

Offline

 

#5 2021-01-27 14:34:06

Zentalquabula
Member
2014-05-10
217

Re: A few complaints on my start page taking long to load - it's true

There is a moving gif taking a whopping 58 MB (!!) storage on the front page (spaceship).

There is a png taking 594 kB (alien Akhenaten), and there are several other pngs.

Don't use animated gifs. Don't use 24-bit PNGs unless they are highly optimized.

All thumbnails should be jpg.

Offline

 

#6 2021-01-27 15:56:46

homdax
Member
Sweden
2015-02-02
294

Re: A few complaints on my start page taking long to load - it's true

Well, most of the images are not mine, they come from a game developer and if Piwigo is not able to make a weight reduced thumbnail of a animated gif... not really a choice I have.

But apart from that you are mostly suggesting I should spend more effort optimizing the images. That can be done, but they are also available for download, how do I combine a reduced sized thumbnail with a high quality download version? Separate files all together?

Last edited by homdax (2021-01-27 15:57:33)

Offline

 

#7 2021-01-29 09:07:47

homdax
Member
Sweden
2015-02-02
294

Re: A few complaints on my start page taking long to load - it's true

Seems I actually set that huge animated gif as album thumbnail... it is currenlty removed from that, set another image....

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact