21489 Posts in 5783 Topics by 2622 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 211 Views |
-
Resized images not appearing in 2.4

16 October 2012 at 8:42pm
Hi Everyone
We seem to be having a problem with resized images in the CMS. Check this link out:
http://www.farrington-oils.co.uk/rapeseed-oil/the-process/
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?
Cheers
-
Re: Resized images not appearing in 2.4

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

