added cdn stamp to output image & subsite bug fix