• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

New Storage mode for External Storage

Status
Not open for further replies.

lovedigit

👽 Chevereto Freak
Hello,

I am here yet again with tiny solution which might not seem very lucrative at the beginning but it should've been implemented for consistency.

I have noticed that we can set the image path for local storage which is set to default as "images". I thought it could also be tweaked to the desired path for the external storages, but to my surprise there are no such option.

DHm.jpg


If I want to set the image url to https://sub.domain.com/i/idFgX.jpg, it is not currently possible.

What I am suggesting/requesting is to implement a new "Storage Mode" as a dropdown option in the designated section, say, "Folder" to add a third option to the existing "Datefolders" and "Direct" Storage mode.

"Folder" will allow us to set a custom folder which we want to be the image for of the uploaded images at external storages.

Currently, it can either be set to https://sub.domain.com/2016/10/26/idFgX.jpg
or, https://sub.domain.com/idFgX.jpg

It would be great if we could set it to https://sub.domain.com/subfolder/idFgX.jpg

I don't see why we don't have it already, as we can set the local image path but we can't do it for external storages.
 
I thought it could also be tweaked to the desired path for the external storages, but to my surprise there are no such option.

That's wrong.

When you setup an external storage, the system ask for the path where the images will be stored and that's where you can play with the sub-folder stuff. For example, an storage container poiting to /usr/www/folder will use this URL: http://<hostname>/folder/<image>. Same goes for the other storage APIs.
 
That's wrong.

When you setup an external storage, the system ask for the path where the images will be stored and that's where you can play with the sub-folder stuff. For example, an storage container poiting to /usr/www/folder will use this URL: http://<hostname>/folder/<image>. Same goes for the other storage APIs.
And how am I supposed to do that without changing the existing image path?

Only option is to move all existing images to the new subfolder and use permanent redirect in nginx configuration.?
 
Lol. OK.

I was hoping there might be some other way. Just implemented it.

Thanks! for your prompt response.
 
Status
Not open for further replies.
Back
Top