resized images removed unneccessary html