ddl_large ONLY if its meats 1080p (exact)
This commit is contained in:
parent
c98860e989
commit
632a20f8b9
@ -91,7 +91,7 @@ class PostHelper extends Rails\ActionView\Helper
|
||||
$li_class = "";
|
||||
|
||||
$ddl_class = "directlink";
|
||||
$ddl_class .= ($post->width > 1500 || $post->height > 1500)? " largeimg":" smallimg";
|
||||
$ddl_class .= ($post->width > 1920 || $post->height > 1080 )? " largeimg":" smallimg";
|
||||
|
||||
if (!empty($options['similarity'])) {
|
||||
$icon = '<img src="'.$post->service_icon().'" alt="'.$post->service().'" class="service-icon" id="source">';
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 74 B After Width: | Height: | Size: 1.2 KiB |
Reference in New Issue
Block a user