updated code to use wordpress loop. updated image sizes.