fayans said:
Thats what I initially thought so but I have folders named 2006, 2017 and I don't remember they were created in year 2006 or 2017 for that matter.
You must have some weird settings on one of your cameras since somewhere in your image library there are pictures that think they were taken then! When iPhoto is working, you should be able to browse by calendar and see what they are.
Library.iPhoto?? How about iPhoto.db, Dir.data or others?
No, the entire iPhoto Library folder with all the subfolders etc that are inside in it. When you go into your Pictures folder from the Finder sidebar, you should see it there.
Things like 'last roll' and album 'abc' aren't held in duplicate folders in the Finder. The iPhoto.db and iPhoto.library files reference each image and tell iPhoto which were the last ones created, which ones are in which albums, which metadata goes with each, whether you're working from the original or an edited image etc. That's the reason that working outside iPhoto doesn't work - you change something from the Finder, and the iPhoto database can't update itself.
If you want to edit from iPhoto, then set Preferences to edit in your chosen external image editor, then instead of opening the image up in the Edit window in iPhoto, it will allow you to edit in Photoshop, Elements or whatever you've chosen and when you save it there, it will automatically save back to iPhoto too and update the database accordingly.
There are apparently ways to try to trick iPhoto into fixing your library when you've screwed it up. Sometimes a simple rebuild can help, sometimes it can make things worse. Go and have a read on Apple's discussion boards (under Support on apple.com) about iPhoto. There are several threads where people have done what you have and some very knowledgeable people who can talk you through the process of trying to recover it.
If the worst comes to the worst, you may have to rename the current iPhoto library and move it somewhere, restart iPhoto with a new library and re-import all the images from the old folders.