inserting image bugfix (inserts publicUrl)