image controller
cache func. , images deleted