• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

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