The ~tai form performs as an i-adjective, so the polite past form is 撮りたかったです. Both の and こと can be used with 忘れる. Since の sounds more colloquial than こと, as in Yahoo!知恵袋, カメラを持ってくる/いくのを忘れました sounds more natural in that sentence. I would say more simply カメラを忘れた, though.
写真を撮りたかったんですが、カメラを忘れてしまいました。