Photo Viewer

Improve this doc

$ ionic plugin add com-sarriaroman-photoviewer

Repo: https://github.com/sarriaroman/photoviewer

This plugin can display your image in full screen with the ability to pan, zoom, and share the image.

Usage

import { PhotoViewer } from 'ionic-native';

PhotoViewer.show('https://mysite.com/path/to/image.jpg');

PhotoViewer.show('https://mysite.com/path/to/image.jpg', 'My image title', {share: false});

Static Members

show(url, title, options)

Shows an image in full screen

Param Type Details
url string

URL or path to image

title string
options any

API

Native

General