#1 - show previews for gif and jpeg files