Media Selector form control - always appends query string size parameters to image path

Dave Forster asked on March 22, 2016 11:31

I'm noticing an "issue" when we use the Media Selector form control in that when we select an image it always appends sizing query string parameters to the image path (see attached image).

As far as we can tell there are no settings enabled that would cause this behaviour, either on the form control settings for the page field or as a site setting.

I have another demo site which is configured the same way that does not exhibit this behaviour.. it only appends the "ext=" parameter. This is the expected behaviour.

Can anyone shed any light on this ? We using V9.0.12

Image Text

Recent Answers


Dawid Jachnik answered on March 22, 2016 14:30

Hello,

Even if you click Reset size? Reset size should change the default url to the one without querystring parameters

3 votesVote for this answer Mark as a Correct answer

Dave Forster answered on March 22, 2016 14:32

Hi Dawid,

Yes, reset has no effect.

Just to be clear, in the media library itself the perma link for the image doesn't contain any size parameters. These are only present when using the Media Selector control. Also, in my example the size of 1285x723 is the original size of the image

0 votesVote for this answer Mark as a Correct answer

Dawid Jachnik answered on March 22, 2016 15:45

I know that there's some parameter "DialogParameters.IMG_SIZETOURL" in ~/CMSModules/Content/Controls/Dialogs/Properties/URLProperties.ascx.cs, but I don't know where is it set

3 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.