 | |  | | | Classifieds Installation & Upgrades If you're having install or upgrade problems, post here. |
January 8th, 2006, 08:22 PM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2006
Posts: 22
| Watermark Issues
We're running GD2, I have the watermark file saved as a png file and uploaded to the image directory, the paths are specified in watermark.php and also in the Edit Options screen.
However, on the ad display page(s), the thumbnail shows up as a red x image, but clicking on the Supersize link - brings up the full size image and it DOES have the watermark in place.
Could this be due to the thumbnail size dimensions being smaller than the watermark image?
The thumbnail image DOES show up in the gallery - WITH the watermark (proportionally small) in place - but on the ad page itself - the picture is a red x image (in other words file not found)
Last edited by belindaj; January 8th, 2006 at 08:25 PM.
|
| |
January 8th, 2006, 08:55 PM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2006
Posts: 22
|
ok I still don't know why the one image is not working - but if I disable the "on the fly" option - it's now working properly.
Can you still tell what was wrong from what I have posted as an example?
|
| |
January 9th, 2006, 09:45 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
Can you please post real url's so I can see.
|
| |
January 9th, 2006, 11:12 AM
|
#5 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2006
Posts: 22
|
Unfortunately no I cannot because all the test/dummy ads have been deleted since we went live last night. (since removing the on-the-fly option made teh permanent watermark option work correctly I'm guessing)
|
| |
January 20th, 2006, 11:13 PM
|
#6 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2005
Posts: 11
|
hi
i have the samne problem! the on;ly diference is the problem was not solved when i cjhecked the on the fly option. the thumbnails are still showing up as a big red X on the product page but the supersize picture is showing up fine!
|
| |
January 20th, 2006, 11:42 PM
|
#7 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2005
Posts: 11
|
this defintely seems to be a bug. the response as the support is overwhelming on this forum. i feel that if we pay for something it should be a little more prompt than this in resolving our issues. although i understand many of the support on the forum is provided by the customers themselves.
i too solves this problem when i switched off on - the fly watermarking.
anyone for help?
|
| |
January 21st, 2006, 07:30 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
Indianboy you are postng an 12am on a friday evening.
On the fly watermarking requires you to edit the watermark.php file in your classifieds directory and place the path to the watermark image and the data directory within that file for it to work |
| |
January 21st, 2006, 07:49 AM
|
#9 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2005
Posts: 11
|
i wonder how could i have missed the so obvious solution :
" $srcfilename = "home/xbhp1/public_html/classifieds/data/$file";
$watermark = "home/xbhp1/public_html/classifieds/watermark.png"; "
i am getting the watermark! but the on the fly option doesnt work!
|
| |
January 21st, 2006, 07:59 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
The watermark needs to be absolute path which means URL
$watermark = "http://www.domain.com/classifieds/watermark.png";
Also note png watermarks are used with gd and gif with imagemagick
|
| |
January 21st, 2006, 08:45 AM
|
#11 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2005
Posts: 2
|
Hi
I have recently purchased PhotoPost classifieds 2.5 Beta and found the same problem. - Thumbnail not showing (red cross) and superzize image ok.
However, after many hours of editing paths and chaging settings I have just seemed to have solved the problem. My settings that work:
Global options.
- Imaging Integration (IM or GD) - SET TO GD2
Show Ads Options.
- Enable On-The-Fly Watermarks - SET TO NO
It would seem that 'Enable On-The-Fly Watermarks should be set to YES, but it worked for me setting this to NO.
Within the Watermark.php file, I have the paths set to /serverpathtofile/classifieds/data/ (serverpathfile being the path to your server which can be found when running phpinfo.php)
and /serverpathtofile/classifieds/yourwatermarkfile.png
Hope this helps
Colin
|
| |
January 21st, 2006, 10:06 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
As noted in my post above for on the fly watermarks to work
$srcfilename needs to be server path
$watermark needs to be absolute path (URL)
In both instances in this thread watermark is using the server path not url hense you get red x's. If you set $watermark to a url it will work.
Supersize images are not watermarked at all since they are only direct link to files that load in a new browser window.
|
| |
January 21st, 2006, 11:03 AM
|
#13 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2006
Posts: 20
|
I'm also having problem with this and have tried both GD2 setting using watermark.png and then tried imageMagick with watermark.gif. GD2 leaves the image blank while imageMagick show the image, but no watermark.
$srcfilename = "/usr/serverpath/vhosts/sitedomain.com/httpdocs/classifieds/data/$file";
$watermark = "http://www.sitedomain.com/classifieds/images/watermark.gif";
HELP!
|
| |
January 21st, 2006, 12:02 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
Well lets try a test here. In watermark.php add this line in bold Code: Content visible to verified customers only.
Last edited by Chuck S; January 21st, 2006 at 07:48 PM.
|
| |
January 21st, 2006, 07:37 PM
|
#15 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2006
Posts: 20
|
Thanks Chuck,
Is "require "pp-inc.php";" suppose to be on the top part of the file? It's not there on the file that I downloaded.
Added the line in bold didn't get the watermark to show up, but it did make it so that at least the images shows up using GD2 and PNG setting and on the fly on OFF.
But, still no watermark...
|
| |
January 21st, 2006, 07:49 PM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
Don't worry about the pp-inc.php line
You have a link to your install so I can see. You should get an error if or something.
Try setting both $srcfilename and $watermark as server paths now.
So we have determined your main issue was register globals are off and it did not know what $file was |
| |
January 21st, 2006, 09:27 PM
|
#17 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2006
Posts: 20
|
I got one image to work and then I don't know what happend, now it has this when I upload the image:
Warning: imagecreatefromjpeg(): '/serverpath/classfied/data/2/1blue.gif' is not a valid JPEG file in /serverpath/classifieds/image-inc.php on line 166
Warning: imagealphablending(): supplied argument is not a valid Image resource in /serverpath/classifieds/image-inc.php on line 167
Warning: imagecopy(): supplied argument is not a valid Image resource in /serverpath/classifieds/image-inc.php on line 173
Warning: imagejpeg(): supplied argument is not a valid Image resource in /serverpath/classifieds/image-inc.php on line 174
Warning: imagedestroy(): supplied argument is not a valid Image resource in /serverpath/classifieds/image-inc.php on line 176
Do I need to turn register globals ON?
$srcfilename and $watermark are as server paths
UPDATE: I just realized why that one image did work. It's in JPG format, so it's the gifs that aren't working....
Last edited by giggler; January 21st, 2006 at 09:38 PM.
|
| |
January 21st, 2006, 09:56 PM
|
#18 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
onthefly watermarks are not compatible with gif images correct.
|
| |
January 21st, 2006, 10:00 PM
|
#19 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2006
Posts: 20
|
GIF doesn't work when I set On the fly to NO as well. Is there a fix to add compatibility with gif?
|
| |
January 21st, 2006, 10:01 PM
|
#20 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
No there is not as on the fly only works with jpeg images.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | |
Similar Threads | | Thread | Thread Starter | Forum | Replies | Last Post | | Watermark - how to? | funkmiester | Photopost Pro How Do I...? | 7 | February 15th, 2006 06:48 PM | | Some issues | thejaxx | Bugs - vBulletin 3.5.X | 6 | July 20th, 2005 01:07 PM | | need help with Watermark | Elkaholic | Photopost Pro How Do I...? | 7 | February 25th, 2005 06:52 PM | | Various Issues | imported_ekool | Installs and Upgrade - vBulletin 3.0.X | 5 | January 23rd, 2005 10:33 PM | | A few issues with 4.8d | PranK | Photopost Pro Installation & Upgrades | 12 | August 27th, 2004 10:57 AM | All times are GMT -5. The time now is 07:18 AM. | |