UmbracoFileSystemProviders.Azure icon indicating copy to clipboard operation
UmbracoFileSystemProviders.Azure copied to clipboard

Image picker cant find images

Open iaK opened this issue 7 years ago • 6 comments

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.

iaK avatar Sep 12 '17 06:09 iaK

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

JimBobSquarePants avatar Sep 12 '17 09:09 JimBobSquarePants

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..

iaK avatar Sep 13 '17 11:09 iaK

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

beriniwlew avatar Aug 21 '19 22:08 beriniwlew

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

iaK avatar Aug 24 '19 11:08 iaK

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.

beriniwlew avatar Aug 25 '19 12:08 beriniwlew

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

Rushabhmaster avatar Mar 17 '20 19:03 Rushabhmaster