If your thumbnail and image resizing isn’t quite working in Gallery (system stops before reaching the end, there are broken images around), here are some thoughts.

  1. Uninstall and reinstall your graphics toolkits
  2. Use NetPBM as the first one, ImageMagick as the second and GD third (Why? NetPBM is apparently better quality, GD requires PHP system memory)