HTML image gallery managed with JSON