fixing the config for images