Inline loader.gif in the CSS file

The non-lightbox spinner seems to load at the end, after the actual
images being loaded. This makes the spinner pointless because it's
never seen. As it's reasonably small, try to add it to the CSS file
to see if it works better...
Generate thumbnails