Added overriding url resolving method to ImageAttachment childrens.