Updated quality logos and added ultra res icon

This commit is contained in:
Yukimi Kazari 2017-06-06 15:34:37 -04:00
parent 7c93ed1343
commit 016a572542

View File

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