SRV-5490 Adlib: Incorrect image url forming for some referencies

@nettsundere please have a look