When all galleries generate id=0 that means "database troubles".
Usually this kind of problems are caused by a wrong migration procedure. Look at the list of tables of your database and check if you have these 2 tables with all lowercase letters:
If you see them then you need to fix the name, run the following query:
rename table wp_finaltiles_gallery to wp_ftg_temp
rename table wp_ftg_temp to wp_FinalTiles_gallery rename table wp_finaltiles_gallery_images to wp_ftg_images_temp
rename table wp_ftg_images_temp to wp_FinalTiles_gallery_images
Be sure to replace prefix wp_ with yours (if needed).