Use stip_tags insted of str_replace in imgValidUrl for ssl