katosc Posted August 18, 2006 Share Posted August 18, 2006 I modded up my site, and thought I was keeping an eye on how things were working - and then *bam* I noticed this problem: When I upload a JPG for my products or category images, everything looks ok. Even the preview looks ok. Then I look at the actual site: When I click on the category in question, the center area turns blank. "View Source" reveals a truncated HTML file. GIF images are not a problem - only JPEG. I have a test store - absolutely no contributions added, very few modification at all - going to the exact same database on the exact same server and it's fine. Not experiencing the same problems. So, obviously something I did, but I haven't the first idea what. I'm rolling things back now, using my backups (both the site files and the SQL) but I'm not even sure what I'm looking for. Any ideas? Thanks much in advance. Link to comment Share on other sites More sharing options...
PD_Steve Posted August 19, 2006 Share Posted August 19, 2006 What modifications have you added to your site? Have you added something to resize thumbnails such as a contrib using image magick or GD Libs. If so, I would start by looking at that code and maybe adding that contribution to your "non modded" site to see if that breaks it. Steve My Toolbox: Crimson Editor, Adobe Photoshop CS2.0, Expression Web, Macromedia Suite 8.0, Cinema 4D, Nvu. Link to comment Share on other sites More sharing options...
katosc Posted August 19, 2006 Author Share Posted August 19, 2006 Ok, after several painful hours, I've "solved" the problem. Turns out it has to do with Basic Design Pack modification. ??Is there some server setting that isn't cooperating? It's not my server, the company owns their own webserver and I don't know how they have it set up. I ended up using includes/functions/html_output.php-2.2ms2-051113 as "html_output.php" in that directory. As a consequence, either *ALL* catalog images must be changed to gif file type (or else breaks the catalog) PLUS use setting "Calculate Image Size = True" (I recommend this one. JPGs can be converted rather successfully to gifs and the test images I used looked pretty good.) OR if using JPGs then either set "Calculate Image Size = False" or use the "html_output-nothumb" file. Why does it have to be that way? Unfortunately, I'm not quite that good. It has something to do with the Automatic Thumbnail contribution that is incorporated into the Basic Design Pack. The server apparently can't handle that... Link to comment Share on other sites More sharing options...
PD_Steve Posted August 19, 2006 Share Posted August 19, 2006 Just check with your server admin to see how they installed php and ask them to run the install again including the latest version of GD Library and all will work. It's very likely that when they installed php they did not tick the box for the GD Library to be installed and that is what is breaking your thumbnails. GD Library is the server side software for automatic thumbnail creation (or some people prefer Imagemagick). I had the same problem a long time back with an old server that was installed badly and it killed a complete coppermine gallery I had created (around 20,000 images)! I run my own dedicated servers now so that I never have software install problems Cheers Steve (P.S. The php reinstall is easy (especially with cpanel WHM if you have it). You server admin can do in under 10 mins and all should be good) My Toolbox: Crimson Editor, Adobe Photoshop CS2.0, Expression Web, Macromedia Suite 8.0, Cinema 4D, Nvu. Link to comment Share on other sites More sharing options...
katosc Posted August 19, 2006 Author Share Posted August 19, 2006 Just check with your server admin to see how they installed php and ask them to run the install again including the latest version of GD Library and all will work. Thanks for the advice. I will do that. :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.