mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 15:55:13 +00:00
add http urls to embedded photos from album
This commit is contained in:
parent
bf6be045f6
commit
effcc661b0
1 changed files with 3 additions and 2 deletions
|
@ -158,8 +158,9 @@ class Embedphotos extends Controller
|
|||
$url = $url . '?token=' . $token;
|
||||
}
|
||||
|
||||
$output .= '[zmg width="' . $image['width'] . '" height="' . $image['height'] . '" ' . "\n\n" . $alt . "\n\n" . ']'
|
||||
. $url . '[/zmg]' . "\n\n";
|
||||
$output .= '[zrl=' . z_root() . '/photos/' . $channel['channel_address'] . '/image/' . $image['resource_id'] . ']'
|
||||
. '[zmg width="' . $image['width'] . '" height="' . $image['height'] . '" ' . "\n\n" . $alt . "\n\n" . ']'
|
||||
. $url . '[/zmg][/zrl]' . "\n\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue