Dreamers’ LAB : Image Viewer
Today I present my Image Viewer extension. You can use this extension to view images like Facebook and Instagram etc. The user can double tap or pinch to zoom. It supports all images : URL, assets, local.
Create Image Viewer in a layout.
Layout : Arangements, Cardviews etc.
Path : Path to image. You can change it later
Event triggered when scale changes. You can find current scale, x and y positions.
Change image path. It supports all images : URL, assets, local.
Set animation duration in milli seconds
Enable or disable zoom
Set initial scale type of image.
Avaliable image scale types
NOTE : The extension loads images asynchronously but doesn’t support caching. The caching issue can be hopefully fixed if @DevYB makes slight changes in his extension.