I am actually implementing a Cloudinary File System Provider. I am trying to import all the existing images from Cloudinary when you install the package but when you create the media file in Umbraco, this folder is being added to the link, therefore the link to the file location in Cloudinary is not working:
Skip MediaId folder
Hi,
Is there any way to save a new image without a mediaId folder being created automatically?
Regards.
Hi Alberto,
Are you talking about number folder under the media folder?
It's not media Id folder, it's how Umbraco stores media. You can't easily change that.
Thanks,
Alex
Hi Alex,
Yes that is what I meant, thank you for the prompt response.
I am trying to import images from Cloudinary but as this folder is being created the link is broken.
Regards.
What links are broken?
Regards
Sorry I didn't explain it very well.
I am actually implementing a Cloudinary File System Provider. I am trying to import all the existing images from Cloudinary when you install the package but when you create the media file in Umbraco, this folder is being added to the link, therefore the link to the file location in Cloudinary is not working:
http://res.cloudinary.com/dzeaefjdv/image/upload/v1505747805/CARPETA/ProfilePic.jpg -> This is the original link
http://res.cloudinary.com/dzeaefjdv/image/upload/v1505747805/1205/CARPETA/ProfilePic.jpg -> This is what is created in Umbraco
Hope it makes more sense now.
Regards.
Hi Alberto
Did you find a solution? Can you share with our community?
Thanks,
Alex
Alberto, one of the possible solution is to copy all files to /media folder and then change files path in each media node like it described here - https://our.umbraco.org/documentation/reference/config/filesystemproviders/#note
So you have to iterate over all media items and change path.
Regards,
Alex
is working on a reply...