Thumb size and Lightbox size
-
Hi, is it possible to view the thumbnail img in small format (150×150) and the image of the inside a lightbox with full size, for the native WordPress galleries?
Currently Thumb size and Lightbox size are the same.
-
Can you please elaborate a little more about your query for a better understanding? So that we will let you know accordingly.
I need to show about 100 images in a single article (map images).
When I add the images in gallery, WordPress asks for the image size. If I choose small, the image will be shown small in both the thumbnail and the lightbox.
If set large, the image is shown large both in the thumbnail and in the lightbox.
By setting to large the page weight exceeds 20 mb.
Setting it to small makes map images unreadable.Thanks for explaining in detail. Can you please let us know, are you facing this issue using the AMPforWP plugin?
Yes I have this problem using AMPforWP
Can you please let us know, What issue you are having exactly when you activate our plugin?
Hi, i build a temp site for you.
https://hangtitle.tastewp.com/2020/08/05/hello-world/?amp
Fresh install, no others plugin or theme edit.If you try to click on lightbox the image will shown on low resolution.
This is a wrong operation for the lightbox.
A possibile solution is to set the images to large (on WP Gallery) but this then becomes a problem because ALSO the thumbnails are loaded as large and therefore the weight of the page becomes huge.Can you please send us the Exported AMP option panel settings? So that we will check and let you know back.
For reference here is the doc: https://ampforwp.com/tutorials/article/how-to-import-and-export-the-amp-option-panel-settings
This is a Exported AMP option settings : https://filebin.net/3i1eo2lcimspixr9
Extremely sorry for the delay in response. As we checked and re-created it from our end, the issue is not happening from our end really. Can you please re-create it once and also please send us the official website issue URL? So that we will have a look at it and provide you a solution accordingly.
Hello Ahmed, it is impossible not to reproduce the problem. Can you send me any link where the problem is NOT present?
The url I sent you was for a clean install.
Fresh install : https://classifytouch.tastewp.com/sample-page/?amp
i can send also login if you need (is a sample site)We did the same from our end. But the issue is not happening when we checked it from our end. You can see it in the below video for reference purposes.
Reference video: https://monosnap.com/file/izkNFSZH5C27n9EaJCsiOqaL1BIDGJ
Hi Ahmed, thanks for the video. Please take a moment to re-read the request and understand the problem.
The miniature must be small (150×150) not 1000×1000
If set to small, both the thumbnails and the image in the lightbox are displayed in small.
If I set large both the thumbnails and the image in the lightbox are displayed large. This is a problem because the page then has a weight of 100mb if there are 50 images (around 2mb each).
Can you please help us to re-create the same on our end? So that we can fix it accordingly.
Hi Ahmed. The problem is very simple, please pay attention.
Thumbs must be small and lightbox image must be large.
In your demo video the thumbs is large not small.I try to explain with this fiddle : https://jsfiddle.net/fzk9e6at/1/
- The topic ‘Thumb size and Lightbox size’ is closed to new replies.