Hi there,
Got a problem with my IIS install of SS 2.4 when trying to upload images via "Files & Images" - The uploaded image displays as a 'broken link' image.
The problem occurs as follows:
In Files & Images the image appears to upload without a problem (no error messages) and when you click to view the file you can see the "resampled thumbnail" version created by SS.
When you then go to the WYSIWYG editor to add the image you can see the resampled thumbnail version in the Image insertion area on the right. However, once you insert the file into the page it comes up with a "broken image" link. If you publish the page the image is still not appearing in the front end, so its not just a problem with the WYSIWYG editor.
When I uploaded files via FTP and then used "Look for new files", there was no problem at all. They display fine.
You can see a screenshot of it at: http://i319.photobucket.com/albums/mm453/linseymiller/SilverStr/SS-Upload-Screenshot.jpg
Here's what I've done so far:
1) checked the URLs: The resampled thumbnail and the "original" file both exist and the system is providing the correct urls.
If you call the thumbnail directly via the URL it displays, however calling the "original" by its URL gives a 500 Error, e.g.
...some-domain.com/assets/Uploads/_resampled/StripThumbnail-tlogo-christies.gif (shows resampled image)
...some-domain.com/assets/Uploads/tlogo-christies.gif (500 error)
2) Downloaded both files. And they both 'look' fine, so nothing is happening to the original file 'physically' to stop it displaying
3) I had a problem with this version of SS on a linux box and fixed it using this method: http://open.silverstripe.org/attachment/ticket/5547/2.4.0-FileUpload.diff
Tried this in case it was a related problem in IIS, but it didn't fix the issue.
4) looked at file & folder permissions, but IIS doesn't seem to use these. The permissions for all files are set to xxx whether they work or not.
Also, just in case it is pertinent, I have dataobject manager and uploadify installed. Had a problem whereby uploadify/dobjman was failing when trying to manage the Assets upload. However this was resolved. You can see the post at http://silverstripe.org/general-questions/show/15140#post296572#post296572
Hoping someone can help me out with this as I really have no idea where to start debugging it and was supposed to be training the client on CMS today, but had to postpone until I get this fixed.
Many thanks,
Linsey