Encode asset images and pass them up