Rachael w. Posted December 11, 2006 Share Posted December 11, 2006 New problem, the left right arrows in my popup are not showing and a button or two here or there is missing. How do I fix this? Wow, answering my own questions this evening! It seems to be that they arent showing up because they are gifs...now to figure out how toget image magic to ignore the gifs and let them show up. Quote Link to comment Share on other sites More sharing options...
psynaptic Posted December 11, 2006 Share Posted December 11, 2006 Wow, answering my own questions this evening! It seems to be that they arent showing up because they are gifs...now to figure out how toget image magic to ignore the gifs and let them show up. You could try what I recommended a few posts ago by adding a line to catalog/includes/functions/html_output.php: if (strstr($src, '.gif')) $calculate = false; I think this will stop all your gifs being processed. Rich Quote My Profile | Contribs I like most: 'On The Fly' Auto Thumbnailer, Active Countries, Header Tags Controller, Ultimate SEO URLs, UK Based osC, UK Postcode Validation, Open Featured Sets, UK Postcode Based Carrier Shipping Link to comment Share on other sites More sharing options...
Rachael w. Posted December 11, 2006 Share Posted December 11, 2006 Thanks Rich, I did end up using that code, and finaly got it working. I had hoped there was a way to just have it not process any gifs rather than doing each one individually. I put the code in catalog/includes/functions/html_output.php starting about line 110 //Prevent image magic from processing this file if (strstr($src, '1a45.gif')) $calculate = false; Quote Link to comment Share on other sites More sharing options...
Guest Posted December 11, 2006 Share Posted December 11, 2006 For those of you who have problem displaying images with this contribution, here is a tip: look the html code where the image should be generated. It should be something like this: <img src="imagemagic.php?img=images/dvd/theres_something_about_mary.gif&w=75&h=60&page=" ... Copy the URL that you can see in the src, and paste it in the address bar of your browser, for example www.mystore.com/catalog/imagemagic.php?img=images/dvd/theres_something_about_mary.gif&w=75&h=60&page= And maybe... you'll see some php errors that tells you why this is not working. Note that the page= followed by nothing is not an error. Just did like this today and found some php warnings in catalog/imagemagic.php, so I placed a new release on the contribution page and I hope it'll help some people out there. - Rigadin Quote Link to comment Share on other sites More sharing options...
Guest Posted December 11, 2006 Share Posted December 11, 2006 I was so happy to make this contribution working that I installed it on another project and got in trouble again. So... I made a new version 1.17 where all the php notes and warnings in imagemagic.php are ignored. It helps. The second modification I made, in the same file, is to include configure.php in the same way as it is in application_top.php, otherwise you can have some problems if you use includes/local/configure.php to set some of the constants but not all. (Check that if you have some errors with DB connection for example). This contribution works great and is easy to install. - Rigadin Quote Link to comment Share on other sites More sharing options...
Rachael w. Posted December 11, 2006 Share Posted December 11, 2006 Duh, sorry rich, it does work on all the gifs just the way you had it. Sorry, I was being a bit thick. Quote Link to comment Share on other sites More sharing options...
HelleM Posted December 14, 2006 Share Posted December 14, 2006 Which version should I download? There are almost too many fixes / updates etc. Helle ??? Quote Link to comment Share on other sites More sharing options...
HelleM Posted December 14, 2006 Share Posted December 14, 2006 ....and can it support more than one photo pr. item? I can upload the images to sub folders of images/whateverfolder - right?? Helle *again* Quote Link to comment Share on other sites More sharing options...
i2Paq Posted December 15, 2006 Share Posted December 15, 2006 I was so happy to make this contribution working that I installed it on another project and got in trouble again. So... I made a new version 1.17 where all the php notes and warnings in imagemagic.php are ignored. It helps. The second modification I made, in the same file, is to include configure.php in the same way as it is in application_top.php, otherwise you can have some problems if you use includes/local/configure.php to set some of the constants but not all. (Check that if you have some errors with DB connection for example). This contribution works great and is easy to install. - Rigadin Please do read the reply that the original builder AND maintainer wrote when he updated this (his) great contribution today! <_< @tomjmul, thanks for this great contribution! :thumbsup: I've a small question for you, how do I upgrade from version V1.15 tomjmul 17 May 2006? Just follow the install instructions and run the sql? Thanks again and please do ignore those who do not respect. Quote Norman in 't Veldt Moderator osCommerce The Netherlands Link to comment Share on other sites More sharing options...
i2Paq Posted December 15, 2006 Share Posted December 15, 2006 Which version should I download? There are almost too many fixes / updates etc. Helle ??? Download the 1.16 version posted on 15 Dec 2006 by the original builder tomjmul. Please ignore the updates or so called fixes posted by others! Quote Norman in 't Veldt Moderator osCommerce The Netherlands Link to comment Share on other sites More sharing options...
tomjmul Posted December 15, 2006 Author Share Posted December 15, 2006 Please do read the reply that the original builder AND maintainer wrote when he updated this (his) great contribution today! <_< @tomjmul, thanks for this great contribution! :thumbsup: I've a small question for you, how do I upgrade from version V1.15 tomjmul 17 May 2006? Just follow the install instructions and run the sql? Thanks again and please do ignore those who do not respect. No, just replace the imagemagic.php file - simple eh? And thanks for your support. Tom Quote OSC Image Magic On-the-fly thumbnails, watermarks and image processing Link to comment Share on other sites More sharing options...
tomjmul Posted December 15, 2006 Author Share Posted December 15, 2006 ....and can it support more than one photo pr. item?I can upload the images to sub folders of images/whateverfolder - right?? Helle *again* Yes, it can work quite well in combination with the mopics contribution to allow for multiple images per product. If my memory serves me correctly, there is one small change needed to mopics, to use the tep_image() function instead of writing the image tags directly. Anyway, I know the complete solution is in this forum somewhere. Tom Quote OSC Image Magic On-the-fly thumbnails, watermarks and image processing Link to comment Share on other sites More sharing options...
i2Paq Posted December 16, 2006 Share Posted December 16, 2006 No, just replace the imagemagic.php file - simple eh? And thanks for your support. Tom Thanks! :thumbsup: But I see that your contribution is no longer found among the contributions? :'( Quote Norman in 't Veldt Moderator osCommerce The Netherlands Link to comment Share on other sites More sharing options...
tomjmul Posted December 16, 2006 Author Share Posted December 16, 2006 (edited) Norman, Yes, it would appear that they have removed it. :D I guess they didn't like the comments in my update. You know, I'm kind of happy that they have. But the fact that my contribution has a very large user base in the oscommerce community and is helping out thousands of oscommerce store owners obviously means nothing to them. From what I have seen in the past the whole oscommerce community thing is based upon bullyboy tactics. If you are ever bored, check into what they done with the guy who wrote the original paypal payment module. The only reason why oscommerce is popular is because it was one of the first php-based carts out. The code-base itself is a complete mess and it must be one of the least developed open source projects that has such a high user-base. I think the core team would rather fly off to the trade shows and conventions than work on the next version of oscommerce, or even tidy up the mess that is. There are a lot of other contribution developers very unhappy about the contribution system they have in place which allows anyone who feels like it to hack a contribution to pieces and post a new version. No version control, peer review nothing. It is a joke. Anyway, to anyone else who came here looking for image magic, it is no longer available because I dared ask that development and updates be kept as a team effort. It you are pissed off, the webmaster's email address is at the bottom of the page. Tom Edited December 16, 2006 by tomjmul Quote OSC Image Magic On-the-fly thumbnails, watermarks and image processing Link to comment Share on other sites More sharing options...
tomjmul Posted December 16, 2006 Author Share Posted December 16, 2006 I will make image magic available for download from my website at www.celtware.com for the near future, until that is I decide what to do with it. It is not to be packaged and re-uploaded to this site. Quote OSC Image Magic On-the-fly thumbnails, watermarks and image processing Link to comment Share on other sites More sharing options...
Guest Posted December 16, 2006 Share Posted December 16, 2006 I tried this contribution more than 2 months ago and it did not work for me. I looked in this forum but could not find any solution, only other people with problems. I forgot this contribution until few days ago and found the solution. I was not the only one with this problem, so I posted a new version on the osCommerce website. I'm sorry if I have disturbed the community by uploading a new version of this great contribution to the osCommerce website. I posted also the copyrighted install instructions because they were on my HD together with the other files, I apologize to the author for this mistake. The contribution is not anymore on the osCommerce website and this is how it should be if the author does not want any disturbance in his code. I agree with him concerning the osC project in general. Anyway, I propose to the author to look into my small modifications, even he supposed I introduced new bugs, because even the last "official" version is not working, for me, without these small modifications. - Rigadin Quote Link to comment Share on other sites More sharing options...
tomjmul Posted December 16, 2006 Author Share Posted December 16, 2006 Hey Chris, Don't sweat it, this wasn't you. It was the oscommerce "team", their arrogance and their dictatorial way of running this website. It is ok for them to control how their code is used and community run, but not for anyone else. Now, notwithstanding your apology, which I accept, I do want to make some points. Regards your modifications, I never once said that you introduced new bugs, or even refered to you. What I said was that the general actions of anyone uploading a new version without first checking with the person most experienced with the contribution and still actively working on it (In this case, the author) was no way for a project....any project to remain sustainable. What I have found in the past is that because i/m uses the filesystem on the remote server it is operating on, something which probobly 99.5% of all other contribs do not do, the default configuration does not work for absolutely everyone without a slight tweak here or there. For example, some setups have a trailing slash for the store's root directory in their configure.php whilst the majority don't. Now, I have also experienced in the past, that people will make this tweak, think that because it works for them it works for everyone and then upload a new 'fixed' version. Which of course causes a world of pain for most everyone else and fills up my pm box within a day. Anyway, I propose to the author to look into my small modifications, even he supposed I introduced new bugs, because even the last "official" version is not working, for me, without these small modifications. And what about over 3,000 stores it is working for? Is this not a slight "centre of universe" type mentality? Can you tell me, how I am supposed to keep any sort of version control, introduce any new features into, or support code which I am no longer intimate with, and which people have hacked and reversioned of their own accord? It is impossible. I consider myself to be a programmer, not a hacker. Anything I do, I like to be done right. I think that people who use my contribution have benefited from this attitude. Image magic wasn't going to be just another hack put out and to hell with it, it was going to be improved upon. There are many, many professional (as opposed to amateur oportunistic) e-shops, with a lot of investment in them using image magic, and every day people get in touch with positive feedback. The contribution is not anymore on the osCommerce website and this is how it should be if the author does not want any disturbance in his code. I agree with him concerning the osC project in general. That is a very selfish attitude and I do not agree. If an author spends as much time as I did writing a piece of software and keeping it current, their views as to the on-going management of the project should be taken into consideration. That my friend is the spirit of open source software. If it is your view that the thousands of existing users of image magic and the potential thousands more should be denied access to new versions and updates, just because I asked that my code not be hacked to pieces, then maybe you should reconsider. I don't see the oscommerce code base put up like the contributions are, for anyone to hack and reupload for general release. I think your views might be formed by the fact that your actions precipitated the removal of image magic, but they shouldn't and you should take another look at the issue from an unblinkered perspective. Remember, I gave away this software for nothing - nada. Hours, and hours of my time and experience. In summary: When I wanted to update it, like I did yesterday, am I meant to download your 1.17 (along with everyone alse's 1.165's etc etc, check what has changed, make the alterations to my own code. Test it on multiple setups, THEN integrate my own code and then upload a 1.18. Seriously, what do you think? What does everyone else think? Tom Quote OSC Image Magic On-the-fly thumbnails, watermarks and image processing Link to comment Share on other sites More sharing options...
HelleM Posted December 16, 2006 Share Posted December 16, 2006 Yes, it can work quite well in combination with the mopics contribution to allow for multiple images per product. If my memory serves me correctly, there is one small change needed to mopics, to use the tep_image() function instead of writing the image tags directly. Anyway, I know the complete solution is in this forum somewhere. Tom Hi Tom - Great - I'll download it soon - I'm still "fighting" with SPPC *lol* Helle :-) Quote Link to comment Share on other sites More sharing options...
HelleM Posted December 16, 2006 Share Posted December 16, 2006 Download the 1.16 version posted on 15 Dec 2006 by the original builder tomjmul. Please ignore the updates or so called fixes posted by others! Well - it's gone? *ev* Helle :-( Quote Link to comment Share on other sites More sharing options...
tomjmul Posted December 16, 2006 Author Share Posted December 16, 2006 Yes Helle, it is. If you want to know the precise reasons, then this is the guy to ask hpdl Quote OSC Image Magic On-the-fly thumbnails, watermarks and image processing Link to comment Share on other sites More sharing options...
jgarite Posted December 17, 2006 Share Posted December 17, 2006 I am trying to remove the program from my OScomm software but I'm not sure if I got everything. I tried to download the file to see if I got all the files off the server, but your link to download is broken. So far I have cleeared the html_output.php and general.php files of the image magic settings, i also removed the image magic folder in the catalogs/includes area. is there anything else I have to do? the image magic link is still in my configuration box in the admin CP...does that matter? Quote Link to comment Share on other sites More sharing options...
i2Paq Posted December 17, 2006 Share Posted December 17, 2006 Well - it's gone? *ev* Helle :-( If tomjmul will let me I can PM you a link so you can download this 1.16 version from my site. :thumbsup: And now, it's not modified in any way. :lol: Quote Norman in 't Veldt Moderator osCommerce The Netherlands Link to comment Share on other sites More sharing options...
azer Posted December 17, 2006 Share Posted December 17, 2006 i wanna thanks tomjules , because it s really an incredible work , and i ca nonly be thanksfull . rigadin has my best regard because is my case , his sub version worked for me this time . For osc , it s true that i cant understand why the project is handle this way, we got not way to filter any new version , even the forum doesnt allows to paste code without begin altered, dont mention the search function , not even an alert when a contribution is upgraded ... They could have even used a oscommerce base code for the contribution aera with reviews , download etc i m thanksfull to hpdl and osc team , but i hope they accept help from other to improve the whole project and use the latest web technologies to help contibutors with the right tools to make it evolve . liek we say in french " chapeau bas" i love Image magic and that make me the 3001's :rolleyes: Quote MS2 Link to comment Share on other sites More sharing options...
Guest Posted December 18, 2006 Share Posted December 18, 2006 I've been running imagemagic for about 2 years now, and have recently changed server. Now when I cache thumbnails to the server (as I have always done), I get the broken image and when I right click on the image I get the following info: Warning: imagejpeg() [function.imagejpeg]: Unable to open 'thumbnails/images/coming_soon.jpg.thumb_prod_infoprod_info_100x100_8faa1627ae5eb160887eae0ef74dd16 1.jpg' for writing in xxxxxxxx/imagemagic.php on line 292 Warning: Cannot modify header information - headers already sent by (output started at xxxxxxxx/imagemagic.php:292) in xxxxxxxx/imagemagic.php on line 463 I have not found this problem on this thread. I have checked the CHMOD on the thumbnails directory and its subdirectories and this is set to 777. Can anyone enlighten me? I have turned off the server cache for now so it caches only to the browser. Many thanks! Luke Quote Link to comment Share on other sites More sharing options...
slopface Posted December 18, 2006 Share Posted December 18, 2006 (edited) I've been running imagemagic for about 2 years now, and have recently changed server. Now when I cache thumbnails to the server (as I have always done), I get the broken image and when I right click on the image I get the following info: Warning: imagejpeg() [function.imagejpeg]: Unable to open 'thumbnails/images/coming_soon.jpg.thumb_prod_infoprod_info_100x100_8faa1627ae5eb160887eae0ef74dd16 1.jpg' for writing in xxxxxxxx/imagemagic.php on line 292 Warning: Cannot modify header information - headers already sent by (output started at xxxxxxxx/imagemagic.php:292) in xxxxxxxx/imagemagic.php on line 463 I have not found this problem on this thread. I have checked the CHMOD on the thumbnails directory and its subdirectories and this is set to 777. Can anyone enlighten me? I have turned off the server cache for now so it caches only to the browser. Many thanks! Luke I've got the same issue. I do just get this error message: I've also tried to put the hole path to the thumbnails directory. I have made sure that the CHMOD is set to 777! Anyone that can help me!!! If I turn off server cache the pictures show up as normal. Thanks in advance, Thomas Edited December 18, 2006 by slopface Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.