Announcement

#1 2020-07-04 22:23:24

Tom123
Member
2020-07-04
3

thumbnails in iOS app regenerated for every device

Hello,

I am a new user to piwigo and picked it mainly for its iOS apps. I just finished importing 40k images in 300+ albums. To view images we use the iOS app. I have now 2 issues.

1) it seems that thumbnails for the images are created dynamically when I open the album the first time on an iOS device. This takes a lot of time for large albums. If I close the app it seems that it does not continue but thumbnail creation stops after a while. Is it possible to pre create those thumbnails? I tried the batch manager to create thumbnails of all sizes for an album, but they still did not show up in the iOS app and the server starts again.

2) If thumbnail creation is done for an album it works great on that device and albums are loaded fast. However, if I open the same album on another iOS device, it does not show any thumbnails and the server starts again to create thumbnails. That seems unnecessary.

Best regards,
Tom

Piwigo version: 2.10.2
PHP version: 7.4.3
MySQL version: mariadb 15.1
Piwigo URL: http://

Offline

 

#2 2020-07-05 01:01:11

erAck
Only trying to help
2015-09-06
2035

Re: thumbnails in iOS app regenerated for every device

Might be that different thumbnail sizes are generated if screen resolution/sizes differ.
You can check in _data/i/upload/*/*/*/ when which sizes were generated.


Running Piwigo at https://erack.net/gallery/

Offline

 

#3 2020-07-05 22:03:47

cryopad
Piwigo Team
Grenoble, France
2015-11-01
191

Re: thumbnails in iOS app regenerated for every device

Hi Tom123,

The iOS app loads the album thumbnails from the server and stores them in cache. If they are not yet available, the server must produce them before the download, which can take some time (depends on your server perf.).

Cheers


If you enjoy Piwigo for iOS…
➤ We would appreciate an AppStore review.
➤ Comments, suggestions ? Tell us on GitHub…
➤ Not yet available in your language ? Help us translate it…

Offline

 

#4 2020-07-06 09:19:34

Tom123
Member
2020-07-04
3

Re: thumbnails in iOS app regenerated for every device

Thank you both.

The problem with different devices was indeed that different thumbnail sizes were created.

Is it possible to create all thumbnails in advance? I tried it with the batch manager. Selected one album with 2k images. Selected all sizes. Pressed start. Server starts various convert tasks. I let it run over night. In the morning I noticed the server is done, but after checking manually, I see that only few thumbnails were created.

Offline

 

#5 2020-07-06 10:56:33

cryopad
Piwigo Team
Grenoble, France
2015-11-01
191

Re: thumbnails in iOS app regenerated for every device

You can create and upload thumbnails in advance as discussed for example here.


If you enjoy Piwigo for iOS…
➤ We would appreciate an AppStore review.
➤ Comments, suggestions ? Tell us on GitHub…
➤ Not yet available in your language ? Help us translate it…

Offline

 

#6 2020-07-13 20:56:55

Tom123
Member
2020-07-04
3

Re: thumbnails in iOS app regenerated for every device

Thanks.

I adpated this script: https://odd-one-out.serek.eu/code/piwig … on-script/
and generated all thumbnails.

For iPhone I needed XS and XL. For iPad I needed SM and XX. It worked great.

Offline

 

Board footer

Powered by FluxBB

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