Handling extensionless images in ASP.NET

4z0t3

New Member
I am converting a static website (created with "Plone") to an ASP.NET project, and the way it references images is strange and doesn't work in ASP.NET.The structure looks like this: \[code\]/images/image.png/image_thumb\[/code\] and \[code\]/images/image.png/image_tile\[/code\]\[code\]image.png\[/code\] is a folder, \[code\]image_thumb\[/code\] and \[code\]image_tile\[/code\] are files. What do I need to do short of manually adding an extension to each file and referencing that?Here is how an image is currently referenced (works on the old static project but not in ASP.NET): \[code\]<img alt="Shallow Tiger" class="image-inline" height="300" src="http://stackoverflow.com/images/rm/ue147.JPG/image_preview" width="400" />\[/code\]Is it something I need to do in Global.asax? or web.config? or IIS?
 
Back
Top