Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
When constrain proportions is not ticked, when i change (for example) the width, the height changes to the same value. i have to add the image, then edit the width/height manually.
I think that this issue that's been logged as a bug on codeplex - go vote :)
http://umbraco.codeplex.com/workitem/list/basic?field=CreationDate&direction=Descending&issuesToDisplay=All&keywords=constrain&emailSubscribedItemsOnly=true
It there another way to do it while we wait for a solution? A normal editor doesn't like editing the HTML :(
Ah, I made an easy fix myself instead. The main bug persist, but now you at least can change the proportions:
In the file umbraco/plugins/tinymce3/insertImage.aspx
Add this If-statement on line 110:
if (jQuery("#constrain").attr("checked") == true) {
Should look like this:
if (jQuery("#constrain").attr("checked") == true) { if (mode == "width") { rTop.value = ((bTop.value * rBot.value) / bBot.value).toFixed(0); rBot.value = Number(rBot.value).toFixed(0); } else if (mode == "height") { rBot.value = ((bBot.value * rTop.value) / bTop.value).toFixed(0); rTop.value = Number(rTop.value).toFixed(0); } }
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Insert picture dialog does not honour constrain proportions
When constrain proportions is not ticked, when i change (for example) the width, the height changes to the same value. i have to add the image, then edit the width/height manually.
I think that this issue that's been logged as a bug on codeplex - go vote :)
http://umbraco.codeplex.com/workitem/list/basic?field=CreationDate&direction=Descending&issuesToDisplay=All&keywords=constrain&emailSubscribedItemsOnly=true
It there another way to do it while we wait for a solution? A normal editor doesn't like editing the HTML :(
Ah, I made an easy fix myself instead. The main bug persist, but now you at least can change the proportions:
In the file umbraco/plugins/tinymce3/insertImage.aspx
Add this If-statement on line 110:
Should look like this:
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.