22405 Posts in 6902 Topics by 2748 members
|Go to End|
16 October 2012 at 8:42pm
We seem to be having a problem with resized images in the CMS. Check this link out:
The image path made up by the CMS produces this URL: http://www.farrington-oils.co.uk/rapeseed-oil/the-process/assets/NewFolder/_resampled/resizedimage300191-checking-label.jpg
but that link produces an error: The action 'assets' does not exist in class Page_Controller
I have no idea how to fix this one? Anyone seen it before?
17 October 2012 at 9:41am
The url to the file should never include the page url. So i guess you put something in front of the picture url.
The path should start with /asssets/.
(rapeseed-oil/the-process/ should not be there, otherwise silverstripe thinks assets is an action on that PageController)
Lets see the code that writes the image if the above will not help you to solve the problem.
|Go to Top|