easier alt-text editing for embed-from-cloud images

This commit is contained in:
Mike Macgirvin 2024-06-17 05:31:03 +10:00
parent bba34a23d0
commit bf6be045f6

View file

@ -124,7 +124,7 @@ class Embedphotos extends Controller
$alt = ' alt="' . $alt . '"';
$output = '[zrl=' . z_root() . '/photos/' . $channel['channel_address'] . '/image/' . $resource . ']'
. '[zmg width="' . $r[0]['width'] . '" height="' . $r[0]['height'] . '"' . $alt . ']'
. '[zmg width="' . $r[0]['width'] . '" height="' . $r[0]['height'] . '"' . "\n\n" . $alt . "\n\n" . ']'
. z_root() . '/photo/' . $resource . '-' . $resolution . $ext . '[/zmg][/zrl]';
return $output;