Pooria Sadeghy
Pooria Sadeghy

Reputation: 443

MVC Imageresizer show empty image

I have mvc 5 project that use imageresizer for crop and resize images, on local it work file but in server , when i set query end of image address , result is empty image

For exmaple :

Original enter image description here

With query enter image description here

Upvotes: 1

Views: 156

Answers (1)

Lilith River
Lilith River

Reputation: 16468

ImageResizer's DiskCache plugin requires read/write/delete permissions to the cache folder on disk.

The ASP.NET (the Application Pool user account) needs NTFS read/write/delete permissions to the application directory and ~/imagecache folder.

The IIS user account (often NETWORK SERVICE) needs at minimum read permissions to the application directory and ~/imagecache folder.

Upvotes: 1

Related Questions