Cannot upload a image file in the EPiServersite

Utpal

I have created a EPIServer CMS site using visual studio. I am able to access the site using edit mode. I want to add some image on that site. But when I am trying to upload a image using the upload option it is showing failed message.Why it is happening do you have any idea. But when I have uploaded the images from the demp 'Aloy Site' given by EPIServer team it is uploaded successfully. Please tell the probable cause of this.

Thanks and regards Utpal Maity

random user 42

I also got the fail to upload images. Firstly I thought it was a config-setting or a permission problem. But it turned out that I needed a "media descriptor".

You can read about it here. This applies for EPiServer CMS 7.x

C# example:

[ContentType]
[MediaDescriptor(ExtensionString = "jpg,jpeg,jpe,gif,bmp,png")]
public class ImageFile : ImageData
{
    public virtual string AlternativeText { get; set; }
}

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Cannot upload a image file in the EPiServersite

From Dev

Cannot move uploaded file for image upload php

From Dev

Cannot resolve symbol of the compressed image file - android firebase image upload

From Dev

file name cannot be empty error while upload image

From Dev

image cannot upload to folder

From Dev

Cannot upload file

From Dev

Cannot upload a file in proctractor

From Dev

Cannot upload a file with jersey

From Dev

Wordpress - Cannot upload file

From Dev

Cannot upload file to form

From Dev

Image cannot upload on server in android

From Dev

Cannot upload file to server in PHP

From Dev

Cannot upload 'MOV' file in PHP

From Dev

ng-file-upload for image upload not working

From Dev

Upload image with socketio-file-upload

From Dev

Safari on iOS fails to Ajax-upload some image file: "Cannot connect to server" (but the website works ok)

From Dev

Safari on iOS fails to Ajax-upload some image file: "Cannot connect to server" (but the website works ok)

From Dev

upload image file to different server

From Dev

jQuery File Upload preview image

From Dev

Upload image with file name that not in english

From Dev

MultiValueDictKeyError for django image File upload

From Dev

file upload: check if valid image

From Dev

Upload Image File in C++

From Dev

Grails file upload with image name

From Dev

Upload image with file name that not in english

From Dev

File upload and display image in angularjs

From Dev

PlayFramework - How to upload file/image

From Dev

PHP File upload image not working

From Dev

React - How to upload an image file