Merge pull request #6647 from netchampfaris/hotfix

[hotfix] print format image size