widgets.pager: fix crash when not using img_display