Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 4 of 4

Thread: Cart Pictures Sizing - Possible?

  1. #1
    jazzloft99 is offline Senior Member
    Join Date
    Feb 2008
    Posts
    202

    Default Cart Pictures Sizing - Possible?

    I have the show pictures in the cart enabled. Is there any way to limit the size to a certain pixel size? For example, all my pictures on the site are 125x125 but I'd like to make it 50x50 when in the cart and wish list. Is this possible?

  2. #2
    brknrcrds is offline Junior Member
    Join Date
    Oct 2009
    Posts
    6

    Default

    I've been able to use CSS to force the size of images to what is needed. That way, it doesn't matter what image is submitted, the size is what I have set in the stylesheet.

  3. #3
    jazzloft99 is offline Senior Member
    Join Date
    Feb 2008
    Posts
    202

    Default

    Is this specifically for the shopping cart or all images? If for the shopping cart, can you tell me which file and what code you added?

  4. #4
    brknrcrds is offline Junior Member
    Join Date
    Oct 2009
    Posts
    6

    Default

    It depends on which skin and XML package you are using. The best way to look is to go to the product page and look for the image code. Something like:
    HTML Code:
    <div id="divProductPic1">
    <img border="0" id="ProductPic1" name="ProductPic1" src="images/Product/medium/1.jpg" alt="Your Product" /></div>
    </div>
    Then you can use css for the id of the photo:
    HTML Code:
    #ProductPic1{
    height:50px;
    width:50px;
    }
    This may be too simple for your purposes but it works for me.