Your htaccess has not been modified right? You have not modified your showgallery.php script rigth?
Your .htaccess file exists in your photopost folder right?
I have never seen such a thing where one part would work and one would not provided your server supports SEO urls and the .htaccess file exists.
I would suspect your htaccess does not exist as there are lots more different SEO urls that do not work.