Its available on the website in the downloads section
http://cpmfetch.fistfullofcode.comIf there is a dev version higher than 1.1.0 then I suggest that instead (that will have fixes in it)
Okay, I don't have all the features done, but I have gone a reworked all of the html generation routines and a few other internals. So I figured I would get it out as early as possible if anyone wants to play with it. There are some neat new things though:
USER GALLERIES ARE CATEGORY 1Thats right, unlike before any request for a category #1 will be translated internally to represent any publicly viewable user galleries.
IMPROVED STYLES AND OPTIONS SUPPORTPart of the aforementioned improvements make it much easier for the code to handle all of the options. So more of the same style tags and alt tags, etc are handled by all the functions the same. Before some of them behaved differently
NEW FUNCTIONS (3 of them)cpm_viewLastAddedMediaFrom( $rows, $cols,$source, $optionHash)
cpm_viewRandomMediaFrom( $rows, $cols,$source, $optionHash)The above two are essentially the same except one returns the last media added and one returns random selections. The difference between these calls and the already existing calls is that these accept the $source. The souce is a string containing either or both "albums= " and "cat= "
Here are some examples:
"album=16,4,6:cat=5,6"
This one will only use albums #16,4,6 and anything from categories 5 and 6.
"cat=6,1"
Uses only category 6 and any user galleries
"album=14"
Uses only album 14
Note, the format has eithe cat or album, a comma seperated list of numbers. If you do both cat and album they must be seperated by a colon ( : )
cpm_showAlbumsUpdatedOverLastDays( # days )This shows two columns. The first column has an image from the album it found a recently added picture in. The next column shows how many new were added, the title of the album, what category and the description.
Looks like this with some css styling applied:
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.fistfullofcode.com%2Fprojects%2Fcopperminefetch%2Fshowalbumsupdatedoverlastdays_example1.jpg&hash=051deb4376de0640e161a32c1766a7f774e1a65a)
Like I said, this is a dev version... Everything looks okay, but of course there is a reason we have dev versions!