This question is answered.


Permlink Replies: 9 - Pages: 1 - Last Post: 4 Dec 23, 17:14 Last Post By: fodohgraf
fodohgraf

Posts: 35
Registered: 18-Dec-2012
Question about unwanted enlargement of images (maximum enlargement feature)
Posted: 4 Dec 23, 13:51
 
  Click to reply to this thread Reply
Hello,
I have a question about the maximum enlargement feature for images.
A similar question was posted here

https://jalbum.net/forum/thread.jspa?messageID=343877&#343877

unfortunately this solution does not work in my environment:

jAlbum 33.1
Story 4.3.2
Java 19
OpenSUSE Linux 15.5
Recent Firefox and Chromium browser (both display the same)

In my album there is a small picture which is enlarged in the page view, see first screenshot. I don't want the picture to be enlarged. In the settings of story I found the maximum enlargement feature, which was set to 1.4. I changed the setting to 1.0 (never scale up), which is automatically changed to "1", see second screenshot. "Make Album" and upload was done. Unfortunately the image is still scaled up. The normal image size is shown by clicking on the image, see third screenshot. Not even a "Force Remake" of the album or a forced reload of the page in the browsers improved the view.

I can't grant access to this album, but I included jalbum-settings.jap (skin.maxZoom=1.0) in the appendix.

Is this the right setting to disable enlargement?
Is another setting necessary?

Any help is appreciated.

Thanks.

Nordschleife
Laza

Posts: 1,814
Registered: 6-Sep-2005
Re: Question about unwanted enlargement of images (maximum enlargement feature)
Posted: 4 Dec 23, 14:51   in response to: fodohgraf in response to: fodohgraf
 
  Click to reply to this thread Reply
You are using 3x 2x and other image variants. That's why the skin shows the variant that fills in the browser the best. Why would anyone use a 3x variant if not for displaying it?
fodohgraf

Posts: 35
Registered: 18-Dec-2012
Re: Question about unwanted enlargement of images (maximum enlargement feature)
Posted: 4 Dec 23, 15:11   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Thank you for your hint. I removed the 2x and 3x variants:

imageVariants={"scale"\:1.0,"format"\:"WEBP"},{"scale"\:0.5,"format"\:"WEBP"}

Made a Force Remake, Upload, and forced reload in the browser. The view is the same, the picture is still enlarged. The bottom of the html page states a recent time, so the new page is loaded.

Edited by: Nordschleife on 4 Dec 2023, 15:14
JeffTucker

Posts: 8,183
Registered: 31-Jan-2006
Re: Question about unwanted enlargement of images (maximum enlargement feature)
Posted: 4 Dec 23, 15:24   in response to: fodohgraf in response to: fodohgraf
 
  Click to reply to this thread Reply
Put together a test album that contains just one or two images, and give us a link to it. No one can debug a description. ;)
fodohgraf

Posts: 35
Registered: 18-Dec-2012
Re: Question about unwanted enlargement of images (maximum enlargement feature)
Posted: 4 Dec 23, 15:55   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Hi Jeff,
thank you for having a look into this. Here the test album:

https://www.fodohgraf.info/Test/David/Handwerkszeug/Workshop_5/index.html

This test is created by copying the original album and removing all pictures and text except one of the pictures which is enlarged.

Nordschleife
JeffTucker

Posts: 8,183
Registered: 31-Jan-2006
Re: Question about unwanted enlargement of images (maximum enlargement feature)
Posted: 4 Dec 23, 16:27   in response to: fodohgraf in response to: fodohgraf
 
  Click to reply to this thread Reply
Try unchecking Story > Lightbox > Settings > Images > Fit images.
fodohgraf

Posts: 35
Registered: 18-Dec-2012
Re: Question about unwanted enlargement of images (maximum enlargement feature)
Posted: 4 Dec 23, 16:37   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Done. Situation unchanged. new jalbum-settings.jap attached.
JeffTucker

Posts: 8,183
Registered: 31-Jan-2006
Re: Question about unwanted enlargement of images (maximum enlargement feature)
Posted: 4 Dec 23, 16:42   in response to: fodohgraf in response to: fodohgraf
 
  Click to reply to this thread Reply
Attachment ss012112.png (546.0 KB)
I'm not seeing any enlargement of the slide image - reduced screenshot attached.

Are you talking about the "thumbnail" on the index page? If so, this is what Story does. If you don't like that, you might want to use a different skin.
Laza

Posts: 1,814
Registered: 6-Sep-2005
Re: Question about unwanted enlargement of images (maximum enlargement feature)
Posted: 4 Dec 23, 16:44   in response to: fodohgraf in response to: fodohgraf
Correct
  Click to reply to this thread Reply
I see. I guess you are talking about the index page, not the lightbox image. If you'd like to keep that image smaller make sure it's not treated as Single image or Full width image. In Edit mode / Image data change Treat image as to Default or Thumbnail.
fodohgraf

Posts: 35
Registered: 18-Dec-2012
Re: Question about unwanted enlargement of images (maximum enlargement feature)
Posted: 4 Dec 23, 17:14   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Thanks Laza.
The setting was on "Default". With the setting to "Thumbnail" it's now how I want it and I can even treat this on an image base. Great.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums