This project is read-only.

Broken images in Media Library

Topics: Troubleshooting
Oct 17, 2014 at 6:59 PM
Edited Oct 17, 2014 at 7:08 PM
I am trying to import images to the Media Library by dragging them from the file system to the currently selected folder in the Media Library. When I drag the image it looks fine until I drop it and then it goes to a broken thumbnail. When I edit it, the information looks fine, but if you look at the console in developer tool, it says 404 Not Found for this Get - GET http://localhost:30321/Orchardlocal/Media/Default/_Profiles/1338a03e/fb1398d8/curvedconveyorbelt.jpg
The file is in the folder, so I'm at a loss... This happens for any image I import from the file system. I'm using Orchard 1.8.1. I've tried this in Firefox and Chrome. Also, png files are not recognized as images. Any help is very much appreciated!
Oct 19, 2014 at 12:08 AM
If file is there and you can't access it directly it's problem with the StaticFile Handler, make sure you have default web.config in the /Media folder
Marked as answer by dfstewart3 on 10/19/2014 at 7:06 PM
Oct 20, 2014 at 3:07 AM

That was it! Thank you so much. I didn't realize the web.config was missing.