zenphoto forums » General Zenphoto Discussion

Displaying photo credit info

(6 posts)
  • Started 4 years ago by muckydog
  • Latest reply from macalter
  1. muckydog

    Apprentice
    Joined: Jul '08
    Posts: 1

    Once I've populated photos in my album with credits, I'm not seeing them in the album display. Nor can I, for the life of me, see any way in the Admin of making credits visible. Any suggestions?

    Posted 4 years ago #
  2. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,767

    You have to add that output to your theme.

    Don't forget to read the Forum rules and usage resources
    Posted 4 years ago #
  3. tecsbrain

    Member
    Joined: Jul '08
    Posts: 10

    How about [code]<?php echo getCredit();?>[/code] or [code]<?php echo getImageCredit();?>[/code]? When I use that, I get a call to undefined function error. Any idea what I'm doing wrong?

    Posted 4 years ago #
  4. tecsbrain

    Member
    Joined: Jul '08
    Posts: 10

    Everything works better after a good night's sleep, including my brain. For those interested:

    <?php echo getImageData("credit") ;?>

    Posted 4 years ago #
  5. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,767

    Always a good idea to check the functions guide!

    Don't forget to read the Forum rules and usage resources
    Posted 4 years ago #
  6. macalter

    Contributor
    Joined: Mar '08
    Posts: 630

    I tried adding the code <?php echo getImageData("credit") ;?> to image.php underneath <?php printImageDesc(true); ?>
    and it doesn't display. I thought it was going to pickup the info from the Admin page Edit Album/Images line. It didn't do that either. I substituted 'credit' for the text I wished to display thinking maybe it needed to be hard coded. Nothing.

    Posted 4 years ago #

RSS feed for this topic

Reply

You must log in to post.