update url in galleryClass to include image attachment version to fix
browser cache problems.