Added image size method.
Solving merge conflict.