Question: how do i recover deleted photos on my imac?
Answer: Open Photos.
Select Albums from the column on the left, and double-click Recently Deleted (in older versions of Photos you'll find Recently Deleted along the top).
You'll see thumbnails of photos and videos you've deleted, well, recently, with a caption under each one indicating how long it's got left.