Pictures upload in a self made folder
is there any possibility that i can upload images in a way that there is not always a path like that:
i need to have the paths for service worker topics...
many thanks everybody!
But you can upload them manually directly to your server in any folder you want. You won't be able to use any file manager related stuff with them though.
so that means it‘s not possible to use it e.g. in a slider add-on when it‘s directly uploaded in a ftp folder?!
The reason is that you need to upload a file through the file manager so that file references to that file can be written to the database.
Without database references the file will not be discover-able.
but anyway thanks both of you!
And this could all be done through FTP. Of course this would defeat all the upsides of the file manager features and work like hard-coded html.
so i think the file manager does make sense anyway BUT if you say it‘s in the database then I am sure there‘s a way to pull out the paths?
What is the purpose? Do you need other people to be able to upload without accessing the dashboard? This can be done by uploading to the /application/files/incoming folder but those files still need to be added through the file manager to reference them in the database.
the paths should be as easy as possible – just an easy way to copy these paths of the images...
If you need to do it programmatically, just look at the core slider block and you'll see how to do it
Here's a free gallery that does that so you can easily see how to grab a fileset with all its files and get the paths from there:https://www.concrete5.org/marketplace/addons/simple-gallery...