gowansa Posted March 21, 2007 Posted March 21, 2007 I currently sell photos online but have issues displaying landscape and portrait if I change the global image sizes I can only get ether Landscape or portrait to display correctly but not both can anyone help? Quote
gowansa Posted March 22, 2007 Author Posted March 22, 2007 I am not a programmer so am unsure on where to get Thumbernailer or how to install it can you please point me in the correct direction Quote
Guest Posted March 22, 2007 Posted March 22, 2007 here is one: http://www.oscommerce.com/community/contributions,2226 try version 1.5 from 12/15/05 just read the install instructions. Quote
gowansa Posted March 22, 2007 Author Posted March 22, 2007 here is one:http://www.oscommerce.com/community/contributions,2226 try version 1.5 from 12/15/05 just read the install instructions. I know I being stupid but it says (Easy installation involves adding only one file and updating the tep_image function) what and where do i find the one file I have done the tep_image part but thats it? Quote
Guest Posted March 22, 2007 Posted March 22, 2007 you have to edit your catalog\includes\functions\html_output.php file and do as the document says. Quote
gowansa Posted March 22, 2007 Author Posted March 22, 2007 you have to edit your catalog\includes\functions\html_output.php file and do as the document says. Yes I did and get this error on the web page Parse error: syntax error, unexpected '}' in /home/vibeycou/public_html/shop/includes/functions/html_output.php on line 177 Quote
gowansa Posted March 22, 2007 Author Posted March 22, 2007 Yes I did and get this error on the web page Parse error: syntax error, unexpected '}' in /home/vibeycou/public_html/shop/includes/functions/html_output.php on line 177 I have fixed this error by removing the } at the end ogf the line but now get this error below Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/vibeycou/public_html/shop/includes/functions/html_output.php:2) in /home/vibeycou/public_html/shop/includes/functions/sessions.php on line 97 Quote
gowansa Posted March 23, 2007 Author Posted March 23, 2007 I have fixed using the Advise below which works great thanks for all your help! In OSC , you can prevent this by specifing one fixed size for either the height or width. Then enter 0 for the other. Lets do this : Configuration ->images Small Image Width 120 Small Image Height 0 calculate image size is set to true, remember ? Right now enter your catalog and voila ! Your thumbnails have a fixed width of 120 and the height changes depending on the image. Clicking on the thumbnail to enlarge , shows your image in its original glory ! This is great if your catalog contains a large collection of images from different sources :thumbsup: Quote
dianne Posted July 24, 2007 Posted July 24, 2007 I'm using the On the Fly auto thumbnailers with GD. It is working perfectly in the "client" side of the site, but in admin the photos are not showing. Can anyone assist me in identifying the problem. I enabled the admin thumbnailing options (steps 11-13), and I'm assuming that is where my problem is. Since most information is simply copied I suspect my problem is with the admin/includes/configure.php. Unfortunately the web interface show the "no image" image beautifully (after I changed the html_output.php file to look at ../images and not images.) I therefore can't tell where its attempting to find the real images. In the configure.php file (admin) we are told to change Find this (25): define('DIR_WS_CATALOG_IMAGES', 'images/'); Replace it with this: define('DIR_WS_CATALOG_IMAGES', '../images/'); Firstly mine was actually define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); So I tried changing 'images/' to '../images', leaving in DIR_WS_CATALOG Then I copied his line exactly Since I would like the admin pages to view the thumbnails, I also tried 'images/thumbnails' and '../images/thumbnails' All I get is the "no image.jpg". The Add-on works so beautifully on the client pages, I'd really like to get it to work on admin. Does anyone have any ideas of where I can look for the problem. I'm working on a fresh installation of osCommerce, so I don't think it can be conflicting with anything else. Quote
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.
Note: Your post will require moderator approval before it will be visible.