http://phoca.uservoice.com/forums/12720 ... ?ref=title
Watermark disappears in download
-
ninjaprog
- Phoca Newbie

- Posts: 2
- Joined: 23 Jun 2010, 15:49
Re: Watermark disappears in download
I also support bennychains, so lets everyone who supports the idea vote here!
http://phoca.uservoice.com/forums/12720 ... ?ref=title
http://phoca.uservoice.com/forums/12720 ... ?ref=title
- Jan
- Phoca Hero

- Posts: 49125
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Watermark disappears in download
Hi, will be great to not only support this item but add some idea how to solve not conflicting such feature with other features.
Until this feature will cause conflicts with main gallery features, it is hard to implement it
Jan
Jan
If you find Phoca extensions useful, please support the project
-
ninjaprog
- Phoca Newbie

- Posts: 2
- Joined: 23 Jun 2010, 15:49
Re: Watermark disappears in download
Hi.Is there any option,the original image to be recreated in other folder in the way thumbnails are created with the watermark.Then only the download button will connect with this folder(the folder with recreated original images with thumbnails on them).So we will have two folders(one with the original images and one with original and watermark on them).Hi, this is a problem, because original images are used for creating thumbnails, recreating them, rotating, etc. It means the images need to be without watermark for such functions
In that way we will keep all the previous functionality of Phoca Gallery and will have watermark on the downloaded images.The only problem will be the extra server place needed,but if placed like an option in the control panel everyone will decide.
Off topic: If you are the developer of phoca gallery,congrats for the great component
- Jan
- Phoca Hero

- Posts: 49125
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Watermark disappears in download
Hi,
So such option needs to be customized, but I think it cannot be added to Phoca Gallery as default. For now some servers have problems with creating large, medium and small thumbnails. When they should created large, medium, small and the same original image, then on most servers you get a memory problems - with fatal errors, because webserver is not a PC where you can work with large images. And you cannot use some easy copy function - copy original image and make second original image. You need to work it with GD library as the "second original image" needs watermark.
In fact it is not real to add watermark on original image on most servers as this will end with fatal memory error
Jan
original images are not created by Phoca Gallery, they are called "original" because they are uploaded by users - and users decide where to upload such images.Is there any option,the original image to be recreated in other folder in the way thumbnails are created with the watermark
So such option needs to be customized, but I think it cannot be added to Phoca Gallery as default. For now some servers have problems with creating large, medium and small thumbnails. When they should created large, medium, small and the same original image, then on most servers you get a memory problems - with fatal errors, because webserver is not a PC where you can work with large images. And you cannot use some easy copy function - copy original image and make second original image. You need to work it with GD library as the "second original image" needs watermark.
In fact it is not real to add watermark on original image on most servers as this will end with fatal memory error
Jan
If you find Phoca extensions useful, please support the project
-
bennychains
- Phoca Member

- Posts: 12
- Joined: 08 Jun 2010, 06:45
Re: Watermark disappears in download
I still think that its probably not a complicated addition, in that you are only redirecting where the download button pulls from.
"The resolution to this is to make the download button pull the image from the /THUMBS directory rather than the original image. Rather than me have to go into the server and pull all those images down and then re-upload them again-- so that phoca gallery pulls the image from the right place."
I am not a coder so i cant say for sure what the difficulty level is of this task, but i have seen it in other apps, but phoca gallery all-in-all is the best so it would be nice to have that feature.
The resolutions as-it-is are the following:
1. Watermark before upload.
2. remove download button, let phoca gallery watermark it, and inform users to right-click to download the image.
thanks
"The resolution to this is to make the download button pull the image from the /THUMBS directory rather than the original image. Rather than me have to go into the server and pull all those images down and then re-upload them again-- so that phoca gallery pulls the image from the right place."
I am not a coder so i cant say for sure what the difficulty level is of this task, but i have seen it in other apps, but phoca gallery all-in-all is the best so it would be nice to have that feature.
The resolutions as-it-is are the following:
1. Watermark before upload.
2. remove download button, let phoca gallery watermark it, and inform users to right-click to download the image.
thanks
-
huseintaha
- Phoca Newbie

- Posts: 3
- Joined: 29 Jan 2013, 06:35
Re: Watermark disappears in download
sir please hear me
the image which contain watermark found in thumps folder for each category image u can change path for download instead of old path
please send to me the component file name which make watermark and i will edit it
the image which contain watermark found in thumps folder for each category image u can change path for download instead of old path
please send to me the component file name which make watermark and i will edit it
- Jan
- Phoca Hero

- Posts: 49125
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Watermark disappears in download
Hi, try to see the posts in this forum, mostly users have problems with a lot of thumbnails etc. so making new original image will be very difficult (to copy it on the server, to produce it which can be impossible for most servers as e.g. making new 3mb image on the server is memory demand 
You can hide the download button and of course you can write such sentences for users in the category description (to download images by right clicking) - this all is possible and can be easily done - in parameters and in category where you will set the description
huseintaha
The watermark is produced here:
administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php
Jan
You can hide the download button and of course you can write such sentences for users in the category description (to download images by right clicking) - this all is possible and can be easily done - in parameters and in category where you will set the description
huseintaha
The watermark is produced here:
administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php
Jan
If you find Phoca extensions useful, please support the project