Merge pull request #19956 from davidflanagan/bug996455

Bug 996455: use device pixels, not css pixels when determining if an EXIF preview is big enough r=pdahiya a=1.3+,hkoka