Weird bug with double encoding of images: FIXED.