Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Graphic images


Guest

Recommended Posts

Hi all,

 

If i understand it correctly when we upload an image for a product it is the large one (seen on 'click to enlarge on the product info page). However I have noticed that the image quality shown elsewhere (product listings) which is much smaller deteriorates quite badly. However if I resize these images myself the quality is much better.

 

Is there a way that I can have oscommerce use the large pic I have (on the click here to enlarge view) and the small images elsewhere?

 

TIA

Link to comment
Share on other sites

I've been in a confused and frustrated state over catalog images.

 

Product page, to me, should have a normal size picture. Why on earth would a customer need/want to "click to enlarge" when they've come far enough to get to a page dedicated to one product? :unsure: lol

 

My temporary solution:

 

In Admin, under Configuration, in "Images"

I set "calculate size" to false

 

This means pictures remain the "actual" size throughout the catalog.

Not exactly the best remedy, but one I can live with at this point.

(current pictures look out of whack now, but I can take my time and replace those already on, while in the future it will be rather easy to make pictures more uniform in size as I edit them BEFORE uploading.

 

I removed the words "click to enlarge"(but left the picture)by using the bottom set of instructions found here:

http://wiki.oscommerce.com/helpHowtoRemovePic

 

***When altering the products_info.php file, I encountered a problem....just by opening the file(apparently) some code changed from "&&" to "&&" which causes a page error. So...if you see this line(near the end) that reads like this:

 

 

 

<?php
   if ((USE_CACHE == 'true') && empty($SID)) {
     echo tep_cache_also_purchased(3600);
   } else {
     include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);
   }
 }
?>

 

or like this(more than 2 of those "&"s):

 

 

<?php
   if ((USE_CACHE == 'true') &&&& empty($SID)) {
     echo tep_cache_also_purchased(3600);
   } else {
     include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);
   }
 }
?>

 

Then change it to this:

 

<?php
   if ((USE_CACHE == 'true') && empty($SID)) {
     echo tep_cache_also_purchased(3600);
   } else {
     include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);
   }
 }
?>

 

Hope this helps,

 

Wendy

Link to comment
Share on other sites

I think what you need is this mod, it allows you to use two seperate images. One for the "thumbnail", and another for the click for larger image.

 

the mod is called Big Image 1.25 for MS2 only:

http://www.oscommerce.com/community/contributions,614

If only I was the one helping you...

 

.:::::For complete data-driven and multi-media website creations:::::.

http://www.innocentinnovations.com

 

------------------------

Get instructions, visit the documentation site:

http://wiki.oscommerce.com/Top

Link to comment
Share on other sites

Wendy, Aaron thanks for the response. I have also found another mod which might do the trick. I believe it is an enhancement on the big image mod, which also allows the use of a medium sized image. I havent tried it yet but im going to give it a go.

 

http://www.oscommerce.com/downloads.php/co...ions,316/type,3

 

Have also noticed another problem, which i could do with some help on. I have a directory structure like

 

Catalog

Images

Cardtricks

Cointricks

Accessories

 

when i set the image for the category/product in the admin section it is copying the images into the root images directory and not making use of the ones in the folder structure i have set up. I noticed this by checking the database. This strikes me as odd as the original test data which i still have on there is picking the images up from the folders ie. (images\dvds or images\matrox)

 

any help on this is greatly appreciated

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...