My gallery is located @ http://mitchpileggi.org/gallery and I'm running the latest stable version of 1.5.16. I want to include a rotating image in the sidebar of my wordpress themed site. I'd like to know if there is a plugin that allows for this? What I mean is, I don't want the last images uploaded as I have in my theme currently, I want to have a new image display as a sort of 'Photo of the Moment' kind of thing, but I want it from the gallery or a certain album. Is there a plugin that does this?
Thanks in advance.
NWN
Quote from: lurkalot on September 20, 2011, 09:56:13 AM
Use CpmFetch 2.0 found attached to the bottom of this post, http://forum.coppermine-gallery.net/index.php/topic,35450.0.html
Then read this post about making it work with Coppermine 1.5.xx http://forum.coppermine-gallery.net/index.php/topic,65412.0.html
It should do what you need. ;)
Andre:
I already have Cpmfetch for 2.0 running on the site with my Latest Images displayed. Is there anything else I can use or can I use two copies of the PHP coding, one for the latest images and one for the image of the moment? My main site is http://mitchpileggi.org and you'll see I already have the latest images running.
Thanks.
NWN
Quote from: nowordneeded on October 21, 2011, 04:23:31 PM
can I use two copies of the PHP coding, one for the latest images and one for the image of the moment?
I don't know, but I think so. Please also have a look at the CPMFetch docs:
Quotecpm_viewRandomMedia ( $rows, $columns, [array $options = ""])
cpm_viewRandomMediaFromAlbum ( $rows, $columns, $albumid, [array $options = ""])
cpm_viewRandomMediaFromCategory ( $rows, $columns, $catid, [array $options = ""])
cpm_viewRandomMediaFrom ( $rows, $columns, $source, [array $options = ""])
Andre:
So if it will work, I just use the coding from one of the lines you supplied?
Thanks.
NWN
I never used that plugin, so I cannot give further support. But if you're already using CPMFetch you should know how it works. Just use the correct function for the random images. The rest should stay the same, just give it a try.
Thanks so much. I'm closing this topic.
NWN