Clear cache image and optimize load thumbnail image