I've just made a few minor updates to the site (next/previous page arrows on image pages, removed the currently viewed item from the Masonry grid, updated to latest version of Processwire) which have all been uber easy to implement. I also made one more change that works perfectly on my local machine, but when uploaded to the server it's suddeny stopped working.
One of the items on the site is an animated gif, but when the thumbnail image that appears in the masonry grid is created it breaks the gif and shows only the first frame (in this case a rectangle of plain green). What I'd like is for the animation to show in the grid. My first thought was to detect if the page image was a gif, and then display the original file in the grid if this was the case, instead of creating a thumbnail. There are a number of drawback to this aproach, but I couldn't get it to work anyway so...
Instead I decided to create an extra field for a preview image. If the image is an animated gif I create the full size image, then a smaller version to use as the preview. If a preview image exists this is used instead of generating a thumbnail. This works perfectly on my local setup, however on the live site it isn't returning the correct path to the image.
Any ideas why this might be?