starting image handling