Use materializa and sweet alert frameworks
{
"bcpg":{
"name":"Galería Portafolio"
},
"items":[
{
"media":"url1.jpg",
"title":"Título 1",
"filters":"logo,diseno,web",
"id":21
},
{
"media":"url2.jpg",
"title":"Título 2",
"filters":"psd,web",
"id":31
}
],
"settings":{
"columns":"4",
"category":null,
"postPerPage":"-1",
"order":"desc",
"orderby":"date"
}
}