umbraco-community / UmbracoFileSystemProviders.Azure

:cloud: An Azure Blob Storage IFileSystem provider for Umbraco
94 stars 67 forks source link

Image picker cant find images #94

Open iaK opened 7 years ago

iaK commented 7 years ago

I'm trying to import images into the rich text editor (Umbraco.TinyMCEv3) using the media picker. After i installed this plugin, no images show up in the media picker overlay. All the folders show up correctly. Any ideas?

Umbraco version 7.5.14.

JimBobSquarePants commented 7 years ago

Hi @iaK

Can you see any media in the media section?

Have you ensured the Virtual Path Provider configuration is set up correctly? That throws quite a few people.

Cheers

James

iaK commented 7 years ago

Hi! Thanks for answering.

All the media show up in the media section as expected, no problem there.

I've removed this chunk from root web.config

    <location path="Media">
      <system.webServer>
        <handlers>
          <remove name="StaticFileHandler" />
          <add name="StaticFileHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.StaticFileHandler" />
        </handlers>
      </system.webServer>
    </location>

and added this chunk in the /media/web.config file

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <handlers>
            <clear />
            <add name="StaticFileHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.StaticFileHandler" />
            <add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" resourceType="Either" requireAccess="Read" />
        </handlers>
    </system.webServer>
</configuration>

But still experiencing the same problem..

beriniwlew commented 5 years ago

@iaK Did you ever figure out what it was? I have my virtual path provider configured to work.

iaK commented 5 years ago

Nope, never did. I got put off that project and have no idea how they solved it unfortunately. :/

beriniwlew commented 5 years ago

Looking at the JavaScript Console, it says "Cannot resolve the file url from the mediaEntity, it does not contain the required metaData" when I go to a document with my media pickers.

Other than that, I'm not seeing any errors in the logs.

Rushabhmaster commented 4 years ago

Hey Guys I'm having the same problem. Media section is fine but can not see images on pickers. image image