Image Breaking code.

Discussion in 'Programming' started by dawilster, Sep 30, 2008.

  1. #1
    for some dam reason the images when displayed in internet explorer keep breaking, and display longs ways horizontal but how do i force it to display veritcally.

    code:

      ?><a href="<? echo $ImgUrl ?>"><img src="/mods/image_cache/<? echo $thumburlfinal ?>.jpg" width="103" height="75" border="0" class="result-image-thumb" style="margin-right:2px; margin-bottom:2px;" /></a><?
      $a++;
     }	   										   
    			?>      
    Code (markup):
    please any help would be greatlly appreciated.
     
    dawilster, Sep 30, 2008 IP
  2. daman371

    daman371 Peon

    Messages:
    121
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Well in the html you have the width=103 and height=75 so that will show it more horizontally. You could change them but it would distort the image. So, you would have to resize the image in PHP which is in code before that.
     
    daman371, Oct 3, 2008 IP