Unfortunately, you can't. There is a problem with the way JomSocial creates URLs for photos. For both of the URLs above, the URL is actually the exact same. The anchor expression (#1234 at the end of the URL) is something that is never sent from the browser to the server and not something we'd be able to trigger off of to create a specific URL for just that image. Facebook also won't recognize the #ID at the end, as you'll see in the following link:
developers.facebook.com/tools/debug/og/o...%23photoid%3D4283883
The "Canonical" URL it uses will always be stripped off since it's not part of the real URL.
You'd need to talk to JomSocial to see if there's any method to get a full qualified URL that can be reached without using any Javascript to see the image you want to Like. If that URL exists, then we could create a Like button for each image. Until then though, we'd only be able to create a Like button that works for the album home page.
Hope that makes sense,
Alex