Author Topic: [REQ] How to "View All Photos" in entire gallery?  (Read 6785 times)

0 Members and 1 Guest are viewing this topic.

Offline sparky

  • Newbie
  • *
  • Posts: 19
    • View Profile
[REQ] How to "View All Photos" in entire gallery?
« 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!

Rembrandt

  • Guest
Re: [REQ] How to "View All Photos" in entire gallery?
« Reply #1 on: May 22, 2009, 09:24:28 PM »
Hi!

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

mfg Andi

Offline sparky

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: [REQ] How to "View All Photos" in entire gallery?
« Reply #2 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.   :?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [REQ] How to "View All Photos" in entire gallery?
« Reply #3 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)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Rembrandt

  • Guest
Re: [REQ] How to "View All Photos" in entire gallery?
« Reply #4 on: May 23, 2009, 07:37:57 AM »
Hi!
@Vano = Mastermind  :D

mfg Andi

Offline sparky

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: [REQ] How to "View All Photos" in entire gallery?
« Reply #5 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

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [REQ] How to "View All Photos" in entire gallery?
« Reply #6 on: May 23, 2009, 10:23:35 PM »
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline sparky

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: [REQ] How to "View All Photos" in entire gallery?
« Reply #7 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

OK thank-you.  Looks good.

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