Error 404 on images in Edit-mode

Vote:
 

For some reason, i get error 404 on mediafiles in edit-mode. When viewing the site, an image got an url like "/globalassets/270x180_2.jpg", but in edit-mode the url is "/EPiServer/CMS/Content/globalassets/280x180_2.jpg,,41?epieditmode=False", which results in error 404. However, if i remove the last part ",,41?epieditmode=False" the it works. It's a newly installed 7,5 site, so what the heck did i do? :)

#91323
Oct 02, 2014 15:14
Vote:
 

...and the solution is: Make sure to inherit from the correct classes, in this case ImageData NOT MediaData.

#91364
Oct 03, 2014 11:26
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.