optional jpg store in image cache