Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Alberto Fernandez 9 posts 79 karma points
    Sep 18, 2017 @ 14:54
    Alberto Fernandez
    0

    Skip MediaId folder

    Hi,

    Is there any way to save a new image without a mediaId folder being created automatically?

    Regards.

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Sep 18, 2017 @ 14:57
    Alex Skrypnyk
    0

    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

  • Alberto Fernandez 9 posts 79 karma points
    Sep 18, 2017 @ 15:02
    Alberto Fernandez
    0

    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.

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Sep 18, 2017 @ 15:12
    Alex Skrypnyk
    0

    What links are broken?

    Regards

  • Alberto Fernandez 9 posts 79 karma points
    Sep 18, 2017 @ 15:17
    Alberto Fernandez
    0

    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.

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Sep 20, 2017 @ 11:35
    Alex Skrypnyk
    0

    Hi Alberto

    Did you find a solution? Can you share with our community?

    Thanks,

    Alex

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Sep 18, 2017 @ 15:41
    Alex Skrypnyk
    0

    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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies