23 February 2010 at 11:49pm
I have just installed silver stripe but are just having a small difficulty with the file uploading component at the moment. I go to files and images and upload the files I want eg (.jpg and pdf) now they show up there listed on that page, but back on the Site Content area when I go to insert a .jpg the file I just uploaded isn't showing up???
I go to insert image, select the upload directory but the image I just uploaded isn't showing from the selection list. Any ideas?
25 February 2010 at 12:39am
Does this happen on an out of the box SilverStripe install? I had something like that happen to a site of mine once. I seem to recall it had something to do with the fact that I had defined an Image field on a page, and called it 'Image'. After I visited that page in the CMS, on all pages the thing you describe started to happen...
Of course this might have nothing to do with your problem - just thought I'd mention it
26 February 2010 at 3:18pm
(Last edited: 26 February 2010 3:31pm),
I'm having the same problem. I have version 2.3.6 installed. What version do you have installed?
EDIT: What's so interesting is that when I upload the image via CMS, it gets placed in the "Uploads" folder with a permission of "600" (hence why we cannot see the image using our browser). When I call the image on the template, $Image, it still will not display the image.
IF I call the image with $Image.SetWidth(100), it shows up just fine.
Can someone explain this? How do enable all uploads to be visible, without having to have a ".SetWidth"?