Added share image function