• 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

Resize watermark correctly

Status
Not open for further replies.

SMP

💖 Chevereto Fan
Hi,

Seems the watermark doesnt resize correctly with all image sizes

Something like this should be good

Set a standard size for the image... something like 800px (option to set in dashboard)

For this the watermark size for example is 380x136.

Then when a new image is uploaded the new watermark should be of appropriate proportion based on the smaller dimension (width or height) of the image being uploaded.

Example: If the new image being uploaded is

1600x800px the original watermark should be applied as the smaller dimension the height is 800px i.e. ... 380x136px

for 900x600px image... it should be 285x102 as image height is reduced

for 300x900px image... it should be 142x51px as image width is reduced

Thanks
 
Improved watermark settings are planned for 3.6.0 as you can read right here: https://chevereto.com/community/threads/chevereto-3-6-x-announcement.5771/

And is not as just re-size the watermark image. Problem is, as always, the effective resource usage because one of the most high machine demanding task for PHP is image handling.

So, in terms of machine resources usage, is just plain insane to allow to process all the images by resizing a large watermark. Even watermark all the uploads on an public image hosting website is something that could be labeled as wrong if this task is handled directly at PHP level and the files are large.

Most likely I will end doing watermark resizing, but with cached watermark sizes. Basically cache all the watermak steps like 100px, 200px, 300px, etc. Then use the closest one that works and use that with resizing.
 
Status
Not open for further replies.
Back
Top