The share thing with facebook link in our code has nothing to do with the facebook like feature. Flux in a box - PhotoPost Photo Gallery
If I click share we use this url which is valid http://www.facebook.com/sharer/sharer.php
the url shared is our gallery showphoto script link to that photo and the image. Not sure what your problem is as an example is not given.