tyrant Posted October 12, 2005 Share Posted October 12, 2005 Guys I have went through the forums in detail and found that lots of people are asking basic questions about Images but not getting any answers. My question is this: How is it possible to have OSCommerce Generate its own thumbnails for uploaded JPG's but for it to retain the origonal aspect ratio.I ask this because even if i resize all of my images to the specified size it still manages to forget about the magical aspect ratios. If there is a contribution that easily and quickly resolves this please let me know because there are soo many to choose from and its not clear if any of them can do the above, without serious negitive effects on bandwidth :D A Guide on this would be FAB and it would stop folks like me and a few others pestering you pros for help :D Big Kiss for any help Mr T Link to comment Share on other sites More sharing options...
Guest Posted October 12, 2005 Share Posted October 12, 2005 Try this one. I've used it on about 30 sites with no problem at all. Its very easy to install, too! Thumbnailer Link to comment Share on other sites More sharing options...
tyrant Posted October 13, 2005 Author Share Posted October 13, 2005 I do not have a catalog folder (As per install instruction) When i install it just generates page file errors, on files i havent edited... Link to comment Share on other sites More sharing options...
♥Monika in Germany Posted October 13, 2005 Share Posted October 13, 2005 I do not have a catalog folder (As per install instruction) When i install it just generates page file errors, on files i havent edited... catalog folder is root for you probably ... we refer to catalog as the spot you have all your sore files in for now, go to admin -> configuration -> images and set the value for small image height to nothing ... just an empty field. Pics will not be squiched any more :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
irishcavan Posted October 14, 2005 Share Posted October 14, 2005 Just one question... Why is it that I have asked a simple question about images 3 times, with no response. But this guy can ask a question on images and get an answer in the same day?? Iritated Irish catalog folder is root for you probably ... we refer to catalog as the spot you have all your sore files in for now, go to admin -> configuration -> images and set the value for small image height to nothing ... just an empty field. Pics will not be squiched any more Link to comment Share on other sites More sharing options...
tyrant Posted October 15, 2005 Author Share Posted October 15, 2005 Because I am Good looking and polite.... I also go to the bother of searching the entire forums for a resoloution to my problem before hounding the guys. xxx :P Link to comment Share on other sites More sharing options...
♥Monika in Germany Posted October 15, 2005 Share Posted October 15, 2005 Just one question... Why is it that I have asked a simple question about images 3 times, with no response. But this guy can ask a question on images and get an answer in the same day?? Iritated Irish well well ... not all of us are online at the same time of the day, and for some questions we know the asnwer fast ... posting a link to your question would have been MUCH more effective! :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
♥toyicebear Posted October 15, 2005 Share Posted October 15, 2005 Because I am Good looking and polite.... I also go to the bother of searching the entire forums for a resoloution to my problem before hounding the guys. xxx :P Well, i will not dispute your claim that you are good looking and polite, but what actually got the quick responses was rather the very ingenious wording of your request.. B) Since this seems to be a common question, i will make and upload a new version today of the basic design pack which includes automatic thumbnails.... all in your honor.... :D :P :D Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here] Link to comment Share on other sites More sharing options...
Alxb Posted October 15, 2005 Share Posted October 15, 2005 i too have a problem with images its to do with the popup images i have searched thru the forums but to no joy. i have not made this properly functional yet. The problem is on enlarge image boxes the images do not display instead i get a fatal error message http://w02-030.web.dircon.net/control/catalog/ is where it is sitting. If anyone can help with this problem it would be very appreciated. thanks Alx Link to comment Share on other sites More sharing options...
♥Monika in Germany Posted October 15, 2005 Share Posted October 15, 2005 i too have a problem with images its to do with the popup images i have searched thru the forums but to no joy. i have not made this properly functional yet. The problem is on enlarge image boxes the images do not display instead i get a fatal error message http://w02-030.web.dircon.net/control/catalog/ is where it is sitting. If anyone can help with this problem it would be very appreciated. thanks Alx hi Alx, the page is not found ... probably server down? :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
Alxb Posted October 15, 2005 Share Posted October 15, 2005 http://w02-0304.web.dircon.net/control/catalog/index.php it should be there i was just looking at it. thankyou in advance Link to comment Share on other sites More sharing options...
tyrant Posted October 15, 2005 Author Share Posted October 15, 2005 The real answer to my orginal question was simple. Under Admin / Images... Input a width but no Height. Instead of putting 0 you must leave it blank then suddenly it all works as if by magic :D :-" I now have more technical questions like how to get the login to be a sexy wee box on the banner and stuff :D but i will trawl your forums first :D I must say i dont find php easy to work with at all - and i highly recomend that anyone working on files downloads a free php editor so they dont screw up the files in word pad etc :blush: again thanks for your help Really waht is needed is a couple of sticky posts at the top that cover the basics. How to edit pages How to add new pages and edit navigation How to play with images That would wipe out 60% of the basic requests for help :D Link to comment Share on other sites More sharing options...
♥Monika in Germany Posted October 16, 2005 Share Posted October 16, 2005 The real answer to my orginal question was simple. Under Admin / Images... Input a width but no Height. Instead of putting 0 you must leave it blank then suddenly it all works as if by magic :D :-" I now have more technical questions like how to get the login to be a sexy wee box on the banner and stuff :D but i will trawl your forums first :D I must say i dont find php easy to work with at all - and i highly recomend that anyone working on files downloads a free php editor so they dont screw up the files in word pad etc :blush: again thanks for your help Really waht is needed is a couple of sticky posts at the top that cover the basics. How to edit pages How to add new pages and edit navigation How to play with images That would wipe out 60% of the basic requests for help :D Graham, glad to hear my easy suggestion did the trick ... sometimes the easy things are lifesavers right? Alx, please post your popup_image.php :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
Alxb Posted October 16, 2005 Share Posted October 16, 2005 below is the popup_image php . i feel i am probably doing something very basic ..wrong . thank you again <?php /* $Id: popup_image.php,v 1.18 2003/06/05 23:26:23 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require('catalog/includes/application_top.php'); $navigation->remove_current_page(); $products_query = tep_db_query("select pd.products_name, p.products_image from " . TABLE_PRODUCTS . " p left join " . TABLE_PRODUCTS_DESCRIPTION . " pd on p.products_id = pd.products_id where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "' and pd.language_id = '" . (int)$languages_id . "'"); $products = tep_db_fetch_array($products_query); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title><?php echo $products['products_name']; ?></title> <base href="http://w02-0304.web.dircon.net/control/catalog/"> <script language="javascript"><!-- var i=0; function resize() { if (navigator.appName == 'Netscape') i=40; if (document.images[0]) window.resizeTo(document.images[0].width +30, document.images[0].height+60-i); self.focus(); } //--></script> </head> <body bgcolor="000033" text="CCCCCC" link="C3C3C3" onload="resize();"> <?php echo tep_image(DIR_WS_IMAGES . $products['products_image'], $products['products_name']); ?> </body> </html> <?php require('catalog/includes/application_bottom.php'); ?> Link to comment Share on other sites More sharing options...
♥Monika in Germany Posted October 16, 2005 Share Posted October 16, 2005 require('includes/application_top.php'); would be the original code ... please try it ... same for bottom ... why did you change the values to catalog/ and the file name? :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
Alxb Posted October 16, 2005 Share Posted October 16, 2005 i think i know what happened, it was probably on the install where i thinmk i added "catalog" to the host server text box . i will taking that out now. thank you monika thank you monika that worked perfectly. i had been looking at that for days and not realised. thank you :) Link to comment Share on other sites More sharing options...
alark Posted November 3, 2005 Share Posted November 3, 2005 I am hoping that someone in this forum can tell me how to fix the problem I am having with product images. I am building an entire new online store to replace my existing one. On my current store, all the products images that exist in the images folder and in the database show up in the storefront and on the admin side. The problem is that on the new site, none of the images show up. They exist in the images folder and in the database, and when I edit a product is shows the name of the image file, but then claims "File does not exist". I have checked the path to the product image and it is correct. I am at a complete loss as to what could be causing this problem. Please help me! Thanks, Stephen Link to comment Share on other sites More sharing options...
♥Monika in Germany Posted November 3, 2005 Share Posted November 3, 2005 I am hoping that someone in this forum can tell me how to fix the problem I am having with product images. I am building an entire new online store to replace my existing one. On my current store, all the products images that exist in the images folder and in the database show up in the storefront and on the admin side.The problem is that on the new site, none of the images show up. They exist in the images folder and in the database, and when I edit a product is shows the name of the image file, but then claims "File does not exist". I have checked the path to the product image and it is correct. I am at a complete loss as to what could be causing this problem. Please help me! Thanks, Stephen hi, that does not sound like fun :-) ... post a link! :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.