Fixing image sharing example