Sign in with
Sign up | Sign in

Code for online photo forum...

Last response: in Digital Camera
Share

Archived from groups: rec.photo.digital (More info?)

On Wed, 19 Jan 2005 23:46:47 -0000, "David Zou" <xzous@yahoo.co.uk>
wrote:

>Hi all:
>
>Thinking about hosting online photo forum...Instead of rebuilding the
>wheels, is there any free or cheap code available?
>
>Thanks for your information!
>
>David
>

It's called Gallery; your server needs to
be able to run PHP.

<http://gallery.menalto.com/modules.php?op=modload&name=...;

Here's an example of Gallery running:

<http://gallery.backcountry.net/&gt;



rafe b.
http://www.terrapinphoto.com

Archived from groups: rec.photo.digital (More info?)

rafe bustin <rafe.bustin@verizon.net> writes:

> On Wed, 19 Jan 2005 23:46:47 -0000, "David Zou" <xzous@yahoo.co.uk>
> wrote:
>
>>Hi all:
>>
>>Thinking about hosting online photo forum...Instead of rebuilding the
>>wheels, is there any free or cheap code available?
>>
>>Thanks for your information!
>>
>>David
>>
>
> It's called Gallery; your server needs to
> be able to run PHP.
>
> <http://gallery.menalto.com/modules.php?op=modload&name=...;
>
> Here's an example of Gallery running:
>
> <http://gallery.backcountry.net/&gt;

And it works well enough, but it *really* chews up the CPU and
bandwidth. It looks like it's preventing caching of *anything* -- so
when you go from an image page back to the thumbnail page, it
re-assembles and sends the thumbnail page each time.
--
David Dyer-Bennet, <mailto:D d-b@dd-b.net>, <http://www.dd-b.net/dd-b/&gt;
RKBA: <http://noguns-nomoney.com/&gt; <http://www.dd-b.net/carry/&gt;
Pics: <http://dd-b.lighthunters.net/&gt; <http://www.dd-b.net/dd-b/SnapshotAlbum/&gt;
Dragaera/Steven Brust: <http://dragaera.info/&gt;

Archived from groups: rec.photo.digital (More info?)

David Dyer-Bennet wrote:
>
> rafe bustin <rafe.bustin@verizon.net> writes:
>
> > On Wed, 19 Jan 2005 23:46:47 -0000, "David Zou" <xzous@yahoo.co.uk>
> > wrote:
> >
> >>Hi all:
> >>
> >>Thinking about hosting online photo forum...Instead of rebuilding the
> >>wheels, is there any free or cheap code available?
> >>
> >>Thanks for your information!
> >>
> >>David
> >>
> >
> > It's called Gallery; your server needs to
> > be able to run PHP.
> >
> > <http://gallery.menalto.com/modules.php?op=modload&name=...;
> >
> > Here's an example of Gallery running:
> >
> > <http://gallery.backcountry.net/&gt;
>
> And it works well enough, but it *really* chews up the CPU and
> bandwidth. It looks like it's preventing caching of *anything* -- so
> when you go from an image page back to the thumbnail page, it
> re-assembles and sends the thumbnail page each time.

I looked at one picture, and tried to go back, waited,
and closed the browser.

look at http://www.vircen.com/rpd

for a simple example of IDS.

> --
> David Dyer-Bennet, <mailto:D d-b@dd-b.net>, <http://www.dd-b.net/dd-b/&gt;
> RKBA: <http://noguns-nomoney.com/&gt; <http://www.dd-b.net/carry/&gt;
> Pics: <http://dd-b.lighthunters.net/&gt; <http://www.dd-b.net/dd-b/SnapshotAlbum/&gt;
> Dragaera/Steven Brust: <http://dragaera.info/&gt;
Related ressources

Archived from groups: rec.photo.digital (More info?)

rafe bustin <rafe.bustin@verizon.net> writes:

> On Wed, 19 Jan 2005 20:30:31 -0600, David Dyer-Bennet <dd-b@dd-b.net>
> wrote:
>
>>rafe bustin <rafe.bustin@verizon.net> writes:
>>
>>> On Wed, 19 Jan 2005 23:46:47 -0000, "David Zou" <xzous@yahoo.co.uk>
>>> wrote:
>>>
>>>>Hi all:
>>>>
>>>>Thinking about hosting online photo forum...Instead of rebuilding the
>>>>wheels, is there any free or cheap code available?
>>>>
>>>>Thanks for your information!
>>>>
>>>>David
>>>>
>>>
>>> It's called Gallery; your server needs to
>>> be able to run PHP.
>>>
>>> <http://gallery.menalto.com/modules.php?op=modload&name=...;
>>>
>>> Here's an example of Gallery running:
>>>
>>> <http://gallery.backcountry.net/&gt;
>>
>>And it works well enough, but it *really* chews up the CPU and
>>bandwidth. It looks like it's preventing caching of *anything* -- so
>>when you go from an image page back to the thumbnail page, it
>>re-assembles and sends the thumbnail page each time.
>
>
> It's server-side stuff, David. It's not
> chewing up your CPU time, it's chewing up
> the server's CPU time. And it's no more
> bandwidth than if it was static HTML code.

Yes, Rafe, I know. I write server-side stuff for a living. Thing is,
the server has to have enough CPU and bandwidth to support *all the
users* that are trying to view the photos. So implementations that
repeat work unnecessarily are expensive to run.
--
David Dyer-Bennet, <mailto:D d-b@dd-b.net>, <http://www.dd-b.net/dd-b/&gt;
RKBA: <http://noguns-nomoney.com/&gt; <http://www.dd-b.net/carry/&gt;
Pics: <http://dd-b.lighthunters.net/&gt; <http://www.dd-b.net/dd-b/SnapshotAlbum/&gt;
Dragaera/Steven Brust: <http://dragaera.info/&gt;

Archived from groups: rec.photo.digital (More info?)

On Wed, 19 Jan 2005 20:30:31 -0600, David Dyer-Bennet <dd-b@dd-b.net>
wrote:

>rafe bustin <rafe.bustin@verizon.net> writes:
>
>> On Wed, 19 Jan 2005 23:46:47 -0000, "David Zou" <xzous@yahoo.co.uk>
>> wrote:
>>
>>>Hi all:
>>>
>>>Thinking about hosting online photo forum...Instead of rebuilding the
>>>wheels, is there any free or cheap code available?
>>>
>>>Thanks for your information!
>>>
>>>David
>>>
>>
>> It's called Gallery; your server needs to
>> be able to run PHP.
>>
>> <http://gallery.menalto.com/modules.php?op=modload&name=...;
>>
>> Here's an example of Gallery running:
>>
>> <http://gallery.backcountry.net/&gt;
>
>And it works well enough, but it *really* chews up the CPU and
>bandwidth. It looks like it's preventing caching of *anything* -- so
>when you go from an image page back to the thumbnail page, it
>re-assembles and sends the thumbnail page each time.


It's server-side stuff, David. It's not
chewing up your CPU time, it's chewing up
the server's CPU time. And it's no more
bandwidth than if it was static HTML code.

In fact, your computer (the web client)
only sees static HTML generated on-the-fly
by server-side PHP code.

If you go to the homepage of my website
and hit your browser's refresh button,
the image is chosen randomly from a set
and then resized -- on the server. It's
done with PHP and ImageMagick, running
on the server.


rafe b.
http://www.terrapinphoto.com

Archived from groups: rec.photo.digital (More info?)

On Wed, 19 Jan 2005 23:21:27 -0600, David Dyer-Bennet <dd-b@dd-b.net>
wrote:

>rafe bustin <rafe.bustin@verizon.net> writes:

>> It's server-side stuff, David. It's not
>> chewing up your CPU time, it's chewing up
>> the server's CPU time. And it's no more
>> bandwidth than if it was static HTML code.
>
>Yes, Rafe, I know. I write server-side stuff for a living. Thing is,
>the server has to have enough CPU and bandwidth to support *all the
>users* that are trying to view the photos. So implementations that
>repeat work unnecessarily are expensive to run.


Cool.

I'm sure there are plenty of other image-gallery
programs and scripts around. "Gallery" is simple
to install and easy to manage; I use it myself
for photos that I share with family and friends.

For my own "commercial" website (such as it is)
I'd love to have it work via PHP and SQL... at
present, the upkeep and updating is a real PITA.
Gallery is far, far easier to maintain.


rafe b.
http://www.terrapinphoto.com

Archived from groups: rec.photo.digital (More info?)

Hi:

Loads and loads of thanks to you for all the replies....
I found gallery are running ok...maybe it is an offpeak time now? Anyway I
wont have too many access at the same time I guess.....

Sorry I am not sticking with the forum today and appolozige for the late
acknowledgement!

With best wishes!

David

"David Zou" <xzous@yahoo.co.uk> wrote in message
news:csmri5$rvt$1@gemini.csx.cam.ac.uk...
> Hi all:
>
> Thinking about hosting online photo forum...Instead of rebuilding the
> wheels, is there any free or cheap code available?
>
> Thanks for your information!
>
> David
>
Ask the community
!