load_images(): rename operation parameter into transaction; add debug info