updated gallery stuff to ttry and fix gallery images but no joy