Retrieving filename

I got this code from sbillard I think, to be able to show the filename underneath the image title:

`<?php echo $_zp_current_image->name ?>`

In 1.2.2. the filename isn't showing up anymore, so I guess something has changed in the code. So my question is how can I change it to get my filename back :).

Comments

  • acrylian Administrator, Developer
    It is now `filename` instead of `name`.
  • Thanks! :)
  • `name` never should have worked. It was supposed to do something different (and not so useful) but the implementation was flawed and it worked exactly like the `filename` attribute.
Sign In or Register to comment.