Can i made that the most viewed, most voted and random image will be not only 15?
I would like the amount of images available to see is equal to that loaded on the platform
thanks
Offline
sergix wrote:
Can i made that the most viewed, most voted and random image will be not only 15?
Yes you can. You can set the "top number".
1) install + activate the LocalFiles Editor plugin.
2) open [Administration > Plugins > LocalFiles Editor > Local config] and paste:
<?php $conf['top_number'] = 20; ?>
sergix wrote:
I would like the amount of images available to see is equal to that loaded on the platform
I don't understand what you mean. Do you mean the number of thumbnails on each page? (which is equal to the "Number of images per row" multiplied by "Number of rows per page")
Offline
I try to explain with the amount available to view..
I wish that the amount (now configured in 15) be the same of the total images loaded into the platform.
For example: today I have a total of 19 images loaded and it would be nice if coul be 19, tomorrow i load another 30 images and it would be nice if could be 59, and so on..
only if this is possible otherwise I thank you and I will do it manually.
Offline
So, let's say we have the following case:
* on day 1, 19 photos were added
* on day 3, 30 photos were added
I don't really understand what you want, because you seem to mean that $conf['top_number'] should be equal to the total number of photos, am I right? And for the most viewed, most voted and random image, I really don't understand why you have such a wish.
If you want to show all photos in these sections of your gallery, why don't you simply set:
<?php $conf['top_number'] = 999999; // that should always be bigger than your total number of photos ?>
Offline
I really like the most rated, most viewed, etc. .. I suppose that it is possible that someone may want to look at the pictures with this possibility instead of by album, I think it is better leaving unrestricted :-)
another question.. can i with the PWG STUFFS to display in the module 4 images of the most viewed photos, but that when user will surfing in it to be more .. like 999999
Offline
Where do i find the "locafile Editor plug-in"? It is not displayed inside the regular list.
The homepage shows only support for v2.3
localfile editor plugin is located in the plugin sections of your installation. You just need to activate it from there.
Offline
olc wrote:
The homepage shows only support for v2.3
I add version same piwigo 2.4.3
Offline
<?php
$conf['top_number'] = 20;
?>
It would be nice to have this as an admin menu option versus needing to research this forum and finding this answer and needing to add this to custom php. But thank you!
Offline