Updated quality logos and added ultra res icon
This commit is contained in:
parent
4051402895
commit
7c93ed1343
@ -95,10 +95,10 @@ 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">';
|
||||
|
Reference in New Issue
Block a user