1 Replies - 1068 Views - Last Post: 29 January 2015 - 05:56 AM

#1 higherprimate  Icon User is offline

  • D.I.C Head

Reputation: -8
  • View blog
  • Posts: 109
  • Joined: 14-December 13

ListView with images of different sizes

Posted 21 January 2015 - 11:53 PM

How do I deal with displaying images of different sizes using a ListView control :


<a href='ProductDetails.aspx?productID=<%# Eval("ProductID") %>'>
                        <image src='<%# Eval("ProductImageUrl") %>' 
                                alt="No image loaded" width="100" height="75" border="0">
                    </a> &nbsp


Is This A Good Question/Topic? 0
  • +

Replies To: ListView with images of different sizes

#2 Nakor  Icon User is offline

  • Professional Lurker
  • member icon

Reputation: 448
  • View blog
  • Posts: 1,504
  • Joined: 28-April 09

Re: ListView with images of different sizes

Posted 29 January 2015 - 05:56 AM

I'd start with not setting the width and height in the image tag and see how that goes
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1