[BUG #8004] Setting an external image resource does not work for mobile widgets

* Added check if resourceManager knows the image, before reading and applying the size.