![]() |
|
printImageStatistic and Hitcounter - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: printImageStatistic and Hitcounter (/thread-2975.html) |
printImageStatistic and Hitcounter - ZenTryOuter - 27-05-2008 Hi all, Just a lil' question : When you use the printImageStatistic (option:popular ) for one image, does that increment the hitcounter of that image ? thx printImageStatistic and Hitcounter - sbillard - 27-05-2008 The hitcounter is only incremented when the printImageStatistic and Hitcounter - ZenTryOuter - 28-05-2008 Oh , ok then. Thanks for replying ;-) ` printImageStatistic and Hitcounter - acrylian - 28-05-2008 Sorry, there is currently no option to get the actual hitcount together with the most popular functions. But it seems to make sense, I will add that the next days to the nightly. (BTW, it must be ` printImageStatistic and Hitcounter - ZenTryOuter - 28-05-2008 Thanks a lot ;-) Is it also possible to choose the orientation of the thumbnail ? printImageStatistic and Hitcounter - acrylian - 28-05-2008 Yes, with CSS. There is an CSS id attached to the list with the same name as the option ("popular" in this case) you can use. printImageStatistic and Hitcounter - ZenTryOuter - 28-05-2008 Oh :O printImageStatistic and Hitcounter - acrylian - 28-05-2008 The function for popular images generates a unordered html list that you can style via CSS to be horizontal. There is a CSS id attached named "popular" you can use to do that. printImageStatistic and Hitcounter - ZenTryOuter - 28-05-2008 Ok ;-) printImageStatistic and Hitcounter - acrylian - 28-05-2008 Actually the function generates a printImageStatistic and Hitcounter - ZenTryOuter - 28-05-2008 Are you sure ? `/**
*/ function printImageStatistic($number, $option, $album='', $showtitle=false, $showdate=false, $showdesc=false, $desclength=40) {
";
";
}` printImageStatistic and Hitcounter - acrylian - 29-05-2008 Sorry, you are right, it's an div in the 1.1.6 release, I confused it with the nightly that I as you might guess work mostly with and there it's been changed to a EDIT: You are more that right, I really confused something (too much functions). It's of course surrounded by a DIV...I am sorry for confusion. printImageStatistic and Hitcounter - ZenTryOuter - 29-05-2008 No problem ;-) printImageStatistic and Hitcounter - Barbara - 01-06-2008 [i] Sorry, there is currently no option to get the actual hitcount together with the most popular functions. But it seems to make sense, I will add that the next days to the nightly. printImageStatistic and Hitcounter - acrylian - 01-06-2008 Yes, the option to show the hitcount is in the nightly, but only for the "popular" option since that is where the hitcounter is directly related to. Does the hitcount makes sense with the latest?? Anyway, additionally you can there are now option to show rating and votes with "mostrated" ("votes (rating)") and "toprated" ("rating (votes)"). printImageStatistic and Hitcounter - Barbara - 01-06-2008 I think yes. I frequently update my gallery, the image count could help giving an idea of what's new (newer > less views, older > more views) printImageStatistic and Hitcounter - acrylian - 01-06-2008 But for that we actually have the "popular" images/albums function...:-) But well, it's not a big deal to add that. I will change the last parameter ($showstatistic) so that you can choose it for all options. I will add this the next days. printImageStatistic and Hitcounter - Barbara - 01-06-2008 Thanks a lot acrylian! |