Fixed problem of when the gallery and links to media files usually are mixed within a page. version 3.0
Works with GalleryLink. version 3.0
Works with MediaLink. version 3.0

git-svn-id: https://plugins.svn.wordpress.org/simple-masonry-gallery/trunk@997905 b8457f37-d9ea-0310-8a92-e5e31aec5664