Junior Member
Junior Member
demonsss   2018-09-28, 08:58
#1

I'm trying to see if I can squeeze a photoblog format out of the current version.

Basically the behavior I am trying to get is that when you load the index page it displays the most recent image. When I tried using the printDefaultSizedImage(getImageTitle()) function it of course spit out an error.

I tried using set_context(ZP_IMAGE) but that didn't do anything.

Can I just write `` or something?

I hope this post makes sense.

Administrator
Administrator
fretzl   2018-09-28, 12:26
#2

If you activate the _image_albumstatistics plugin you can use printLatestImages() which prints the latest image(s) by ID (the order zenphoto recognized the images on the filesystem)
See the documentation for its parameters (https://docs.zenphoto.org/function-printLatestImages.html)

There are also the printLatestImagesByDate() and printLatestImagesByMtime() functions.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.