Extensions
ImageSlider icon

ImageSlider

Swipe through pictures from a list or a folder. Long-press a picture to delete it.

23 September 2026v1.0
$15
Media

About

ImageSlider is a visible gallery. Drop it on the screen, then pass the file paths you already keep in a list, or point LoadFolder at a Pictures directory. Swipe, or call Next and Previous. The counter can read 2 / 5 or Bild {index} von {count}. LongClick gives you the picture so DeleteImage can remove it from the slider and delete the file when the app is allowed to. Web links are rejected. Camera files, image-picker content URIs, and assets stay on the device. There is no INTERNET permission. Android 5.0 (API 21) or newer. Reading a shared Pictures folder on Android 13+ asks for photo access.

Features

  • Visible gallery: swipe, Next, and Previous
  • SetImages from the list of paths you already keep
  • LoadFolder reads jpg, png, webp, and gif files in one folder
  • Counter format, so Bild {index} von {count} works
  • LongClick plus DeleteImage, with ImageDeleted.fileDeleted
  • Images returns the list after a delete so you can save it
  • No INTERNET permission. Web links are rejected
  • Android 5.0 (API 21) or newer

Documentation

Swipe through pictures from a list or a folder. Long-press a picture, then call DeleteImage. Paths stay on the device. Web links are rejected.

Example

Drop ImageSlider on the screen and set its width and height to fill parent. The blocks load the file paths you already keep in a list, show Bild 2 von 5, and delete the picture that was held down.

  • CounterFormat is Bild {index} von {count}. {index} starts at 1.
  • Pass file paths, not the Canvas. After a photo is copied into Pictures, add that path to the list, then set ImageSlider.Images to the list.
  • LoadFolder is the other way in: pass the Pictures directory. It reads that folder only, not subfolders.
  • Web links are rejected. Camera files, image-picker content URIs, and assets stay on the device.
  • LongClick does not delete by itself. Call DeleteImage with the index, then set your list to ImageSlider.Images.
  • DeleteImage removes the picture from the slider and deletes the file when the app is allowed to. Assets and many image-picker content URIs leave the slider only. ImageDeleted.fileDeleted says whether the file itself was deleted.
  • On Android 13 and newer, reading a shared Pictures folder asks for photo access. Files in the app private folder do not.

Load

Screen.Initialize sets ImageSlider.Images to the list of paths. Loaded fires with the count. ImageChanged fires with the picture now on screen. Swipe left or right, or call Next and Previous. The counter uses CounterFormat.

Delete

LongClick receives the index and the path. DeleteImage removes that picture and tries to delete the file. ImageDeleted fires, and the blocks save ImageSlider.Images back into the list. ErrorOccurred shows a notifier when a path cannot be read.

Docs26

ImageChanged

Event

Fired when the picture on screen changes. index starts at 1.

ParameterType
indexnumber
pathtext
countnumber

Click

Event

Fired when the picture is tapped. index starts at 1.

ParameterType
indexnumber
pathtext

LongClick

Event

Fired when the picture is held down. Call DeleteImage with index to remove it. index starts at 1.

ParameterType
indexnumber
pathtext

ImageDeleted

Event

Fired after DeleteImage. fileDeleted is true only when the file was removed from the device. The picture is already gone from the slider.

ParameterType
indexnumber
pathtext
fileDeletedboolean

Loaded

Event

Fired after Images or LoadFolder replaces the list, including when the list is empty.

ParameterType
countnumber

ErrorOccurred

Event

Fired when a picture or folder cannot be read, or an index is out of range.

ParameterType
messagetext
Blocks26
ImageSlider block 1ImageSlider block 2ImageSlider block 3ImageSlider block 4ImageSlider block 5ImageSlider block 6ImageSlider block 7ImageSlider block 8ImageSlider block 9ImageSlider block 10ImageSlider block 11ImageSlider block 12ImageSlider block 13ImageSlider block 14ImageSlider block 15ImageSlider block 16ImageSlider block 17ImageSlider block 18ImageSlider block 19ImageSlider block 20ImageSlider block 21ImageSlider block 22ImageSlider block 23ImageSlider block 24ImageSlider block 25ImageSlider block 26

Compatible platforms

MIT App InventorKodularNiotronAndroid BuilderThunkable

Related extensions