A while ago I discovered that if I delete a photo directly from within the file system (that is, in the /var/mobile/Media/DCIM/100APPLE directory), either locally or remotely (via SSH session, WinSCP etc.), the native Photos app will still display that photo's thumbnail (but if I tap on it, it won't open any photo, of course). So I also had to "delete" the remnant the usual way, within the Photos app.
I forgot this when I synced the Photos via WinSCP (by "synced" I mean I added several new photos from my computer's drive to iPad using iPad's SSH server and WinSCP client on the computer). The Photos app displays "official" photos (those from before), but if I check with iFile, there are about 80 more files/photos that are not displayed in Photos. What's the quickest way to solve this, is it possible to somehow reindex the photos manually (so that the Photos app picks and displays all of them)? Or should I just download all of them to a computer, delete them on iPad, and reimport them to iPad by means of a "conventional" way?
(I put this into the Hacking section, as it requires JB to work this way.)