Author Topic: Limiting the number of images added to LightBox  (Read 6582 times)

0 Members and 1 Guest are viewing this topic.

Offline rohanrohanrohan

  • Full Member
  • ***
  • Posts: 200
    • View Profile
Limiting the number of images added to LightBox
« on: June 15, 2003, 09:44:39 PM »
Hi guys

need to know how to limit the number of images added to lightbox.

Reason cause I suspect many people are adding all the images in my gallery and downloading all at once. This can cause server performance degradation.

So i think this feature would be useful for everyone with large galleries

Thanks

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Limiting the number of images added to LightBox
« Reply #1 on: June 16, 2003, 03:42:07 PM »
You migh also consider simply removing the zip download button from the lightbox template.  This is far easier to do and will require your users to download each file on its own.

Offline rohanrohanrohan

  • Full Member
  • ***
  • Posts: 200
    • View Profile
Limiting the number of images added to LightBox
« Reply #2 on: June 16, 2003, 04:40:52 PM »
but would prefer to keep the lightbox option as its very useful. so how to limit the number of images added to lightbox?

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
Limiting the number of images added to LightBox
« Reply #3 on: June 16, 2003, 10:00:34 PM »
there is no sollution for this, sry.
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 Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Limiting the number of images added to LightBox
« Reply #4 on: June 16, 2003, 10:47:09 PM »
Please read my previous post carefully.  My suggestion has nothing to do with removing the lightbox.

Offline rohanrohanrohan

  • Full Member
  • ***
  • Posts: 200
    • View Profile
Limiting the number of images added to LightBox
« Reply #5 on: June 16, 2003, 11:17:45 PM »
ok thanks for your helkp  anywyas.

Offline ropey

  • Pre-Newbie
  • Posts: 6
    • View Profile
    • http://www.fotobasen.no
Limiting the number of images added to LightBox
« Reply #6 on: June 17, 2003, 02:16:46 AM »
Quote from: Chris
You migh also consider simply removing the zip download button from the lightbox template.  This is far easier to do and will require your users to download each file on its own.


I have removed the zip download button from my lightbox and details pages, but would like to have a download button on the lightbox page for every single image so a user doesn't have to click the picture first and then press the normal download button. (saves bandwidth as well)

any idea on how to create a download button for every single image in the lightbox page?
Thanks,

Ropey

I used to have one really good friend, then i stopped talking to myself!

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Limiting the number of images added to LightBox
« Reply #7 on: June 17, 2003, 03:24:21 AM »
Just add
Code: [Select]
{download_button} to the thumbnail_bit.html template.

Note that this will add the download button to category thumbnails as well.