[FIX] images: Use which ever format the image uses even for a thumbnail resize (to preserve transparency)