With two buttons I can increase and decrease the imagePreviewId to scroll through the pictures.
The pictures are geo tagged, so that you can see the position on the map widget. There I want to color the image that is previewed in the extension by this code: