Support thread for the Image Magic contribution
#301
Posted 07 February 2006 - 04:24 PM
I have had a look at your site. This first thing I note is that you definitely need the thumbnailing functionality of i/m. Your homepage alone is serving maybe 2MB of images. This would otherwise kill your site speed and cost a fortune in bandwidth.
The second thing is that image magic is not being activated at all. (right click image - no imagemagic.php in properties)
As to why, I suggest the following
1. Verify the installation is correct
2. Read the readme thouroughly
3. Likewise this thread.
This is usually the simplest problem to fix and 1,2 & 3 should sort it out. If not post again.
Tom
On-the-fly thumbnails, watermarks and image processing
#302
Posted 07 February 2006 - 04:25 PM
appreciate your contrib, it works very well - I've been able to get everything to work at this point and and now trying some custom mods to work with other contribs I like. thanks for coding it!
Scott
osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox
Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox
#303
Posted 07 February 2006 - 04:30 PM
Glad to hear it's working well for you.
Tom
Phosky, on Feb 7 2006, 04:23 PM, said:
The possibility of upload a new version for anybody is for all the contributions. You are NOT special.
For example, I need your contrib, but as you are so selfish, I'll search for other contrib that make the same as yours.
Oh do piss off!
Edited by tomjmul, 07 February 2006 - 04:34 PM.
On-the-fly thumbnails, watermarks and image processing
#304
Posted 07 February 2006 - 04:33 PM
Forums, the perfect place to practice my English. From Spain.
#305
Posted 07 February 2006 - 05:06 PM
tomjmul, on Feb 6 2006, 07:52 PM, said:
Love the site!!!
The problem is that you are not using the standard popup_image.php script to handle your popup images.
I/m looks for this filename in the url in order to detect a pop up image and do its thing.
I'm not sure what you are using there, but it seems like some sort of custom html page for each popup.
The way around this is not at all straigtforward, so unless you wish to radically rethink your way of handling pop-ups, then unfortunately you won't be able to use any functions of i/m on these images
Tom
To be honest, I don't like the popups, period. I prefer using 'target="_blank"' because it isn't as messy (yeah, I know it's not strict and FireFox users will hate my guts for not being tabular, but tough noogies!). Is there anyway to pass on a watermark to the base picture?
#306
Posted 07 February 2006 - 05:51 PM
crowchick, on Feb 7 2006, 05:06 PM, said:
Well yes there is, but on initial thoughts, you would need to make sure of 2 things
1. Your custom pages use the tep_image() function to display the images
2. You manage to cram the string 'popup_image.php' somewhere into your url. For instance this is a url for one of these popups:
http://www.subcultureofone.com/shop/brief-history-grifonton-mini-comic-pi-40.html?invis=4If, after doing step 1, you get the url to be something like:
http://www.subcultureofone.com/shop/brief-history-grifonton-mini-comic-pi-40.html?invis=4&page=popup_image.phpi/m will treat this as an ordinary popup page and add your watermarks. However you would need to make sure the added bit goes right through your slide show, IE when the visitor clicks the right or left arrows the 'page=popup_image.php' is also added to those url also.
Tom
Edited by tomjmul, 07 February 2006 - 05:55 PM.
On-the-fly thumbnails, watermarks and image processing
#307
Posted 07 February 2006 - 06:14 PM
dreampho, on Feb 7 2006, 11:25 PM, said:
As for the watermarks... the URL for my site is http://www.dream-store.co.uk/estore .
I have set yes to all the options and none of them have a watermark. I have set the watermark to a .png file. I have even tried using the text watermark to see if that will work but that doesnt either.
Thanks
Chris
seen your site, great pic you have there...
i also have that prob at first but mine is because carelessness which i did not create a folder called thumbnails or whatever as configured in your admin panel..
before creating the folder, i'm getting all broken link images but after created the folder with 777 mod, pictures start to come out and so does the watermark. try double checking. just a thought of mine.
for all who are still facing problem installing this great contribution..bear in mind...READ THE README FILES FROM A-Z. DON'T JUST SKIP TO THE INSTALLATION PART.
nice~~
p/s: tom..i read that someone is piss off with you? what's his problem? hehehe
#308
Posted 07 February 2006 - 07:48 PM
e_piz, on Feb 7 2006, 06:14 PM, said:
His problem, it would seem, is that his brain would outwardly appear to have all the logic equivilent to that of a catepillar say. It has, through, possibly sub-catepillar reasoning formed the opinion that I actually care whether or not he uses image magic on his website. And thus, it has additionally formed the intent to take both the time and trouble to come here and let me know it's decision.
On-the-fly thumbnails, watermarks and image processing
#309
Posted 07 February 2006 - 09:31 PM
Installed your contrib successfully in my local server (Windoz with Apache) but, something is wrong with GIF images.
All the JPGs are shown correctly, but GIFs are not. (See screenshot below), just appear as blank box.
Click for Screenshot
Changing all GIFs to JPGs is not solution at the moment, since I got more than 2000 images (mixed)
Any idea?
Thanks
Edited by expert, 07 February 2006 - 09:34 PM.
#310
Posted 07 February 2006 - 11:40 PM
On-the-fly thumbnails, watermarks and image processing
#311
Posted 08 February 2006 - 01:16 AM
#312
Posted 08 February 2006 - 03:16 AM
First off, thank God you're back...I would have wasted at least another week trying to get the text watermark to work ;-).
Thanks for the help last evening especially.
I'll let the others know now what issues I ran into , in case others come across the same problems, and actually read the posts :-).
First off the "/" in front of the "includes" in imagemagic.php lines Hallmarc was referring to was the problem I also had. To fix it originally (when Tom was AWOL) I hacked around in my configure.php file and managed to get the image watermark to work. But, the real problem was that this line in configure.php :
define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));
should be as per below, - see the trailing /
define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']).'/');
That solved my first problem...it gave me small, category, and heading graghic watermarks.
I still did not have popup watermarks. Thanks to Tom, he found that since I had added the "More pics" contribution which modified my popup_image.php file, the mod for "More pics" was causing my graphic popup watermark to fail. The way to resolve it was to revert to the standard popup_image.php file. So no "More pics" for me , at least til someone comes up with a fix for it.
My final problem was that my text watermarks broke every one of my images when enabled. Tom did some testing and found I was missing a required GD functionality on my server, but I'll have to let Tom specify the details of that...bottom line I don't have textwatermarks to use on my site...which is ok as I have the graphics watrermark working, which was what I wanted...all the other features work fine.
Tom, thanks again...and let me know your link details...great job....good luck at school
Mark
#313
Posted 08 February 2006 - 03:40 AM
Yes I remember the trouble you posted about the watermarking. You are a soldier my friend. Determination is definitely one of your stronger qualities. Read through this thread again, I know I found the instructions for getting the watermarking to work with more pics contribution. I also remember having to find the original contribution for more pics before WYSIWYG was added to it and I also remember having to remove a lot of the sections in the more pics contribution so that I only uploaded one image for each of the additional pics I wanted and let Image Magic do the rest. you can see a sample of this on my test site. PM me and I will send you the link.
Edited by HallMarc, 08 February 2006 - 03:41 AM.
Multi Vendor Shipping
BAXGlobal Shipping Module
Add Weight To Product Attributes
UPS XML Rates and Services
Packaging data for UPS XML
Innovative Gateway Solutions
Image Magic - On-the-fly thumbnails, watermarks and image processing
#314
Posted 08 February 2006 - 06:05 AM
sportscardszone, on Feb 8 2006, 01:16 AM, said:
Chris, PM your instant messaging details and I will be in touch to help you sort this
Quote
Yes indeed, we came across a problem that I had not anticipated. It would seem that Mark has a version of the GD library installed on his host which does not have the freetype libraries linked in. This would prevent text watermarking ever working for him.
Tom
Edited by tomjmul, 08 February 2006 - 06:08 AM.
On-the-fly thumbnails, watermarks and image processing
#315
Posted 08 February 2006 - 10:18 AM
tomjmul, on Feb 7 2006, 04:24 PM, said:
I have had a look at your site. This first thing I note is that you definitely need the thumbnailing functionality of i/m. Your homepage alone is serving maybe 2MB of images. This would otherwise kill your site speed and cost a fortune in bandwidth.
The second thing is that image magic is not being activated at all. (right click image - no imagemagic.php in properties)
As to why, I suggest the following
1. Verify the installation is correct
2. Read the readme thouroughly
3. Likewise this thread.
This is usually the simplest problem to fix and 1,2 & 3 should sort it out. If not post again.
Tom
Right so I have checked everything if I type in the address for /imagemagic.php it shows these errors...
Warning: Division by zero in /home/qeanrknr/public_html/estore/imagemagic.php on line 136
Warning: Cannot modify header information - headers already sent by (output started at /home/qeanrknr/public_html/estore/imagemagic.php:136) in /home/qeanrknr/public_html/estore/imagemagic.php on line 478
Warning: Cannot modify header information - headers already sent by (output started at /home/qeanrknr/public_html/estore/imagemagic.php:136) in /home/qeanrknr/public_html/estore/imagemagic.php on line 479
Warning: Cannot modify header information - headers already sent by (output started at /home/qeanrknr/public_html/estore/imagemagic.php:136) in /home/qeanrknr/public_html/estore/imagemagic.php on line 480
Any ideas?
Thanks
#316
Posted 08 February 2006 - 11:39 AM
Check in configure.php that you have a trailing slash / on the end of your DIR_FS_CATALOG definition.
Tom
On-the-fly thumbnails, watermarks and image processing
#317
Posted 08 February 2006 - 11:43 AM
define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']).'/');
but still aint working.
Any more ideas?
#318
Posted 08 February 2006 - 11:51 AM
Fatal error: Call to undefined function: fail() in /home/qeanrknr/public_html/estore/imagemagic.php on line 25
in imagemagic.php
Any ideas?
#319
Posted 08 February 2006 - 12:11 PM
Warning: Division by zero in /home/qeanrknr/public_html/estore/imagemagic.php on line 136
Warning: Cannot modify header information - headers already sent by (output started at /home/qeanrknr/public_html/estore/imagemagic.php:136) in /home/qeanrknr/public_html/estore/imagemagic.php on line 478
Warning: Cannot modify header information - headers already sent by (output started at /home/qeanrknr/public_html/estore/imagemagic.php:136) in /home/qeanrknr/public_html/estore/imagemagic.php on line 479
Warning: Cannot modify header information - headers already sent by (output started at /home/qeanrknr/public_html/estore/imagemagic.php:136) in /home/qeanrknr/public_html/estore/imagemagic.php on line 480
#320
Posted 08 February 2006 - 12:20 PM
dreampho, on Feb 8 2006, 12:11 PM, said:
Warning: Division by zero in /home/qeanrknr/public_html/estore/imagemagic.php on line 136
Warning: Cannot modify header information - headers already sent by (output started at /home/qeanrknr/public_html/estore/imagemagic.php:136) in /home/qeanrknr/public_html/estore/imagemagic.php on line 478
Warning: Cannot modify header information - headers already sent by (output started at /home/qeanrknr/public_html/estore/imagemagic.php:136) in /home/qeanrknr/public_html/estore/imagemagic.php on line 479
Warning: Cannot modify header information - headers already sent by (output started at /home/qeanrknr/public_html/estore/imagemagic.php:136) in /home/qeanrknr/public_html/estore/imagemagic.php on line 480
Well guess what? The solution is on this thread
Tom
Edited by tomjmul, 08 February 2006 - 12:21 PM.
On-the-fly thumbnails, watermarks and image processing









