The context menu is really for options relating to the specifically highlighted file. If Pictureflow is to be integrated, it should probably be by some generic way for the Database to use Plugins as filters. Pass a list to the plugin, and accept a list back from them, or something. An abstraction that's expandable, if at all possible.
But touching the "core" of Rockbox is dangerous, relative to just expanding the functionality within the plugin.