I am soo bad at css. I have a div in which multiple images can be put. this div is a slide. 

```
<div id="slides">                  
   <img src="imagename.jpg"/>                                                                 
</div>

```

some images are e.g. 100x300 but some are 300x100. how can I scale those images according to their own dimensions so that they show up as in original form? 

my live example with this bug is in here: 
<http://wohne-wo-du-willst.de/angebot/Wohnung/ist-frei-in-Dachau/22/>

as you slide, the 3rd slide image doesnot show up in its full form..