implement conditional output of custom hyperlink url for slider images