I think you may have missed something when you read my original post.
Your suggestion works fine for the gallery page but not the favorites page, which always shows the photo gallery and not a slideshow regardless of the settings for ‘Show photo links’. If you look at the gallery_shortcode function in store.php you will see that it cannot do anything else as it is currently coded.
That’s why I need to know the hook to overwrite this function. Or will you be fixing this bug in a later release?
Thanks.