Updated quality logos and added ultra res icon

This commit is contained in:
Yukimi Kazari 2017-06-06 15:31:55 -04:00
parent 4051402895
commit 7c93ed1343

View File

@ -95,11 +95,11 @@ class PostHelper extends Rails\ActionView\Helper
if ($post->width >= 3500 || $post->height >= 2600 )
$ddl_class .= " extremeimg"
elseif ($post->width >= 1920 || $post->height >= 1500 )
$ddl_class .= " largeimg"
else
$ddl_class .= " smallimg";
{
$ddl_class .= ($post->width > 1920 || $post->height > 1500 )? " largeimg":" smallimg";
}
if (!empty($options['similarity'])) {
$icon = '<img src="'.$post->service_icon().'" alt="'.$post->service().'" class="service-icon" id="source">';
$ddl_class .= " similar similar-directlink";