Hanf numbers via accessible images (Logical Methods in Computer Science, 2017)