Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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?

Posted

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

Posted

you have to edit your catalog\includes\functions\html_output.php file and do as the document says.

Posted
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

Posted
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

Posted

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:

  • 4 months later...
Posted

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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...