image resizing works
closes #133 closes #134