share image saving it first in storage