ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Resizing Thumbnail Images in a ASP file...
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Resizing Thumbnail Images in a ASP file...

 Post Reply Post Reply
Author
Message
BlackReefDesigns View Drop Down
Newbie
Newbie


Joined: 28-May-2008
Location: San Diego, CA
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote BlackReefDesigns Quote  Post ReplyReply Direct Link To This Post Topic: Resizing Thumbnail Images in a ASP file...
    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
Back to Top
njessen42 View Drop Down
Groupie
Groupie
Avatar

Joined: 12-November-2007
Location: Spokane, WA
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote njessen42 Quote  Post ReplyReply Direct Link To This Post Posted: 22-April-2009 at 4:42pm
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;
Back to Top
intour View Drop Down
Senior Member
Senior Member


Joined: 30-June-2006
Location: United Kingdom
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote intour Quote  Post ReplyReply Direct Link To This Post Posted: 23-April-2009 at 5:53am
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
Innerview
Productcart Platinum Reseller
Web Design/Hosting/Virtual Tours
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.