make image page respect different sizes of individual frames, as suggested by Markus...