fucking jpg and png extensions get me everytime