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
- Host: GitHub
- URL: https://github.com/sproogen/beautiful-images
- Owner: sproogen
- Created: 2014-10-31T16:03:47.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-31T16:28:11.000Z (over 11 years ago)
- Last Synced: 2025-03-04T15:32:54.632Z (over 1 year ago)
- Homepage:
- Size: 152 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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);
});
```