ddl_large ONLY if its meats 1080p (or 1500 h) - Fix)

This commit is contained in:
Lain Iwakura 2016-09-10 18:41:01 -04:00
parent 5becea3a8f
commit c60693e6e7

View File

@ -91,7 +91,7 @@ class PostHelper extends Rails\ActionView\Helper
$li_class = "";
$ddl_class = "directlink";
$ddl_class .= ($post->width > 1920 || $post->height > 1080 )? " largeimg":" 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">';