An open API service indexing awesome lists of open source software.

https://github.com/sproogen/beautiful-images

jquery script to set place holder images
https://github.com/sproogen/beautiful-images

Last synced: 5 months ago
JSON representation

jquery script to set place holder images

Awesome Lists containing this project

README

          

# Beautiful Images

Jquery script to select placeholder images for elements.

## Usage

First, include all the dependencies. All the files that you need (apart from jQuery) are in the `dist\` directory:

```html

```

This will load placeholder images on all elements with the `beautiful-image` class

Or run `beautifulImage(container, size, variation)` on the element you want with optional size and variation of the images you want to load.

```html

$( document ).ready(function() {
beautifulImage("#sloth",500,100);
});

```