Member
Member
sketchy   2010-03-12, 05:28
#1

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!

Member
Member
sketchy   2010-03-12, 05:40
#2

.. oh.. docs are under 'plugins'
got it!

Member
Member
sketchy   2010-03-12, 05:45
#3

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!

Member
Member
kagutsuchi   2010-03-12, 05:57
#4

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.

Administrator
Administrator
acrylian   2010-03-12, 10:46
#5

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.)

Member
Member
sketchy   2010-03-13, 02:28
#6

Thanks. i found some useful code in one of the themes that i pulled out.

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