Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image


JCS

Recommended Posts

In the default installation if one clicks on hardware in the left column box an image of a desktop pc comes up in the centre right after ...what we have here.

 

Properties for that image is category_hardware.gif BUT - if I do a search in all the files for that string or category_hardware nothing comes up. I am baffled.

 

My question is: How is that image called up????

 

Thanks much

Link to comment
Share on other sites

Go into your admin panel and click on catalog. The first entry will be Hardware. Click on the edit button. In the right column, it gives you the name of the file and its location. Note that all images are located in either the image directory ro in the includes/languages/english/images directory.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Done it and it works fine - the problem left is how to regulate the height and width of the image. Can't find how to initiate it.

 

Thanks again

Link to comment
Share on other sites

Thanks Matti - been there and done it and you both andswered my question.

 

Dare I ask if there is anyway (I'm afraid of this answer) one may control the size INDIVIDUALY???

 

Just a side note: I've been working on the stylesheet so much I completely forgot about the admin side. The stylesheet is really excellent when you really delve into it. Thanks everyone - the developers, coders and yes the people who make up this board.

Link to comment
Share on other sites

I think the closest you can get to individual control is to leave one of the size settings blank - this should allow differently proportioned image to load nicely - their basic size will remain the same however .... or, you could remove the reference to the configuration settings in the file that is calling the images - then they will load at actual size. In your file, eg. product_info.php you would change:

 

SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT,

 

to:

 

  '', '',

 

Matti

Link to comment
Share on other sites

Thanks Matti. Tried to follow your suggestion but no luck over the last few hours. Searched on every string possible.

 

Then I decided, if I go to Admin and delete the H and W for the images I would remove the limitations - it worked - and I got what I wanted.

 

Here's a question and concern for those with knowledge: Will this affect the execution of the script!!!

 

Thanks again

JC

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...