21308 Posts in 5737 Topics by 2603 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 678 Views |
-
Page not found when referencing /assests/Uploads/*

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.
Any suggestions?
-
Re: Page not found when referencing /assests/Uploads/*

15 December 2010 at 8:32pm
Hi Greg1.
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=0Cheers,
Christian -
Re: Page not found when referencing /assests/Uploads/*

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.
| 678 Views | ||
|
Page:
1
|
Go to Top |


