• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

Images viewer loader

Tierri Lopes

Chevereto Member
Hello.
I've been looking around but didnt found.
Could someone tell me where i can change the file size for the button on the image viewer to appear?
It seems to appear at 2/3mb size, i would like to increase it to appear only on 8mb+ size images.
Is this possible?
Thank you in advance.


Edit: I'm still going through php/js to look for it.
 
#Close Request. Solution found.

Go to app/lib/chevereto.js

var image_size = $(CHV.obj.image_viewer.loader).data("size");
if(image_size > "3 MB".getBytes() || (image_size > "500 KB".getBytes() && PF.fn.isDevice(["phone", "phablet"]))) {
$(CHV.obj.image_viewer.loader).css("display", "block");
} else {
CHV.fn.viewerLoadImage();
}
 
Back
Top