Adapt images