post image handling