I can load the s3 image fine using the s3 base path and the craft cms filename that is saved in the craft cms database:
<img src="{{cdnUrl}}/filepath/{{entry.Image.first().filename }}" />
renders
<img src="cdn.imageurl.com/filepath/filename.jpg" />
However if I want to access the same image without the s3 base path (e.g. in order to use an image transform), I get a null.
<img src="{{entry.Image.first().getUrl('transform')}}" />
renders
<img src="" />
Any help would be appreciated!
getUrl()
without the transform argument? – Stephen Lewis May 20 '17 at 16:10