npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

pip-webui2-pictures

v1.1.13

Published

![](https://img.shields.io/badge/license-MIT-blue.svg)

Downloads

39

Readme

Picture controls

Images are essential for any application with graphical user interface. Pip.WebUI.Pictures module provides number of different controls to visualize and edit pictures.

Components

Picture view

Is the simplest control that loads from the server and visualizes a single image

Using

<pip-picture resize="false" class="square-xl rounded" defaultIcon="tag_faces" backgroundColor="#E53935" 
    foregroundColor="#FFFFFF" foregroundColorOpacity="1">
</pip-picture>

<pip-picture resize="false" class="square-xl" backgroundColor="#2196F3" src="./assets/boy.png"></pip-picture>

Example on the image

Picture edit

Control allows to set a single image and upload it to server

Using

Template:

<pip-picture-edit src="./assets/boy.png" defaultIcon="face" (onImageLoad)="onImageLoad($event)" 
    (onImageDelete)="onImageDelete($event)">
</pip-picture-edit>

Example on the image

Picture list

Control allows to upload a collection of images at once

Using

Template:

<pip-picture-list-edit [srcs]="sources"></pip-picture-list-edit>

Initialized data:

sources: string[] = [
    './assets/boy.png',
    './assets/girl2.png',
    './assets/boy2.png',
    './assets/girl.png'
];

Example on the image

Collage

Control visualizes a collection of images as random collage

Using

Template:

<pip-collage [srcs]="sources"></pip-collage>

Initialized data:

sources: string[] = [
    './assets/boy.png',
    './assets/girl2.png',
    './assets/boy2.png',
    './assets/girl.png'
];

Example on the image (7 pictures)

Add image

Dialog let user add image from different sources: from file, camera or web link. Uses dialogs that described below

Using

Template:

<pip-add-image (onImageLoad)="onImageLoad($event)"></pip-add-image>

Handler:

onImageLoad(results) {
    imageSource = results.img.url;
    imageLoadEvent.emit(results.img);
}

Example on the image

Dialogs

Camera dialog

Allows to get image from device's camera

Using

import { MatDialog } from '@angular/material';
import { PipCameraDialogComponent } from 'pip-webui2-pictures';

constructor(
        private dialog: MatDialog
    ) {

    }

    onCameraClick() {
        let dialogRef = this.dialog.open(PipCameraDialogComponent, {
            data: { img: null }
        });

        dialogRef.afterClosed().subscribe(result => {
            
        });
    }

Example on the image

Picture url dialog

Allows to get image from picture's url

Using

import { MatDialog } from '@angular/material';
import { PipPictureUrlDialogComponent } from 'pip-webui2-pictures';

constructor(
        private dialog: MatDialog
    ) {

    }

    onPictureUrlClick() {
        let dialogRef = this.dialog.open(PipPictureUrlDialogComponent, {
            data: { img: null }
        });

        dialogRef.afterClosed().subscribe(result => {
            
        });
    }

Example on the image

Installation

To install this module using npm:

npm install pip-webui2-pictures --save

License

This module is released under MIT license and totally free for commercial and non-commercial use."# pip-webui2-pictures"