Retina attachments

D

Dad.

Guest
Member
I was wondering if maybe XF could support retina for attachments.

Two main way I can think of but maybe something better Im not familiar with.
1. Read in the EXIF data, find out if Pixels Per Unit X is larger than Image Size X - if they are divisible by a value greater than 2, floor to nearest integer, then resize that image with CSS by using some data-retina attribute on the image
2. If the attachment is uploaded with a @2x or @3x somewhere in the file name...

Read more

Continue reading...
 
BlackSpigot General Chat
Rules Help Users
    N @ NathanGaming093: how to download ?
    Top