Add auxiliary methods to get the image container and image progress.
Refactor code to use new methods.