insert code for image sharing