mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 21:35:13 +00:00
easier alt-text editing for embed-from-cloud images
This commit is contained in:
parent
bba34a23d0
commit
bf6be045f6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue