LH Image Gallery replaces LH Image Url. Activate LH Image Gallery, check a gallery post, then deactivate LH Image Url. There is nothing to migrate: galleries are read from the posts themselves.
Old LH Image Url links keep working. They are redirected with a 301 before LH Image Url would handle them, so this works while both plugins are active:
lh_image_url-gallery=1, with or without image_ids) goes to the photo’s page on the post it is attached to, when that post has the photo in a gallery. Otherwise it goes to the image file. Any image_ids value is ignored.lh_image_url-single=1) goes to the image file.The image_ids query string that made every LH Image Url gallery link unique, and turned galleries into a crawl trap, is gone: each photo now has one URL.