galery str_replace cdn