Announcement

#1 2023-03-27 11:59:38

neon
Member
2023-03-27
17

Choose original size by default

Hello Piwigo fans,

I am building my family photo collection using Piwigo on Synology NAS. Works quite well, already fed it with >500K photos - still flies!
The most important challenge I can not solve so far - how to make Piwigo showing full size photos by default, without generating Large or other big sizes? Thumbnails are OK, I use square ones and pre-generated them all.
I have seen number of similar questions, but most answers are "full size is not a good idea". But in my case it is - I have just a couple of users (my family), 1Gb LAN (soon plan to upgrade for 2,5G) and full-size images are shown instantly - but with extra clicks and in a new window. But first the L or XL size is generated - about 3 seconds with a slow Synology CPU...

I use the theme Modus which has a built-in autosize module; as I see the code is in picture_content_asize.tpl and photo.autosize.js. But my skills are not enough to understand how it works, and what can I tweak to make it always choose the original size. When the original photo is smaller than screen, it choses it and everything works OK. What I want is to make it use the original size in any case, but resize it to available space if needed.

Can anyone give a hint how to do it?

Million thanks in advance!

Last edited by neon (2023-03-27 12:38:38)

Offline

 

#2 2023-08-29 00:01:38

neon
Member
2023-03-27
17

Re: Choose original size by default

By the way - iOs Piwigo app operates with fullsize images, and is very fast! Is there any possibility to use the same code in the browser version?
Or, are there any plans to make a Windows program with the same functionality as the iOs app? Would be absolutely great!

Offline

 

#3 2023-08-30 20:26:41

BigIsland270972
Member
Norway
2022-03-15
374

Re: Choose original size by default

Good luck!


Piwigo 14.0 | https://fotoarkiv.no | https://foto.arki.vet | http://Bergen.gallery  | http://Ålesund.gallery | http://geiranger.gallery | http://fjord.photos | http://foto.oslo.no
Apache | PHP 8.1 | MariaDB

Offline

 

#4 2024-05-06 02:37:42

xdisciplex
Member
2022-01-01
18

Re: Choose original size by default

Have spent the past hour searching to find more news on this but can't seem to find it, most of the posts are from 201-2016.

I'm on Piwigo 12.2.0 using the modus theme with LocalFiles Editor as the only plugin.  Is there a way to change the default size from Medium to anything else?

I went into the modus settings and found a way to scale the album thumbnail size up from 200px but I'm specifically looking to change the default size of images within an album, not the album thumbnail itself.

Offline

 

#5 2024-05-06 14:12:15

neon
Member
2023-03-27
17

Re: Choose original size by default

Unfortunately I have not found any solution either. One day might do it myself, but it will need quite some time with my php programming skills ;)

Offline

 

#6 2024-05-06 15:45:23

Katryne
Member
2016-12-03
382

Re: Choose original size by default


http://photos.katrynou.fr/ v.14.1.0 https://album.chauvigne.info/ v.13.8.0
Système d'exploitation: Linux - Hébergeur 1&1-Ionos PHP: 8.0.28 - MySQL: 5.7.38
Bibliothèque graphique: External ImageMagick 6.9.10-23

Offline

 

#7 2024-05-07 02:11:37

xdisciplex
Member
2022-01-01
18

Re: Choose original size by default

Seems like that auto-selects the largest file size which is a step too far in the other direction.

It's absolutely strange to me that something so seemingly simple as changing a default from M to L or XL can't be done.  Is there a technical or design limitation to explain why this doesn't exist despite 10+ years of requests?

Offline

 

#8 2024-05-07 10:04:24

Katryne
Member
2016-12-03
382

Re: Choose original size by default

Show some curiosity and explore the BASIC configurations.
In admin.php?page=configuration&section=sizes, you will be able to choose which photo sizes you want to keep (Except M that is compulsory). And for each available size you will keep, you are able to choose the dimensions : width, height, quality. Click on the link Show Details on far right to access these extra settings. So if it's always the Medium size that is displayed and you find it too small, well, make is larger.


http://photos.katrynou.fr/ v.14.1.0 https://album.chauvigne.info/ v.13.8.0
Système d'exploitation: Linux - Hébergeur 1&1-Ionos PHP: 8.0.28 - MySQL: 5.7.38
Bibliothèque graphique: External ImageMagick 6.9.10-23

Offline

 

#9 2024-05-13 06:22:10

xdisciplex
Member
2022-01-01
18

Re: Choose original size by default

I looked at the Photo Sizes tab ages ago, because Medium is still the default it doesn't solve the problem. I also don't want to force sizes on different users who don't have screens or resolution the size of my PC or may be using different devices.  I simply want them to be able to pick the size default that works for their setup, which isn't a big ask at all.

I also got my hosting provider to update their firewall rules so I can access plugins and updates now via the admin console and I tried the previously mentioned plugin.  As expected it's not fit for purpose and doesn't even provide an option to configure it.  It continues to use Medium as the default size, what exactly was the point of this plugin?

The lack of such a basic option is pretty embarrassing to be perfectly honest, especially given how long people have been asking for improvements.

Offline

 

#10 2024-05-17 17:49:41

Katryne
Member
2016-12-03
382

Re: Choose original size by default

I had noted somewhere something that could help :
In order to allow display in original size, go to the users administration, check the box: "allow downloading". Don't forget to set permissions for unregistered/logged-in visitors, in the separate tab: Guest.


http://photos.katrynou.fr/ v.14.1.0 https://album.chauvigne.info/ v.13.8.0
Système d'exploitation: Linux - Hébergeur 1&1-Ionos PHP: 8.0.28 - MySQL: 5.7.38
Bibliothèque graphique: External ImageMagick 6.9.10-23

Offline

 

#11 2024-05-18 01:40:00

xdisciplex
Member
2022-01-01
18

Re: Choose original size by default

Again, I don't want to display in original size by default.

Offline

 

#12 2024-05-20 22:03:53

neon
Member
2023-03-27
17

Re: Choose original size by default

xdisciplex wrote:

Again, I don't want to display in original size by default.

Well, then it's a wrong topic ;)

I started this one to find out exactly this - how to display original size by default and avoid generating other sizes...

Offline

 

#13 2024-05-20 22:11:19

neon
Member
2023-03-27
17

Re: Choose original size by default

Katryne wrote:

I had noted somewhere something that could help :
In order to allow display in original size, go to the users administration, check the box: "allow downloading". Don't forget to set permissions for unregistered/logged-in visitors, in the separate tab: Guest.

This works, but not instead of a generated size (medium or whatever), but after the page is loaded and opens the full size image in a separate window. This new window does not have any controls to change the photo (next/previous) - or I did not discover them? So to see the next full-size photo, I close this window, go to the next photo in the main window, wait while Piwigo generates medium (or whatever) size preview, then press "full size" and see the next photo in the new window. No fun at all. Any way to do it smarter / faster?

Offline

 

#14 2024-05-20 22:32:42

Katryne
Member
2016-12-03
382

Re: Choose original size by default

Neon, I think that opening in another windows is because the original size is too large according to the theme in use. But you require large original size AND the modus theme, which do not seem to be compliant.


http://photos.katrynou.fr/ v.14.1.0 https://album.chauvigne.info/ v.13.8.0
Système d'exploitation: Linux - Hébergeur 1&1-Ionos PHP: 8.0.28 - MySQL: 5.7.38
Bibliothèque graphique: External ImageMagick 6.9.10-23

Offline

 

#15 2024-05-20 22:59:37

neon
Member
2023-03-27
17

Re: Choose original size by default

Of course I used to Modus theme a lot, but if some other theme is better for showing original size, I might change my taste :)

Offline

 

Board footer

Powered by FluxBB

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