![]() |
All programs installed, PNG watermark still doesn't work I had my host install all the required programs that are mentioned on the imagemagick installation page here at photopost.com When I changed the path to imagemagick and uploaded a test image, it still doesn't put my watermark in png format onto the uploaded images. What else needs to be done to get my png watermark working on my photopost software? I have changed all the paths in the admin CP to what they are suppose to be. My watermark is located right where I specify in my photopost software. The site was moved from my old host and it was working before then. Are there any specific switched or other server items that need to be changed in order to allow imagemagick to run png watermarks, or watermarks at all? Please let me know, my site is at a standstill until I fix this problem. Thanks. |
Hey, Johnny. Did you make sure that watermark feature was turned on in the Admin options (not just the paths)? If you had it working before on your other server, then I would say the issue has to be either in the config or the IM installation. Does IM make the thumbnails properly? |
Yes, thumbnails for images appear properly. I double checked the admin CP settings and "Enable watermarking of photos with overlay image?" is set to yes and I ran "locate" to find my watermark file on my server in SSH and it is the same path that I had in the gallery options section already. The images and their thumbnails all look fine, they just don't have the watermark on them. In the config section of the admin CP I have the path to mogrify correct (ran locate in SSH), I have the paths to JHEAD and JPEGTRAN inserted. I have imagemagick selected as the "Thumbnail Generator". I think that's all that's suppose to be set isn't it? I know when I firsted moved to this new server I had to re-CHMOD everything again. I did everything on the list: photopost images (chmod 755) uploads (chmod 777) help (chmod 755) data (chmod 777) 1 (chmod 777) 2 (chmod 777) 500 (chmod 777) languages (chmod 755) (all subdirectories, too) english (chmod 755) and I also got help that I had to re-CHMOD every subdirectory under the data directory, which wasn't mentioned, but I got help from another person here at the forums. Is there anything else that I missed? Do you have any ideas on what I can check or any questions I can ask my host to double check that they did something right? |
change the top of you watermark.php to this: error_reporting(E_ALL & ~E_NOTICE); header("Content-Type: image/jpeg"); // in order for this script to work properly, you need to set the two variables below // $srcfilename needs to have the correct path to your "data" directory (leave $file as it is) // $watermark should be an absolute path to the PNG file you want to use for your watermark // PNG file should be a png-24 with a transparency layer $filex = $_GET['file']; $srcfilename = "c:/website/forum/photopost/data/$filex"; -- I had a problem with undefined vars.This fixed my problem. Otherwise, view the source of the page which does not show the watermark, find the URL which includes watermark.php and load that directly in a borwser. See what errors you get. |
| All times are GMT -5. The time now is 08:25 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0