[PATCH] add code to handle liveimg --url=file:// as special case