lastest Images function ??

i've looked in the function guide and can't find a way to getLatestImages. i have my gallery sorted by A-Z, perfect! but i want to show a number of Latest Uploads in a spot. like getLatestImages(10); .. or something to that affect.

how would i do this?
thanks!

Comments

  • .. oh.. docs are under 'plugins'
    got it!
  • is there a place to grab code that will display out the Stats plugin options in a nice thumbnails row or table? i'd really like to be able to use the Latest and Popular and Rated but i find it difficult to paste the function into my template and have it display nicely. seems like some hard PHP work to format them in to a nice grid or thumbnails.

    any help on this would be GREAT!
    :)
  • Sounds like you figured out to use the `image_album_statistics` plugin. :)

    To get the output formatted, you'll need to use CSS (and maybe some HTML). You should be able to find plenty of resources out in the internet and maybe some examples to follow if you know exactly what you want.
  • acrylian Administrator, Developer
    The plugins print a unordered `
      ` list with some extra div around eveything. It of course requires CSS styling. Since this plugin is optional there are no predefined ones in the standard themes. It is possible to be styled quite flexible. Just look at the source code generated and add the needed css to your theme (example use of it on our themes section for example.)
  • Thanks. i found some useful code in one of the themes that i pulled out.
Sign In or Register to comment.