fixed href linking bug

This commit is contained in:
Randy Jensen 2011-12-03 16:09:20 -06:00
parent bb7eb440ce
commit 02e34c26c9

View file

@ -107,7 +107,7 @@ class WP_OpenPhoto {
aligment = '';
}
img += '<a href="'+size_alt+'" id="'+op_single+'"><img class="'+alignment + ' ' + size_class + ' ' + '" title="' + title_text + '" src="' + size_alt + '" alt="' + alt_text + '" width="' + width + '" height="' + height + '" /></a>';
img += '<a href="'+url_text+'" id="'+op_single+'"><img class="'+alignment + ' ' + size_class + ' ' + '" title="' + title_text + '" src="' + size_alt + '" alt="' + alt_text + '" width="' + width + '" height="' + height + '" /></a>';
if (caption_text != "") {
img += '[/caption]';