Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need a BIG as well as small image on catalog pages


lahdesigns

Recommended Posts

Hi there - firstly thank you so much for being as crazy as me and working during your Holidays!!!! I'm determined to launch in the next couple of days and I really need some help...

 

I want to get two pictures up on my website when customers look at a product. I don't want just one tiny picture in the corner...

 

I tried out the Ultra Pics Image Pack (allows up to 8 images), but now the pages are messed up when you try to view an individual item, and I don't have the information/time/energy to sort it out properly...

 

So I'm looking for a simple way to get a second - LARGER - image in the middle of each product page.

 

I'm about to revert back to my original install setup before I put on the Ultra Pics Image Pack. This is the scary message I currently get when I ask the d'base to search for an item:

[/b]

1054 - Unknown column 'p.products_image_med' in 'field list'

 

select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, p.products_image_med, p.products_image_lrg, p.products_image_sm_1, p.products_image_xl_1, p.products_image_sm_2, p.products_image_xl_2, p.products_image_sm_3, p.products_image_xl_3, p.products_image_sm_4, p.products_image_xl_4, p.products_image_sm_5, p.products_image_xl_5, p.products_image_sm_6, p.products_image_xl_6, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from products p, products_description pd where p.products_status = '1' and p.products_id = '82' and pd.products_id = p.products_id and pd.language_id = '1'

 

[TEP STOP]

 

 

Thanks for all your help.

 

Andrea

 

:huh:

Andrea at LoraineAllenDesigns.com

Link to comment
Share on other sites

It sounds like you did not run the *.sql file on your database when you installed the contribution - hence the missing column.

 

The simplest way to have another pic show on product_info is to call it through the products_description.

 

Matti

Link to comment
Share on other sites

Hello Matti - thank you for your guidance... I'm going to try what you've suggested.

 

I'll try again with the Ultra Pics thing first. I'm sure I did run the .sql file, but I was a little unsure of what it did and how it worked, so it's quite possible that I did not do it correctly.

 

could you tell where I can find the 'product_info' file you mentioned?

 

Thank you - Andrea

Andrea at LoraineAllenDesigns.com

Link to comment
Share on other sites

The product_info.php file is in your catalog directory - you do not need to edit this :P

 

When you add a product in admin you can link to the image through the products description:

 

Stuff about your product<br>
<img src="http://yourserver/catalog/images/your_image.gif" border="0" width="50" height="100" alt="your_alt_text" /><br>
More stuff about your product

 

HTH

 

Matti

Link to comment
Share on other sites

Matti, once again - very many thanks for your help! I tried it out and it works wonderfully. MUCH easier than messing around with peculiar php codes. I just hadn't realised that you could use http in the actual product desciptions!

 

Thanks!

 

Andrea :D

Andrea at LoraineAllenDesigns.com

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...