Where you left off, current frame

what action is need to have a play button start playing from where you left off? i have a image slideshow and just want it to start and stop playing from the last image that was viewed.