-
Notifications
You must be signed in to change notification settings - Fork 32
Using Image Marker returns incorrect URL #37
Description
Hi,
If you insert the IMAGE marker into your content you get an invalid URL (hence no image showing).
The URL created is this:-
/cms/image/resize/100/100/no/imag0167.jpg
there is no cms/image directory.
If you use THUMB marker, all works well. But this is because the application is just requesting the thumbnail that's already been created.
The IMAGE marker is trying to create it on the fly, but barfs when URL::to_action. Which in turn is using 'convention' instead of 'explicit'. Not sure this is making the difference or not. Maybe we should be using something other than URL::to_action.
I've no idea myself. This is my first look at Laravel and am so glad for PongoCMS to help get my head around it all :)
Anyone else noticed this problem using IMAGE marker?