alex_wm,
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
</head>
<body>
<button>Add</button>
<pre></pre>
<script>
var arr = localStorage.arr;
arr = arr ? JSON.parse(arr) : [];
function addArr()
{
var item = {};
item['name'] = 'имя';
item['image'] = 'изображение';
arr.push(item);
showArr();
}
function showArr()
{
var jsonArr = JSON.stringify(arr, null, '\t');
document.querySelector('pre').textContent = localStorage.arr = jsonArr
}
showArr()
document.querySelector('button').addEventListener('click', addArr);
</script>
</body>
</html>