Adds new resource: optimize images