Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

Thumbnail requests keep going after picking image, slowing down the CMS

$
0
0

When I open an image picker from a Url property in the All Properties editor and navigate to a folder with a lot of images in it, Episerver requests thumbnails for all of these images. However, if I pick an image for the field before the thumbnails are loaded the HTTP requests are not cancelled. Because there are a limited number of concurrent requests, users on a high latency connection sometimes have to wait upwards of a minute to simply select an image. There are close to 100 images in the folder, and while that is not optimal I think the requests should be stopped as soon as the dialog is closed. Is this something we can do, or should I report a bug for this?

Example pagetype that shows this behaviour:

namespace Test {
    [ContentType(DisplayName = "Test", GUID = "d8c26331-55c2-4d37-ab5a-4e0713b1321e", Description = ""]
    public class Test : BlockData
    {
        [UIHint(UIHint.MediaFile)]
        public virtual Url TestImage { get; set; }
    }
}

Viewing all articles
Browse latest Browse all 9076

Trending Articles