saving image to URL table

manually merging now due to recent changes