reworking to better handle paging for hte image chooser
fixing support for direct image views and previews