$(document).ready(function(){ $("#gallery").unitegallery({ gallery_theme: "tiles", tiles_type: "justified", tiles_justified_row_height: 200, tiles_justified_space_between: 7, }); });