G3t
G3t

Reputation: 11

Media folder not showing images in Umbraco

I have migrated a umbraco site over. Hooked the databse up and everything is working fine but the images are not showing on the site and in the media folder.

I have set the permissions on the folder.

changed authentication on the folder to app pool.

tried changing virtualRoot to rootPath and rootUrl.

none of the above work. The files names are showing in the media window but no images (blank previews).

Funny thing is i can upload images now and there are showing so something to do with path.

hope someone can help. thanks

Upvotes: 1

Views: 1751

Answers (1)

harvzor
harvzor

Reputation: 2908

Perhaps you need to tell Umbraco that it's running in a virtual directory.

There is a setting in the umbracoSettings.config which you can read about here: https://our.umbraco.org/documentation/reference/config/umbracosettings/#notifications (search for ResolveUrlsFromTextString)

Set the following to true:

<ResolveUrlsFromTextString>true</ResolveUrlsFromTextString>

Upvotes: 1

Related Questions