Watermark in photos

Asked

Viewed 263 times

1

Good person, I’m doing my TCC and now I’m implementing a photo gallery, but I need these photos present a watermark that the user choose previously, I’m using the nanoGallery2 to show the gallery/ photos, and as back am using the Laravel. The problem I face is: I only wanted to show the photos to have the watermark, because I wanted to keep the original file, but I’m afraid that the user disables the JS and can "catch" the photo without the tag, by PHP I can insert the watermark. I tried using the Intervention Image library and a couple more, but normally Opacity took more than 30 seconds per image. The only one I could do works "faster" was the claviska Simpleimage, but in 40 photos, it took almost 30 seconds, which is still very.

Anyway, I don’t know which way to go...

What you advise me?

Thanks

  • 1

    How about keeping two copies? The original by history and the with Watermark for display?

  • I thought about it, but the time it takes to save also gets high, the image usually takes time to upload, then the back will still insert a Watermark, it takes a few more seconds per image.. I’m using the Dropzone to upload.. So more time.. Outside the space it will be in double.

  • I think this is a conflict of choice, which you have to balance. You want to prevent access to the original image, so this should be done in PHP. Either you take one time 30 seconds (on upload) or you take one second several times (on view). About the weight of the original you don’t need the whole picture. If the original image will be accessed rarely you can only have the excerpt that the watermark overlays original, then replace the watermark with the original image, which you saved previously, it will cost processing and not storage.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.