We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 2a6bb570 authored by Mike Sheldon's avatar Mike Sheldon Committed by Jørgen Bøhnsdalen

Use artist's small image on their page if a medium image isn't available

parent f659548d
......@@ -51,7 +51,7 @@ $smarty->assign('bio_summary', $artist->bio_summary);
$smarty->assign('bio_content', $artist->bio_content);
$smarty->assign('homepage', $artist->homepage);
$smarty->assign('streamable', $artist->isStreamable());
$smarty->assign('image', $artist->image_medium);
$smarty->assign('image', $artist->image_medium ? $artist->image_medium : $artist->image_small);
$smarty->assign('hashtag', $artist->hashtag);
$smarty->assign('similarArtists', $artist->getSimilar());
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment