How to keep the direct URL when changing the dimensions of a media library image instead of the perm

HelenaG Grulichova asked on August 27, 2012 03:48

How to keep the direct URL when changing the dimensions of a media library image instead of the permanent one

Correct Answer

HelenaG Grulichova answered on August 27, 2012 03:48

The image is resized to a smaller version, because it saves bandwidth. During this resizing, our internal file processing needs to be used, and that’s why the URL is automatically changed to a permanent one. You can override this behavior by setting the getPermanent variable, in the method btnImagePreview_Click, within the file CMSModules\Content\Controls\Dialogs\Properties\HTMLMediaProperties.cs, to false. With this setting, CSS styles will be used to resize the image.

-bp-
0 votesVote for this answer Unmark Correct answer

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