Announcement

#1 2014-07-11 20:11:35

Gust
Member
2010-06-02
77

Random thumb image in start page

Is it possible to create a random image for each album on the start page? When refresh the page, visitors see another thumb image?

I tried with $thumbnail_url.= '&order=random';

I looking in the whole forum, but maybe I have my eyes on my back... or nobody has the same problem?

Offline

 

#2 2014-07-15 14:09:22

flop25
Piwigo Team
2006-07-06
7036

Re: Random thumb image in start page

check the local config and $conf['allow_random_representative'] and other variables


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2014-07-15 14:36:04

Gust
Member
2010-06-02
77

Re: Random thumb image in start page

Hello,

There are many files with $conf[]

Please can you tell us what we expecially must do? I'm not so technically. In what file must we change this?

Thanks

Last edited by Gust (2014-07-15 14:37:53)

Offline

 

#4 2014-07-15 14:37:31

flop25
Piwigo Team
2006-07-06
7036

Re: Random thumb image in start page

once again, we wrote a documentation http://piwigo.org/doc/doku.php?id=user_ … onf_locale


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#5 2014-07-15 14:39:46

Gust
Member
2010-06-02
77

Re: Random thumb image in start page

Yes, I read it, and there is a forum when we can't find it.

(update: thank you for give us the right file)

Last edited by Gust (2014-07-15 14:40:50)

Offline

 

#6 2014-07-15 14:43:30

flop25
Piwigo Team
2006-07-06
7036

Re: Random thumb image in start page

seriously! there is just a bunch of pages and this one is twice on the home page and highlighted. I don't know what to do more Should I put flashing arrows?


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#7 2014-07-15 14:45:33

Gust
Member
2010-06-02
77

Re: Random thumb image in start page

Ok. I'm work on it and I place the results here. So can other people in the feature with this problem give a sollution. Thanks

Offline

 

#8 2014-07-15 15:03:13

Gust
Member
2010-06-02
77

Re: Random thumb image in start page

It don't works

With the local editor plugin it don't change it. So, I upload the file config_default.inc.php and I change it. But after uploading it, there is no effect.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2021 · Contact