Forum OpenACS Development: Re: How do I get filename from photo_id? And album name from album_id?

the table pa_photos should have helpful columns, this after checking a really ancient version of photo-album. You can try looking at...

(your service)/packages/photo-album/sql/postgresql/photo-album-create.sql

to see what the data model is. You might have to become familiar with the content repository tho.