zenphoto forums » General Zenphoto Discussion

How to print code in the middle of printing images

(2 posts)
  • Started 1 month ago by GoodFree
  • Latest reply from acrylian


  1. GoodFree

    Joined: May '17
    Posts: 6

    I got a question regarding the Album pages. In the admin panel we can specify how many photo thumbnails we want on the album page. But can we tell zenphoto to print 15 images for, then print some code(say ad code) and then print 15 more images?

    Posted 1 month ago #
  2. Zenphoto development team

    Zenphoto team
    Joined: Jul '07
    Posts: 16,796

    If you want ads to be mixed between the images you need to modify the next_image() loop on your theme template. Count to 15 and then add the advertisement.

    Don't forget to read the Forum rules and usage resources
    Posted 1 month ago #

RSS feed for this topic


You must log in to post.