finalise short image urls implementation