updated to latest gallery and theme, resized thumbnails using custom overwrite