Added server logic for adding images via URL