1
0

Respect image url setting instantly (#207)

This commit is contained in:
onli
2014-09-19 18:53:11 +02:00
parent 5ee2f4b732
commit 9b63c41c2a

View File

@ -327,7 +327,7 @@
}
img = "<!-- s9ymdb:" + imgID + " --><img class=\"serendipity_image_"+ floating +"\" width=\"" + imgWidth + "\" height=\"" + imgHeight + '" src="' + img + "\" " + (title != '' ? 'title="' + title + '"' : '') + " alt=\"" + alt + "\">";
if ($("#radio_islink_yes").attr("checked")) {
if ($(':input[name="serendipity[isLink]"]:checked').val() == "yes") {
// wrap the img in a link to the image. TODO: The label in the media_chooser.tpl explains it wrong
var targetval = $('#select_image_target').val();