SRV-5493 Adlib: Cover the case when an image is declared in object recor...

@nettsundere please have a look and review