ZenphotoCMS Forum
How to print code in the middle of printing images - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: How to print code in the middle of printing images (/thread-12920.html)



How to print code in the middle of printing images - GoodFree - 2017-06-04

Hi,
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?




How to print code in the middle of printing images - acrylian - 2017-06-05

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.