get message images in a different method