Allow images to be uploaded locally when in dev mode