add awk script and rule to generate image url from gallery page