![]() |
Resizing Thumbnail Images in a ASP file... |
Post Reply ![]() |
Author | |
BlackReefDesigns ![]() Newbie ![]() Joined: 28-May-2008 Location: San Diego, CA Status: Offline Points: 8 |
![]() ![]() ![]() ![]() ![]() Posted: 14-April-2009 at 4:58pm |
I came across a ProductCart ASP file awhile back that contained the image size for thumbnails, and I was wondering which file it was?
We need to make all of our thumbnail images a bit smaller storewide. Thanks |
|
Joe S.
BlackReef.net |
|
![]() |
|
njessen42 ![]() Groupie ![]() ![]() Joined: 12-November-2007 Location: Spokane, WA Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Are you talking about the image1 files that are shown for the search results pages? I had a problem where the images were sizing weird for image1. So I removed the height and width for product image on both of these and it worked great, now it just comes in as the actual size of the picture. I bet you can change this from auto to what ever size you want and it will shrink it for those images. Of course this is only if your products are shown in a list. This was in the pcStorefront.css file.
/* pcShowProductsL handles the table that shows product info when products are displayed in a list */ .pcShowProductsL { width: 100%; text-align: left; } .pcShowProductsLheader { text-align: left; background-color:#ece5b6; } .pcShowProductsLCell { vertical-align: top; text-align: left; } .pcShowProductImageL { height: auto; width: auto; text-align: left; padding: 5px 5px 0 5px; } /* pcShowProductsM handles the table that shows product info when products are displayed in a list with the quantity field */ .pcShowProductsMheader { text-align: left; background-color:#f2e9c3; } .pcShowProductsM { width: 100%; text-align: left; vertical-align: top; } .pcShowProductImageM { height: auto; width: auto; text-align: left; padding: 0 5px 0 5px; |
|
![]() |
|
intour ![]() Senior Member ![]() Joined: 30-June-2006 Location: United Kingdom Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
I'm not sure if there is a global way to do this.
Productcart holds the thumbnail image in the pc/catalog folder along with other images. It holds a reference to this image in the database and this image appears on the page when the call is made for example on the viewcategories.asp page.
When the product is created the thumbnail image size is determined by either the image you upload directly or by what you specify in the upload/resize image option.
I guess you could add code to display this image at a % of its original size but then it may be simpler to just replace the image. The most practical method will depend on how many you have.
Nigel
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |