4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: sparky on May 17, 2009, 06:28:09 PM

Title: [REQ] How to "View All Photos" in entire gallery?
Post by: sparky on May 17, 2009, 06:28:09 PM
I searched this forum and hope I didn't miss anything before posting.

I have over 400 photos in dozens of categories.

I was wondering if it's possible to be able to allow all users to see all photos at once.  As it stands, they must look inside each category.  With a single link it would be nice to show all photos in one master category as well.

version 1.7.2

Thank-you!
Title: Re: [REQ] How to "View All Photos" in entire gallery?
Post by: Rembrandt on May 22, 2009, 09:24:28 PM
Hi!

<a href="./search.php?search_user=sparky">All Pictures</a>

mfg Andi
Title: Re: [REQ] How to "View All Photos" in entire gallery?
Post by: sparky on May 23, 2009, 06:46:35 AM
Hi!

<a href="./search.php?search_user=sparky">All Pictures</a>

mfg Andi

Thanks for your response.  Your suggestion displays all photos but only those uploaded by me....  I'm not the only user though so it doesn't display everything in the gallery.

I ended up manually editing the database file by adding a new keyword to all 400+ photos and then searching by this new common keyword.  It's such a sloppy solution and will easily break as soon as somebody uploads new photos without the common keyword.

Really hoping this was already solved here with a simple code modification.   :?
Title: Re: [REQ] How to "View All Photos" in entire gallery?
Post by: V@no on May 23, 2009, 07:28:41 AM
search.php?search_keywords=*** should do it ;) (note number of asterisks "*" must be as the minimum keyword length set in includes/constants.php, default it's 3)
Title: Re: [REQ] How to "View All Photos" in entire gallery?
Post by: Rembrandt on May 23, 2009, 07:37:57 AM
Hi!
@Vano = Mastermind  :D

mfg Andi
Title: Re: [REQ] How to "View All Photos" in entire gallery?
Post by: sparky on May 23, 2009, 04:28:02 PM
search.php?search_keywords=*** should do it ;) (note number of asterisks "*" must be as the minimum keyword length set in includes/constants.php, default it's 3)

Thank-you for your response.

For whatever reason, the solution did not work. 

search.php?search_keywords=***

"Your search resulted in no matching records."

:?

In constants.php, MIN_SEARCH_KEYWORD_LENGTH is set to 3

4images version 1.7.2
Title: Re: [REQ] How to "View All Photos" in entire gallery?
Post by: V@no on May 23, 2009, 10:23:35 PM
I forgot we have it in FAQ:
How can I show all images of my 4images website at once (http://www.4homepages.de/forum/index.php?topic=13990.0)
Title: Re: [REQ] How to "View All Photos" in entire gallery?
Post by: sparky on May 23, 2009, 10:52:18 PM
I forgot we have it in FAQ:
How can I show all images of my 4images website at once (http://www.4homepages.de/forum/index.php?topic=13990.0)

OK thank-you.  Looks good.

I'll give it a try and let you know.