Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

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:

<script src="jquery.beautiful-images.js"></script>

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.

<div id="sloth"></div>
<script>
  $( document ).ready(function() {
    beautifulImage("#sloth",500,100);
});
</script>

About

jquery script to set place holder images

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors