Thread Locked This thread is locked - replies are not allowed.


This question is answered. Helpful answers available: 0. Correct answers available: 1.


Permlink Replies: 39 - Pages: 3 [ 1 2 3 | Next ] - Last Post: 25 Jan 24, 12:29 Last Post By: chauvin
chauvin

Posts: 32
Registered: 28-May-2007
Comment fixer la taille de l'image dans la lightbox ?
Posted: 30 Nov 23, 11:25
 
Bonjour ,

je n'arrive pas à conserver la taille des image fixée dans le paramètre taille 800x800.
je crois avoir essayé tous les paramètres , rien à faire , l'image est toujours afficher en 1.
(je souhaite interdire agrandissement et zoom).
il est bien indiqué de e mettre 1.0 , mais hélas cela n'est pas possible , on ne peut pas saisir
1.0 , le paramètre revient toujours à 1 (voir image écran).

Comment faire , merci d'avance

Laza

Posts: 1,505
Registered: 6-Sep-2005
Re: Comment fixer la taille de l'image dans la lightbox ?
Posted: 30 Nov 23, 11:43   in response to: chauvin in response to: chauvin
 
I don't see what's the problem with "1" - that's the same as "1.0", isn't it?
chauvin

Posts: 32
Registered: 28-May-2007
Re: Comment fixer la taille de l'image dans la lightbox ?
Posted: 30 Nov 23, 12:14   in response to: Laza in response to: Laza
 
Ah oui , mais alors pourquoi l'image est-elle agrandie ? je voudrai qu'elle reste à la taille définie qui est 800x800 ?

Edited by: chauvin on 30 Nov 2023, 12:15
Laza

Posts: 1,505
Registered: 6-Sep-2005
Re: Comment fixer la taille de l'image dans la lightbox ?
Posted: 30 Nov 23, 12:24   in response to: chauvin in response to: chauvin
 
Do you have variants? Otherwise, it should be max. 800x800.
chauvin

Posts: 32
Registered: 28-May-2007
Re: Comment fixer la taille de l'image dans la lightbox ?
Posted: 30 Nov 23, 14:02   in response to: chauvin in response to: chauvin
 
Attachment jlb.jpg (72.0 KB)
Sory but no 'variants' !?
chauvin

Posts: 32
Registered: 28-May-2007
Re: Comment fixer la taille de l'image dans la lightbox ?
Posted: 30 Nov 23, 14:15   in response to: chauvin in response to: chauvin
 
Attachment jbl2.jpg (890.2 KB)
Attachment jbl1.jpg (636.1 KB)
En clair je souhaite toujours affichier comme la première image et jamais comme la 2 !
JeffTucker

Posts: 8,297
Registered: 31-Jan-2006
Re: Comment fixer la taille de l'image dans la lightbox ?
Posted: 30 Nov 23, 14:21   in response to: chauvin in response to: chauvin
Helpful
Attachment ss012094.png (25.4 KB)
See screenshot. Lightbox image cannot be enlarged beyond its native dimensions.
Laza

Posts: 1,505
Registered: 6-Sep-2005
Re: Comment fixer la taille de l'image dans la lightbox ?
Posted: 30 Nov 23, 14:23   in response to: chauvin in response to: chauvin
 
Isn't this a HiDpi image? For me, it never goes beyond 100% when no HiDpi or variants are used.
JeffTucker

Posts: 8,297
Registered: 31-Jan-2006
Re: Comment fixer la taille de l'image dans la lightbox ?
Posted: 30 Nov 23, 14:32   in response to: Laza in response to: Laza
 
Using HiDPI images does "fool" the lightbox into thinking that it can show the image larger than the image bounds. It shouldn't do that. It should respect the image bounds regardless of the pixel density.

ETA: I never use HiDPI images. I default to HiDPI thumbnails because it is noticeably better, yet doesn't produce overly large files. But HiDPI images is probably not detectable, even on a Retina display. In other words, it creates huge files and creates problems with lightbox scripts, but doesn't improve the quality of what the visitor sees.
JeffTucker

Posts: 8,297
Registered: 31-Jan-2006
Re: Comment fixer la taille de l'image dans la lightbox ?
Posted: 30 Nov 23, 14:38   in response to: JeffTucker in response to: JeffTucker
 
(Just an aside - the lightbox script I use is also "fooled" by HiDPI images, because it's looking at the native dimensions of the image. However, it also lets me set a maxWidth and maxHeight for the displayed image, so internally, I just set those to match the image bounds.)
chauvin

Posts: 32
Registered: 28-May-2007
Re: Comment fixer la taille de l'image dans la lightbox ?
Posted: 30 Nov 23, 15:01   in response to: JeffTucker in response to: JeffTucker
 
Attachment jbl3.jpg (499.4 KB)
Oups , là il y a vraiment un truc qui ne va pas !
no hdpi , no vrariant et parametres 'barre de controle' OK
et là c'est catastrophique
help
JeffTucker

Posts: 8,297
Registered: 31-Jan-2006
Re: Comment fixer la taille de l'image dans la lightbox ?
Posted: 30 Nov 23, 15:08   in response to: chauvin in response to: chauvin
 
Attachment ss012095.png (20.8 KB)
No one can debug a screenshot. We need a link to an album that displays this unwanted behavior.

ETA: One more setting to check - see screenshot.

(Laza - It's not clear to me why the lightbox is using the included original. When there's both a slide image and an original, shouldn't it be using the slide image for the lightbox, and the original only as a download option?)
chauvin

Posts: 32
Registered: 28-May-2007
Re: Comment fixer la taille de l'image dans la lightbox ?
Posted: 30 Nov 23, 21:42   in response to: Laza in response to: Laza
 
Attachment 4jbl.jpg (527.1 KB)
Bonsoir ,
cela m'aura occupé une bonne partie de la soirée et hélas je n'ai toujours pas la solution.

je n'arrive toujours pas à avoir cette présentation (voir fichier joint , ce que je voudrai)
PAR DEFAUT.

Explication dans le fichier joint et démonstration via le lien ci-dessous.

http://dchauvin.fr/zzchauvin/UVOL/O-2023-11-uvol-reine/

bien à vous

JeffTucker

Posts: 8,297
Registered: 31-Jan-2006
Re: Comment fixer la taille de l'image dans la lightbox ?
Posted: 30 Nov 23, 22:02   in response to: chauvin in response to: chauvin
 
Please attach the project file - jalbum-settings.jap.

Normally I would download your lifeboat.zip file, but it's damaged, and can't be un-zipped.

What I'm seeing, however, is that the slide images have native sizes like 1600x1067. So your image bounds aren't set correctly to produce the result you want.

And the control bar is providing the expand/shrink icon because you haven't used the settings we have told you to use. Go back and look at the screenshots I've posted. Double-check each setting.
RobM

Posts: 3,955
Registered: 4-Aug-2006
Re: Comment fixer la taille de l'image dans la lightbox ?
Posted: 30 Nov 23, 22:36   in response to: JeffTucker in response to: JeffTucker
 
Here is the file from the lifeboat.zip I downloaded and opened using Betterzip
Legend
Forum admins
Helpful Answer
Correct Answer

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