code for file name and album folder name

Is there a function that yields the file name of the current image and album?

I'm currently using GetBareAlbumTitle and GetBareImageTitle, but that only works 'cause my titles are the same as my file names (which in general, isn't always true).

thanks!

Comments

  • You would have to use the object properties of `$_zp_current_album` and `$_zp_curent_image` You want `$_zp_current_album->name` and `$_zp_current_image->filename`
  • ok. excellent - thanks!
Sign In or Register to comment.