mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
Return more absolute url in Photo::getSizes::type::url
This commit is contained in:
parent
687f2937d2
commit
3c4f41e58c
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ class Photo extends Media
|
|||
foreach($sizes as $id => $meta) {
|
||||
if(isset($meta[3]) && !$meta[3]) {
|
||||
$res[$id] = (object) [
|
||||
"url" => "/photos/thumbnails/" . $this->getId() . "_$id.jpeg",
|
||||
"url" => ovk_scheme(true) . $_SERVER["HTTP_HOST"] . "/photos/thumbnails/" . $this->getId() . "_$id.jpeg",
|
||||
"width" => NULL,
|
||||
"height" => NULL,
|
||||
"crop" => NULL
|
||||
|
|
Loading…
Reference in a new issue