Patched media_gallery #2515 #2100

http://drupal.org/files/media_gallery-lightbox_double_file-1977822-1.patch
#2515