I hope you're using the latest version
grab this rar file scripts.rar and use the contents CAREFUL when copying the gallery_setup.rpy so you don't lose what you have already setup
the alternate thumbnail must be the same size as the other gallery items