set current image's data in a global var and use it for saving bookmarks as well...