This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

jvanremoortere
jvanremoortere

I have some placeholder images uploaded via the MediaManager to s3 (manually) but can't seem to retrieve the path of these files.

I couldn't find anything in the october docs so...

I've found this post on stakoverflow (http://stackoverflow.com/questions/28964412/laravel-5-use-storage-facade-to-get-file-path)

Storage::url('path/to/file/theFile.jpg');
But doesn't seem to work in october... "class 'Illuminate\Filesystem\FilesystemAdapter' does not have a method 'url'"

Any solutions?

Last updated

perseus.lonten
perseus.lonten

storage_path('app/media/name.jpg');

can you try this?

davask
davask

Hi, Uploading images through backend/backend/media, I can access it in front with {{ 'admin_logo.png' | media }} see: https://octobercms.com/docs/markup/filter-media

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.