Fixed and renamed adjust_images method