Copied to clipboard

Flag this post as spam?

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


  • Alexander Tkacuk 21 posts 122 karma points
    Sep 20, 2019 @ 09:11
    Alexander Tkacuk
    0

    Cant see Preview-Image from MediaPicker in Content in BackOffice

    1 - Create new DocumentType with new Property "MediaPicker" 2 - Upload Image to Media 3 - Create new Content of Type from "1" and set in MediaPicker Image from Media.

    Save-Publish bla bla.

    Image is not showed in MediaType in the Content from 3

    enter image description here

    In Browser you can see this Error:

    > GET
    > http://localhost/Umbraco/umbraco/backoffice/UmbracoApi/Images/GetBigThumbnail?originalImagePath=%2Fmedia%2Fhabbrof2%2Fmergelogo.png&rnd=0.6163017777984947
    > 
    
    > {"message":"An error has occurred.","exceptionMessage":"File
    > '/media/habbrof2/mergelogo.png' is outside this filesystem's
    > root.","exceptionType":"Umbraco.Core.IO.FileSecurityExceptio...
    

    Its Stored in der DB:

    {
      "src": "/Umbraco/media/habbrof2/mergelogo.png",
      "focalPoint": {
        "left": 0.48518518518518516,
        "top": 0.58333333333333337
      },
      "crops": null
    }
    

    When Pencil is klicked, Image is showed on edit.

    What can i do to show images in Conten when i do authoring content?

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Sep 21, 2019 @ 08:18
    Alex Skrypnyk
    0

    Hey Alexander

    Do you use a composer to create a custom physical file system instance?

    In which folder the media item is located?

    Thanks,

    Alex

  • Alexander Tkacuk 21 posts 122 karma points
    Sep 23, 2019 @ 07:16
    Alexander Tkacuk
    0

    Hi. no i dont use composer to create custom physical file system. Its default configuration. Folder is random generated and is in project folder

    $project/Media/$randomFolderNameForAnUploadedImage

Please Sign in or register to post replies

Write your reply to:

Draft