bug fix on checking for defined images sizes
1.16