X3 Photo Gallery Support Forums
I can't make sense of this question. When X3 loads images, it will make an image request that is perfectly suited for the exact size it's displaying in browser, also taking the device's screen pixel ratio into consideration. If it loads w1024, it means that will sufficiently cover the area where the image is loaded. If you load larger sizes, it will take longer time to load, consume more memory, and the additional pixels will be wasted. When the visitor clicks an image to open in popup, another size will open, most likely the original. This is the point of multiple resizes and the logic is hardcoded into the X3 javascript application.daniel wrote: Hello, I can't find how to switch from render/resize w1024 to w1600 for all my images that are currently on /content in 2560x2560? In which file, which UI parameter? thank you
Well, X3 does determine the parameter based on the screen, but not on the size of the screen. We are speaking about images in a layout here, so the loaded size should be calculated based on the display size of the image. Not the full screen. Examples:daniel wrote: Thank you, ok if I understand correctly then, it is "X3" that determines this parameter based on the size of the "client" screen.
If the screen is 5K and the image loads into a 320px area of the screen, it's irrelevant if the screen is 5k or 2k. The image pixel dimensions should be proportionate with the area where the image is displaying.daniel wrote:If a visitor has a screen, for example 5K, this wXXXX parameter will automatically change to a value defined here: /var/www/html/app/parsers/slir/index.php.
How do you know this, and what layout is it? For POPUP images, also take this into consideration.daniel wrote:I only have a 2K screen which therefore apparently uses this setting at w1024.