Native image viewer with pan/zoom

Category: Widgets
Subcategory: Mobile


Native image viewer with pan/zoom


Demo url


View images, with zoom and pan


  • Shows the image full screen
  • Allows zooming and panning
  • Tap image to close viewer

Image width / height

Widget needs the image width/height. For images created in the backend, use CommunityCommons.GetImageDimensions. For images taken in the native app, use the TakePictureAdvanced JavaScript action, which returns the dimensions in the ImageMetaData object.


  • Place widget on a page, preferably with a full page layout and no other content.
  • Configure a close action, usually just Close page is sufficient.

Please note that the widget assumes to show the image fullscreen, so use a fullpage layout and take out any spacing.

The intended use of this widget is to show it without any other content on the page.

It is possible to put other content, like a header or footer, on the page, these will overlay the image.


Version: 3.0.0
Framework Version: 9.11.1
Release Notes: Replaced the pan/zoom function with another library as the one used up to now is no longer maintained.
Version: 2.1.0
Framework Version: 9.6.9
Release Notes: Mendix 9.6, new icons, tested with Atlas 3
Version: 2.0.0
Framework Version: 9.0.2
Release Notes: Mx9 release. Allow to open image viewer directly now as this works correctly now
Version: 1.1.0
Framework Version: 8.15.1
Release Notes: No functional changes. Updated internal dependencies to match Mx8.15
Version: 1.0.0
Framework Version: 8.9.0
Release Notes: Initial release