23023 Posts in 11882 Topics by 2830 members
|Go to End|
15 December 2010 at 2:01pm
I am trying to pull images from my /assets/Uploads/ folders into my pages. The image tags are correctly being generated on the page but no images appear. When I type the image url in the browser, eg http://www.mysite.com/assets/Uploads/image1.jpg it returns a Page not found error.
I've check the file structure and the images are in the /assets/Uploads/ folder.
Inside the CMS (Files & Images tab) they are listed in the correct location as well. However, when I use the "edit asset" button and click on the URL field it also displays a Page not found.
15 December 2010 at 8:32pm
Not quite sure, but maybe it has something to do with your .htaccess file in your /assets directory.
Here's a nice thread on this subject: http://silverstripe.org/installing-silverstripe/show/14878?start=0
16 December 2010 at 2:10pm
Thanks Christian, that fixed the problem easily. I did see the thread when looking to solve the issue but it didn't seem relevant to my situation.
|Go to Top|