fix: the picture url for the big modal image was generated incorrectly

This commit is contained in:
frederik
2024-07-04 17:02:17 +02:00
parent a9c8d9a235
commit 25f2c531c0
3 changed files with 4 additions and 4 deletions
+2
View File
@@ -190,6 +190,8 @@ class Flickr {
$this->get_from_flickr($sci_name);
$image = $this->get_image_from_db($sci_name);
}
$photos_url = str_replace('/people/', '/photos/', $image['author_url'].'/'.$image['id']);
$image['photos_url'] = $photos_url;
return $image;
}