Copied to clipboard

Flag this post as spam?

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


  • Christian Sparre 55 posts 20 karma points
    Jul 16, 2009 @ 10:26
    Christian Sparre
    0

    Problem using Media library and media picker

    Hi, I have a problem with the media library. Uploaded images does not have the correct URL when selected from the Media Picker in the Rich Text editor.

    If I create a new image called "Image01" and uploads a picture that is named "Image01_resized.jpg" it displays fine in the Media Library but when inserted on a page the url is set at /media/{id}/Image01.jpg. The physical file is still called Image01_resized.jpg.

    How do I correct this?

    I'm running: umbraco v 4.0.2.1 (Assembly version: 1.0.3441.17657) on Windows 2008

    Hope someone can help me :)

    --
    Christian

     

  • Morten Bock 1867 posts 2140 karma points MVP 2x admin c-trib
    Jul 16, 2009 @ 11:27
    Morten Bock
    0

    Is this a general problem, or only when using underscores?

    What happens if you create a media node "myimage" and upload a file "myuploadedimage.jpg" or "myuploadedimage_subtitle.jpg".

  • Christian Sparre 55 posts 20 karma points
    Jul 16, 2009 @ 13:39
    Christian Sparre
    0

    Hey

    You are spot on!, this only seem to happen when the uploaded file's name contains underscore(s). For now I'll remove any underscores, but the end-users won't nessesarily know why and how to do that.

    Can anyone else reproduce this or is it just my deployment that does this?

    --
    Christian

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jul 16, 2009 @ 14:57
    Dirk De Grave
    0

    Have seen other posts on this as well, don't know whether thas was still on the old ugly forum tho... If it's reproducable, I'd suggest to add a work item in Codeplex (but check first if it hasn't been reported before)

     

    TIA,

    /Dirk

  • 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