Jump to content
Sign in to follow this  
tomjmul

Support thread for the Image Magic contribution

Recommended Posts

You have got to be kidding me... It was the PHP error reporting setting.

 

Changed it from:

error_reporting = E_ALL; display all errors, warnings and notices

 

To this:

error_reporting = E_ALL & ~E_NOTICE

 

Now it works great. What a relief.

 

 

Thank You VERY MUCH, yatahaze!

 

I had the same Problem (show the Images after refresh) and with changes in php.ini now it works. :thumbsup:

I cant believe. :)

 

Greatings from Germany,

TiloT

Share this post


Link to post
Share on other sites
Vines,

glad to see you're still here - i'm planning in a week or so to start a new thread concerning the dev of the 'Images & Media' beta contrib - even though i'll not be getting to making it till late this year or early next, i think a discusion of desired features and php intergration, etc. would prove beneficial - would you like me to send you a private message informing of when/where i start such thread or do you think i should merely announce it here in this thread?

Yes, please. I will be very interested, especially in media (video) capabilities. Look forward to it. I can't offer much by way of php skill, but I can definitely add some stuff related to media.

yup - you got me goin on this topic - thanks - i announced the plan for the dream at dev of Media Monster v0.0 Beta - hopefully the beta contrib will be finished by spring and refined to the point that within a years time nobody will have to stumble their way along with Image Magic...

Share this post


Link to post
Share on other sites

Hi there, when I try to install image magic, I have a basic problem with the sql entry - the 'configuration id' '3502' is already in use so I get a "#1046 duplicate entry" error. Essentially Another contribution is already using the unique id's that the sql file is trying to write to.

 

What I would like to know is, if I change the configuration id values in the image magic install sql file (and all the other configuraiton id's that follow), will the install still work? I would test it but I don't have the luxury of crashing the site as I am supposed to be finishing this site up asap for the owner.

 

Any help would be greatly appreciated!

 

Thanx, mo

Share this post


Link to post
Share on other sites
I would test it but I don't have the luxury of crashing the site as I am supposed to be finishing this site up asap for the owner.

I hate to say it but in all honesty, being that you're under the gun (so to speak), I would suggest not playing with this contrib - check out this thread - check out the recuring issues and how many folks got these problems - check out how much time it takes to resolve such issues - and how many never get them resolved - I really don't want to hit this wonderful offering this hard - but at the same time I want to help you the best I can (given my perspective and expirience)..

 

if you need something like this - perhaps you could get away with a combination of other contribs - like mo pics / on the fly images / watermarking (if needed) - chances are you could get three contribs installed and up within a small percentage of the time it take to get Image Magic woking properly...

 

sorry :(

Share this post


Link to post
Share on other sites
What I would like to know is, if I change the configuration id values in the image magic install sql file (and all the other configuraiton id's that follow), will the install still work? I would test it but I don't have the luxury of crashing the site as I am supposed to be finishing this site up asap for the owner.

I'ld say it's worth a try - provided you backup backup backup!

 

There's a similar thing mentioned in an earlier post on this thread - here, and the posts following it.

Share this post


Link to post
Share on other sites

Hi Fellas - great contrib! I have one small problem - that being that my URLs for my images are truncated when IM is enabled...

 

Instead of -

http://siinisk060001/catalog/imagemagic.ph...-263-334567.jpg

 

they will read something like -

http://siinisk060001/catalog/imagemagic.ph.../Tools/253-263-

 

But they are never exactly the same length as far as I can tell, so I don't think it's a string issue... Any suggestions?

 

The thumbnails are being created, it's just that they are not being displayed. I don't have the site up and running on an Internet server where you could see it yet - sorry :(

Share this post


Link to post
Share on other sites

I notice that it is always cutting them off at a hyphen... Unfortunately sometimes it's the first hyphen in the file name, and sometimes the second,... I'm not an expert at PHP yet, mostly ASP/JavaScript etc., so I'm at a bit of a loss :(

 

Any suggestions you might have would be appreciated tremendously!

Share this post


Link to post
Share on other sites

SaratogaSupply, you can perform a comparision of server software, php version, and anything else you think might be a factor -- i'm sure it's easy enough to get such info from XAMPP - as well, such info should be accessible for your webserver...

 

and oh yeah -- super thanks for the info so far (good stuff)

Edited by squeekit

Share this post


Link to post
Share on other sites

I am installing this for a friends cart now (because it works on mine)

 

but I am unable to get the images to show

 

I have added the thumbnails/images folder and they are both CHMOD 777.

All I get for the images is the following error message

"Error

File path incorrect

check configure.php"

 

I have checked that and it seem OK.

I checked the properties of the image and got the following

 

http://mysite.com/shoppingcart/imagemagic.php?img=4uHJzNfUn%2BTp1szY1tju59zR14%2Fa6ds%3D&w=76&h=90&page=

 

There are no spaces in the filenames.

 

The only differences between this site and my own one (where it works) are differnet servers and the fact that mine is in the root directory and his is in a differnent one (shoppingcart)

 

I have tried creating the thumbnails folder in the rood folder as well as the shoppingcart folder, but neither worked.

 

I did double check the installation of this contrib and it all looks OK.

 

If I turn off imagemagic all the pictures work again

 

Any suggestions

Edited by DeadDingo

Share this post


Link to post
Share on other sites

I have now managed to get rid of the error message, but imagmagic seems to be doing nothing at all. The images look the same with or with out it turned on. Also no thumbnails are appearing in the /thumbnails/images folder.

Share this post


Link to post
Share on other sites
I have now managed to get rid of the error message, but imagmagic seems to be doing nothing at all. The images look the same with or with out it turned on. Also no thumbnails are appearing in the /thumbnails/images folder.

Verify if you have a includes/local/configure.php. File imagemagic.php does this following check

if (file_exists('includes/local/configure.php')) {

//use local dev params if available

include('includes/local/configure.php');

} else {

// include server parameters

require('includes/configure.php');

}

If it finds that you have a includes/local/configure.php then it will use the instead of includes/configure.php. The issue is that includes/local/configure.php might not have all the directory paths like includes/configure.php does. What I did was just comment out

/*if (file_exists('includes/local/configure.php')) {

//use local dev params if available

include('includes/local/configure.php');

} else {

// include server parameters

require('includes/configure.php');

}*/

and just used

// include server parameters

require('includes/configure.php');

after that change /thumbnails/images had the images.

-Marizka

Share this post


Link to post
Share on other sites

Thanks for the quick response

 

I did not have a includes/local/configure.php file but I have commented that out anyway, but because I had put the configure file back to how it was originally, I get the original error messsage again.

 

 

For some reason the original person setting up this shop has added

 

DIR_ROOT_DEFAULT. to the define images and includes areas in the configure.php files

 

  define('DIR_WS_IMAGES', DIR_ROOT_DEFAULT.'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_INCLUDES', DIR_ROOT_DEFAULT . 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

This DIR_ROOT_DEFAULT. appears in a total of 11 pages and I have no idea why. I cant find a mention of it this forum at all, and it is not in my shop either (and image magic works there)

Share this post


Link to post
Share on other sites
Thanks for the quick response

 

I did not have a includes/local/configure.php file but I have commented that out anyway, but because I had put the configure file back to how it was originally, I get the original error messsage again.

 

 

For some reason the original person setting up this shop has added

 

DIR_ROOT_DEFAULT. to the define images and includes areas in the configure.php files

 

	define('DIR_WS_IMAGES', DIR_ROOT_DEFAULT.'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_INCLUDES', DIR_ROOT_DEFAULT . 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

This DIR_ROOT_DEFAULT. appears in a total of 11 pages and I have no idea why. I cant find a mention of it this forum at all, and it is not in my shop either (and image magic works there)

I did not have a includes/local/configure.php file but I have commented that out anyway
but you did include this code?

// include server parameters

require('includes/configure.php');

You still need to include the configure.php. The DIR_ROOT_DEFAULT looks to be something custom to this site. In imagemagic.php the directory is change by this code chdir (DIR_FS_CATALOG); The definition for DIR_FS_CATALOG is in includes/configure.php verify that path to see if the image folder matches that same path directory.

-Marizka

Share this post


Link to post
Share on other sites
Hi, I tried to open an image in your site, and it worsk, even though its very slow. You have to wait a little when the popup opens. It seems like the image path is not correct, cause I do not see the picture, just the pictureframe with the white page and red cross, if you know what I mean. If the path is corrected, so that it finds the image, it should show, but VERY slow.

 

 

I know. The image doesn't load, that's the problem. Instead, I get the outline with a red X. With imagemagic off, it works fine. (Even though it passes through the ImageMagic code.) When I turn imagemagic on, it is extremely slow, and I never see an image.

Share this post


Link to post
Share on other sites
QUOTE(frenchflies @ Sep 2 2006, 07:31 PM) *

 

I have Image magic 1.5 and More_Pics_6 installed. there is one problem. when I am in a product_info page, and the same product is in the specials box. The size of the Product image in the specials box is wrong. It should be the SMALL_IMAGE size, but instead, it's now shown as PRODUCT_INFO_IMAGE size!

 

the problem accur only if I am in the product info page and same product is in the specials box!!

 

Please anybody, help!!

 

I have this same problem with the specials box showing full size images on the product info page when the products are the same. I have not been able to identify the problem.

 

Anyone else?

 

FYI - I was having this problem and it disappeared after installing and using STS to form the pages. Can't say why, but it might work for you. BTW - if you are not using STS, I highly recommend it. It seems a lot more complicated than it is. It's actually simple to install, but for most when it is activated there will be some layout issues. These are easily corrected.


----------------------------------------------------

Share this post


Link to post
Share on other sites

Hi,

 

1. Could someone tell me please why some of my images do not expand to their maximum like the rest images ?? (all the other expand good ! ) It happens when I click on "enlarge".

 

What I need to modify ?

 

2. Why my site pages work so slowly after I installed "image magic" ?? :huh:

 

I will be grateful for any help... Thank you.

 

Regards,

Elazar

Share this post


Link to post
Share on other sites

Hi, and thanks a lot for this graphic stack for osc !

Unfortunately, i tried for hours to run on my site, and nothing works, except the language picture who contains the imagemagik.php in his url .

I've created the folder with 777 permission, build two times my html_output file, changed all the params in admin config, but nothing wants to operate .

If someone have two minutes to help me, that would be very kind and appreciated !

I'm a french manufacturer of electric bike with lithium battery, and my eshop is :

www.velectris.com/catalog

As you can see, my thumbails are "jaggy" and not imagemagick generated.... :blush:

Share this post


Link to post
Share on other sites

HHHHHEEEEEEEELLLLLLLPPPPPPPP

 

Image magic has suddenly stopped working :'(

 

I haven't changed anything, but i wouldn't be surprised if something at the hosting company has as they are complete muppets.

 

Basically no images are showing, unless i turn off imagemagic, this has been working for nearly a year with no problems :'( :'(

 

Any ideas?

 

cheers

Share this post


Link to post
Share on other sites

Hi Tom

 

I just thought I would add a post here to say great contrib. It has improved our site to no end. To say that it is impressive is an understatement. Thanks for this excellent contrib! :thumbsup:

 

Many thanks!

Scott

Share this post


Link to post
Share on other sites

I have added this mod, and with the master switch off, all is well. With it on, the images disappear...

 

test1.png

 

The properties for this image are

 

http://www.comclusive.co.uk/shop/imagemagic.php?img=4tPW1dDslcWenKqYpp%2Bj2KmlnpuplqihysmWpZ6bqZalnNXpzQ%3D%3D&w=100&h=75&page=prod_info

 

The images have been stored in the thumbnails folder as

 

P0096295_C0000036_P0000000.jpg.thumb_100x100_5c0cd4b608dce8876a7563e1225335fc.jp

g

 

And when clicked, the enlarged picture does not show either.

 

Any ideas? gd is enabled.

Share this post


Link to post
Share on other sites
Have they changed anything with the PHP.ini (turned off GD library support)

 

they've upgraded to mysql 5 without telling me, any ideas what i need to do to fix it?

Share this post


Link to post
Share on other sites

hi. i have just a straight question about the contribution here:

 

I'd prefer to have all the thumbnails stored on my server rather then calculating the images on each page load.

 

is this possibile?

how?

just set "Auto Clean Cache = false", or should i look somewhere else?

thanks!

jacopo


Expresionario.com | Pura Sub-cultura!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×