FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » photo gallery
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
photo gallery [message #177027] Thu, 16 February 2012 21:39 Go to next message
richard is currently offline  richard   
Messages: 213
Registered: June 2013
Karma: 0
Senior Member
Looking for a fairly simple photo gallery with a few features.
Menu on left with collapsing tree that allows only one branch open at a
time.
Thumbnails on right. with description.
When clicked on the full size image will appear in a modal lightbox.

You would think this would be fairly easy to find somewhere.
So far I haven't been able to locate what I want.

If anyone knows of such a script available, please post a link to it.
Re: photo gallery [message #177028 is a reply to message #177027] Thu, 16 February 2012 22:26 Go to previous messageGo to next message
Michael Vilain is currently offline  Michael Vilain
Messages: 88
Registered: September 2010
Karma: 0
Member
In article <e07f2j3vkz2c(dot)1bw7d0qdedrkm$(dot)dlg(at)40tude(dot)net>,
richard <member(at)newsguy(dot)com> wrote:

> Looking for a fairly simple photo gallery with a few features.
> Menu on left with collapsing tree that allows only one branch open at a
> time.
> Thumbnails on right. with description.
> When clicked on the full size image will appear in a modal lightbox.
>
> You would think this would be fairly easy to find somewhere.
> So far I haven't been able to locate what I want.
>
> If anyone knows of such a script available, please post a link to it.

You can drive the script by uploading the files in a directory via a web
interface or through ftp. A script can run off of a directory listing
or through a database. What you're asking for requires Javascript to be
running on the remote browser. Many people I know turn that function
off. How will your required script handle that situation?

Where have you looked already? There are a bunch of scripts that come
up in a google search of "php photo gallery scripts". Which ones have
you already evaluated?

[good things come to those who do their homework first rather than
having someone else do it for them]

--
DeeDee, don't press that button! DeeDee! NO! Dee...
[I filter all Goggle Groups posts, so any reply may be automatically ignored]
Re: photo gallery [message #177029 is a reply to message #177028] Fri, 17 February 2012 03:26 Go to previous messageGo to next message
richard is currently offline  richard   
Messages: 213
Registered: June 2013
Karma: 0
Senior Member
On Thu, 16 Feb 2012 14:26:02 -0800, Michael Vilain wrote:

> In article <e07f2j3vkz2c(dot)1bw7d0qdedrkm$(dot)dlg(at)40tude(dot)net>,
> richard <member(at)newsguy(dot)com> wrote:
>
>> Looking for a fairly simple photo gallery with a few features.
>> Menu on left with collapsing tree that allows only one branch open at a
>> time.
>> Thumbnails on right. with description.
>> When clicked on the full size image will appear in a modal lightbox.
>>
>> You would think this would be fairly easy to find somewhere.
>> So far I haven't been able to locate what I want.
>>
>> If anyone knows of such a script available, please post a link to it.
>
> You can drive the script by uploading the files in a directory via a web
> interface or through ftp. A script can run off of a directory listing
> or through a database. What you're asking for requires Javascript to be
> running on the remote browser. Many people I know turn that function
> off. How will your required script handle that situation?
>
> Where have you looked already? There are a bunch of scripts that come
> up in a google search of "php photo gallery scripts". Which ones have
> you already evaluated?
>
> [good things come to those who do their homework first rather than
> having someone else do it for them]

Dude, if I wanted JS, I would not be asking for a PHP script.
Why is it that everyone assumes a person who posts a question hasn't
already done the homework on searching?
that is precisely why I ask. Because the searching has failed to turn up
what I want.
Re: photo gallery [message #177030 is a reply to message #177029] Fri, 17 February 2012 04:44 Go to previous messageGo to next message
Evan Platt is currently offline  Evan Platt
Messages: 124
Registered: November 2010
Karma: 0
Senior Member
On Thu, 16 Feb 2012 22:26:40 -0500, richard <member(at)newsguy(dot)com>
wrote:

> Dude, if I wanted JS, I would not be asking for a PHP script.
> Why is it that everyone assumes a person who posts a question hasn't
> already done the homework on searching?
> that is precisely why I ask. Because the searching has failed to turn up
> what I want.

And that, bullis, is why no one wants to help you.
--
To reply via e-mail, remove The Obvious and .invalid from my e-mail address.
Re: photo gallery [message #177031 is a reply to message #177027] Fri, 17 February 2012 08:51 Go to previous messageGo to next message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma: 0
Senior Member
On Thu, 16 Feb 2012 16:39:28 -0500, richard wrote:

> Looking for a fairly simple photo gallery with a few features. Menu on
> left with collapsing tree that allows only one branch open at a time.

Client side feature, not a php feature.

> Thumbnails on right. with description.

Layout feature, not a php feature.

> When clicked on the full size
> image will appear in a modal lightbox.

Client side feature, not a php feature.

> If anyone knows of such a script available, please post a link to it.

What did you want the php to do?

Rgds

Denis McMahon
Re: photo gallery [message #177032 is a reply to message #177029] Fri, 17 February 2012 09:33 Go to previous messageGo to next message
Gregor Kofler is currently offline  Gregor Kofler
Messages: 69
Registered: September 2010
Karma: 0
Member
Am 2012-02-17 04:26, richard meinte:

> On Thu, 16 Feb 2012 14:26:02 -0800, Michael Vilain wrote:

>> [good things come to those who do their homework first rather than
>> having someone else do it for them]
>
> Dude, if I wanted JS, I would not be asking for a PHP script.
> Why is it that everyone assumes a person who posts a question hasn't
> already done the homework on searching?
> that is precisely why I ask. Because the searching has failed to turn up
> what I want.

If you had done your homework, you would have figured out, that all the
things you are requesting have nothing to do with PHP.

Gregor

--
http://vxweb.net
Re: photo gallery [message #177033 is a reply to message #177031] Fri, 17 February 2012 09:46 Go to previous messageGo to next message
M. Strobel is currently offline  M. Strobel
Messages: 386
Registered: December 2011
Karma: 0
Senior Member
Am 17.02.2012 09:51, schrieb Denis McMahon:
> On Thu, 16 Feb 2012 16:39:28 -0500, richard wrote:
>
>> Looking for a fairly simple photo gallery with a few features. Menu on
>> left with collapsing tree that allows only one branch open at a time.
>
> Client side feature, not a php feature.
>
>> Thumbnails on right. with description.
>
> Layout feature, not a php feature.
>
>> When clicked on the full size
>> image will appear in a modal lightbox.
>
> Client side feature, not a php feature.
>
>> If anyone knows of such a script available, please post a link to it.
>
> What did you want the php to do?

Show the photo gallery :-)

> Rgds
>
> Denis McMahon

But in fact, to the OP, we program this stuff ourselves if payed, no recommendation
so far.

/Str.
Re: photo gallery [message #177035 is a reply to message #177031] Fri, 17 February 2012 14:23 Go to previous messageGo to next message
richard is currently offline  richard   
Messages: 213
Registered: June 2013
Karma: 0
Senior Member
On 17 Feb 2012 08:51:47 GMT, Denis McMahon wrote:

> On Thu, 16 Feb 2012 16:39:28 -0500, richard wrote:
>
>> Looking for a fairly simple photo gallery with a few features. Menu on
>> left with collapsing tree that allows only one branch open at a time.
>
> Client side feature, not a php feature.
>
>> Thumbnails on right. with description.
>
> Layout feature, not a php feature.
>
>> When clicked on the full size
>> image will appear in a modal lightbox.
>
> Client side feature, not a php feature.
>
>> If anyone knows of such a script available, please post a link to it.
>
> What did you want the php to do?
>
> Rgds
>
> Denis McMahon

then why do we have PHP to begin with?
Or CGI? Why is the browser the only place to do this?
Why can't you answer a simple straight forward question?
Re: photo gallery [message #177036 is a reply to message #177035] Fri, 17 February 2012 14:59 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 2/17/2012 9:23 AM, richard wrote:
> On 17 Feb 2012 08:51:47 GMT, Denis McMahon wrote:
>
>> On Thu, 16 Feb 2012 16:39:28 -0500, richard wrote:
>>
>>> Looking for a fairly simple photo gallery with a few features. Menu on
>>> left with collapsing tree that allows only one branch open at a time.
>>
>> Client side feature, not a php feature.
>>
>>> Thumbnails on right. with description.
>>
>> Layout feature, not a php feature.
>>
>>> When clicked on the full size
>>> image will appear in a modal lightbox.
>>
>> Client side feature, not a php feature.
>>
>>> If anyone knows of such a script available, please post a link to it.
>>
>> What did you want the php to do?
>>
>> Rgds
>>
>> Denis McMahon
>
> then why do we have PHP to begin with?
> Or CGI? Why is the browser the only place to do this?
> Why can't you answer a simple straight forward question?

Richard, there are things you can do server side, and things you can do
client side. Denis is correct - these are client side features. PHP
runs on the server.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: photo gallery [message #177039 is a reply to message #177035] Fri, 17 February 2012 17:14 Go to previous messageGo to next message
Michael Vilain is currently offline  Michael Vilain
Messages: 88
Registered: September 2010
Karma: 0
Member
In article <12osdkwsw6x27(dot)zv4nerjzofo5$(dot)dlg(at)40tude(dot)net>,
richard <member(at)newsguy(dot)com> wrote:

> On 17 Feb 2012 08:51:47 GMT, Denis McMahon wrote:
>
>> On Thu, 16 Feb 2012 16:39:28 -0500, richard wrote:
>>
>>> Looking for a fairly simple photo gallery with a few features. Menu on
>>> left with collapsing tree that allows only one branch open at a time.
>>
>> Client side feature, not a php feature.
>>
>>> Thumbnails on right. with description.
>>
>> Layout feature, not a php feature.
>>
>>> When clicked on the full size
>>> image will appear in a modal lightbox.
>>
>> Client side feature, not a php feature.
>>
>>> If anyone knows of such a script available, please post a link to it.
>>
>> What did you want the php to do?
>>
>> Rgds
>>
>> Denis McMahon
>
> then why do we have PHP to begin with?
> Or CGI? Why is the browser the only place to do this?
> Why can't you answer a simple straight forward question?

Well, first off, you seem to expect newsgroups to be your own personal
consulting resource. I attempted to point you to a resource so you
could do the investigation and evaluation once you got stuck. That's
usually the nature of technical news groups--'help I'm stuck' rather
than 'let me do the work for you' help.

If you wanted an evaluation of 'these scripts are good', that's might
work for something generic like a e-commerce cart script or a MySQL
class but you had specific requirements you wanted _US_ to do the work
of evaluating and recommending. That looks like an intern's first
assignment or you're to busy to do the leg-work yourself OR you're just
lazy. Based on the tone of your response, I choose Carol Merril behind
door #3.

php is a SERVER-side scripting language like perl. It is most commonly
used to display dynamic content to a web browser or on a command-line
like a scripting language. The display features of your photo gallery
describe a web-based application. They are best implemented with
Javascript on the remote browser. php would construct a page of photos
with an embedded javascript and send the whole thing to the browser.
The user would interact with the script to select a photo, clicking on
the various elements until it does a POST or GET to the server, then php
would parse the response and display more content to the browser. This
is basic web programming. Maybe you should start with the O'Reilley
books on php, javasecript, and mysql. They'll get you started so you
can ask more informed questions here.

If you want a good script repository, I like

http://www.phpclasses.org

multiple contributors and you can browse a specific type of code. What
you describe is often seen in Wordpress or Drupal multi-media pages.
You might look into implementing those content management systems as a
more complete solution than just a script.

Now go do your own research.

--
DeeDee, don't press that button! DeeDee! NO! Dee...
[I filter all Goggle Groups posts, so any reply may be automatically ignored]
Re: photo gallery [message #177044 is a reply to message #177035] Fri, 17 February 2012 18:57 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
richard wrote:
> On 17 Feb 2012 08:51:47 GMT, Denis McMahon wrote:
>
>> On Thu, 16 Feb 2012 16:39:28 -0500, richard wrote:
>>
>>> Looking for a fairly simple photo gallery with a few features. Menu on
>>> left with collapsing tree that allows only one branch open at a time.
>> Client side feature, not a php feature.
>>
>>> Thumbnails on right. with description.
>> Layout feature, not a php feature.
>>
>>> When clicked on the full size
>>> image will appear in a modal lightbox.
>> Client side feature, not a php feature.
>>
>>> If anyone knows of such a script available, please post a link to it.
>> What did you want the php to do?
>>
>> Rgds
>>
>> Denis McMahon
>
> then why do we have PHP to begin with?

to do something else entirely.


> Or CGI? Why is the browser the only place to do this?

Why is anything? Its the way the protocols work.


> Why can't you answer a simple straight forward question?

Because, frankly, you are too stupid to ask one.

I think I will leave you to Jerry.. He probably does know more than you
in this instance.
Re: photo gallery [message #177047 is a reply to message #177027] Fri, 17 February 2012 20:59 Go to previous messageGo to next message
Jeff North is currently offline  Jeff North
Messages: 58
Registered: November 2010
Karma: 0
Member
On Thu, 16 Feb 2012 16:39:28 -0500, in comp.lang.php richard
<member(at)newsguy(dot)com>
<e07f2j3vkz2c(dot)1bw7d0qdedrkm$(dot)dlg(at)40tude(dot)net> wrote:

> | Looking for a fairly simple photo gallery with a few features.
> | Menu on left with collapsing tree that allows only one branch open at a
> | time.
> | Thumbnails on right. with description.
> | When clicked on the full size image will appear in a modal lightbox.
> |
> | You would think this would be fairly easy to find somewhere.
> | So far I haven't been able to locate what I want.
> |
> | If anyone knows of such a script available, please post a link to it.

Easy enough done.
When page is accessed use php to gather the folder information and
display in the left column (create hyperlinks for each folder name)

When a user clicks on the folder name use AJAX to retrieve the folder
contents and display the thumbnails on the main section of the page.

Each image will call the modal lightbox to display the full sized
image.
Re: photo gallery [message #177048 is a reply to message #177047] Fri, 17 February 2012 21:14 Go to previous messageGo to next message
richard is currently offline  richard   
Messages: 213
Registered: June 2013
Karma: 0
Senior Member
On Sat, 18 Feb 2012 07:59:51 +1100, Jeff North wrote:

> On Thu, 16 Feb 2012 16:39:28 -0500, in comp.lang.php richard
> <member(at)newsguy(dot)com>
> <e07f2j3vkz2c(dot)1bw7d0qdedrkm$(dot)dlg(at)40tude(dot)net> wrote:
>
>> | Looking for a fairly simple photo gallery with a few features.
>> | Menu on left with collapsing tree that allows only one branch open at a
>> | time.
>> | Thumbnails on right. with description.
>> | When clicked on the full size image will appear in a modal lightbox.
>> |
>> | You would think this would be fairly easy to find somewhere.
>> | So far I haven't been able to locate what I want.
>> |
>> | If anyone knows of such a script available, please post a link to it.
>
> Easy enough done.
> When page is accessed use php to gather the folder information and
> display in the left column (create hyperlinks for each folder name)
>
> When a user clicks on the folder name use AJAX to retrieve the folder
> contents and display the thumbnails on the main section of the page.
>
> Each image will call the modal lightbox to display the full sized
> image.

Precisely. Now where can I find the premade script to do that with?
Re: photo gallery [message #177049 is a reply to message #177048] Fri, 17 February 2012 22:06 Go to previous messageGo to next message
Dave Pyles is currently offline  Dave Pyles
Messages: 7
Registered: October 2011
Karma: 0
Junior Member
richard wrote:
> On Sat, 18 Feb 2012 07:59:51 +1100, Jeff North wrote:
>
>> On Thu, 16 Feb 2012 16:39:28 -0500, in comp.lang.php richard
>> <member(at)newsguy(dot)com>
>> <e07f2j3vkz2c(dot)1bw7d0qdedrkm$(dot)dlg(at)40tude(dot)net> wrote:
>>
>>> | Looking for a fairly simple photo gallery with a few features.
>>> | Menu on left with collapsing tree that allows only one branch open at a
>>> | time.
>>> | Thumbnails on right. with description.
>>> | When clicked on the full size image will appear in a modal lightbox.
>>> |
>>> | You would think this would be fairly easy to find somewhere.
>>> | So far I haven't been able to locate what I want.
>>> |
>>> | If anyone knows of such a script available, please post a link to it.
>>
>> Easy enough done.
>> When page is accessed use php to gather the folder information and
>> display in the left column (create hyperlinks for each folder name)
>>
>> When a user clicks on the folder name use AJAX to retrieve the folder
>> contents and display the thumbnails on the main section of the page.
>>
>> Each image will call the modal lightbox to display the full sized
>> image.
>
> Precisely. Now where can I find the premade script to do that with?
http://lmgtfy.com/?q=php+image+gallery+script
Dave Pyles
Re: photo gallery [message #177050 is a reply to message #177048] Fri, 17 February 2012 22:08 Go to previous messageGo to next message
Beauregard T. Shagnas is currently offline  Beauregard T. Shagnas
Messages: 154
Registered: September 2010
Karma: 0
Senior Member
richard wrote:

> Precisely. Now where can I find the premade script to do that with?

<LOL!>

There'd be about fifty lines of code. Write your own; I did.

--
-bts
-This space for rent, but the price is high
Re: photo gallery [message #177051 is a reply to message #177049] Fri, 17 February 2012 23:22 Go to previous messageGo to next message
richard is currently offline  richard   
Messages: 213
Registered: June 2013
Karma: 0
Senior Member
On Fri, 17 Feb 2012 17:06:46 -0500, Dave Pyles wrote:

> richard wrote:
>> On Sat, 18 Feb 2012 07:59:51 +1100, Jeff North wrote:
>>
>>> On Thu, 16 Feb 2012 16:39:28 -0500, in comp.lang.php richard
>>> <member(at)newsguy(dot)com>
>>> <e07f2j3vkz2c(dot)1bw7d0qdedrkm$(dot)dlg(at)40tude(dot)net> wrote:
>>>
>>>> | Looking for a fairly simple photo gallery with a few features.
>>>> | Menu on left with collapsing tree that allows only one branch open at a
>>>> | time.
>>>> | Thumbnails on right. with description.
>>>> | When clicked on the full size image will appear in a modal lightbox.
>>>> |
>>>> | You would think this would be fairly easy to find somewhere.
>>>> | So far I haven't been able to locate what I want.
>>>> |
>>>> | If anyone knows of such a script available, please post a link to it.
>>>
>>> Easy enough done.
>>> When page is accessed use php to gather the folder information and
>>> display in the left column (create hyperlinks for each folder name)
>>>
>>> When a user clicks on the folder name use AJAX to retrieve the folder
>>> contents and display the thumbnails on the main section of the page.
>>>
>>> Each image will call the modal lightbox to display the full sized
>>> image.
>>
>> Precisely. Now where can I find the premade script to do that with?
> http://lmgtfy.com/?q=php+image+gallery+script
> Dave Pyles

let me shove it up your ass for you.
Re: photo gallery [message #177054 is a reply to message #177051] Sat, 18 February 2012 00:11 Go to previous messageGo to next message
Doug Miller is currently offline  Doug Miller
Messages: 171
Registered: August 2011
Karma: 0
Senior Member
richard <member(at)newsguy(dot)com> wrote in
news:h5tuer7vesjr$(dot)lm79y8bdn04g$(dot)dlg(at)40tude(dot)net:

> On Fri, 17 Feb 2012 17:06:46 -0500, Dave Pyles wrote:
>
>> richard wrote:
>>> On Sat, 18 Feb 2012 07:59:51 +1100, Jeff North wrote:
>>>
>>>> On Thu, 16 Feb 2012 16:39:28 -0500, in comp.lang.php richard
>>>> <member(at)newsguy(dot)com>
>>>> <e07f2j3vkz2c(dot)1bw7d0qdedrkm$(dot)dlg(at)40tude(dot)net> wrote:
>>>>
>>>> > | Looking for a fairly simple photo gallery with a few features.
>>>> > | Menu on left with collapsing tree that allows only one branch
>>>> > | open at a time.
>>>> > | Thumbnails on right. with description.
>>>> > | When clicked on the full size image will appear in a modal
>>>> > | lightbox.
>>>> > |
>>>> > | You would think this would be fairly easy to find somewhere.
>>>> > | So far I haven't been able to locate what I want.
>>>> > |
>>>> > | If anyone knows of such a script available, please post a link
>>>> > | to it.
>>>>
>>>> Easy enough done.
>>>> When page is accessed use php to gather the folder information and
>>>> display in the left column (create hyperlinks for each folder name)
>>>>
>>>> When a user clicks on the folder name use AJAX to retrieve the
>>>> folder contents and display the thumbnails on the main section of
>>>> the page.
>>>>
>>>> Each image will call the modal lightbox to display the full sized
>>>> image.
>>>
>>> Precisely. Now where can I find the premade script to do that with?
>> http://lmgtfy.com/?q=php+image+gallery+script
>> Dave Pyles
>
> let me shove it up your ass for you.
>
Now *there* is an attitude that's bound to get you lots of help.
Re: photo gallery [message #177055 is a reply to message #177054] Sat, 18 February 2012 00:23 Go to previous messageGo to next message
Dave Pyles is currently offline  Dave Pyles
Messages: 7
Registered: October 2011
Karma: 0
Junior Member
Doug Miller wrote:
> richard<member(at)newsguy(dot)com> wrote in
> news:h5tuer7vesjr$(dot)lm79y8bdn04g$(dot)dlg(at)40tude(dot)net:
>
>> On Fri, 17 Feb 2012 17:06:46 -0500, Dave Pyles wrote:
>>
>>> richard wrote:
>>>> On Sat, 18 Feb 2012 07:59:51 +1100, Jeff North wrote:
>>>>
>>>> > On Thu, 16 Feb 2012 16:39:28 -0500, in comp.lang.php richard
>>>> > <member(at)newsguy(dot)com>
>>>> > <e07f2j3vkz2c(dot)1bw7d0qdedrkm$(dot)dlg(at)40tude(dot)net> wrote:
>>>> >
>>>> >> | Looking for a fairly simple photo gallery with a few features.
>>>> >> | Menu on left with collapsing tree that allows only one branch
>>>> >> | open at a time.
>>>> >> | Thumbnails on right. with description.
>>>> >> | When clicked on the full size image will appear in a modal
>>>> >> | lightbox.
>>>> >> |
>>>> >> | You would think this would be fairly easy to find somewhere.
>>>> >> | So far I haven't been able to locate what I want.
>>>> >> |
>>>> >> | If anyone knows of such a script available, please post a link
>>>> >> | to it.
>>>> >
>>>> > Easy enough done.
>>>> > When page is accessed use php to gather the folder information and
>>>> > display in the left column (create hyperlinks for each folder name)
>>>> >
>>>> > When a user clicks on the folder name use AJAX to retrieve the
>>>> > folder contents and display the thumbnails on the main section of
>>>> > the page.
>>>> >
>>>> > Each image will call the modal lightbox to display the full sized
>>>> > image.
>>>>
>>>> Precisely. Now where can I find the premade script to do that with?
>>> http://lmgtfy.com/?q=php+image+gallery+script
>>> Dave Pyles
>>
>> let me shove it up your ass for you.
>>
> Now *there* is an attitude that's bound to get you lots of help.
His emails won't show up on my screen anymore.
Dave Pyles
Re: photo gallery [message #177056 is a reply to message #177048] Sat, 18 February 2012 01:35 Go to previous messageGo to next message
Michael Vilain is currently offline  Michael Vilain
Messages: 88
Registered: September 2010
Karma: 0
Member
In article <ccklj6dqaqm2(dot)1kp0p2iu69sar(dot)dlg(at)40tude(dot)net>,
richard <member(at)newsguy(dot)com> wrote:

> On Sat, 18 Feb 2012 07:59:51 +1100, Jeff North wrote:
>
>> On Thu, 16 Feb 2012 16:39:28 -0500, in comp.lang.php richard
>> <member(at)newsguy(dot)com>
>> <e07f2j3vkz2c(dot)1bw7d0qdedrkm$(dot)dlg(at)40tude(dot)net> wrote:
>>
>>> | Looking for a fairly simple photo gallery with a few features.
>>> | Menu on left with collapsing tree that allows only one branch open at a
>>> | time.
>>> | Thumbnails on right. with description.
>>> | When clicked on the full size image will appear in a modal lightbox.
>>> |
>>> | You would think this would be fairly easy to find somewhere.
>>> | So far I haven't been able to locate what I want.
>>> |
>>> | If anyone knows of such a script available, please post a link to it.
>>
>> Easy enough done.
>> When page is accessed use php to gather the folder information and
>> display in the left column (create hyperlinks for each folder name)
>>
>> When a user clicks on the folder name use AJAX to retrieve the folder
>> contents and display the thumbnails on the main section of the page.
>>
>> Each image will call the modal lightbox to display the full sized
>> image.
>
> Precisely. Now where can I find the premade script to do that with?

My guess, when you hire someone to write it for you if you can't do it
yourself.

We don't work for free, regardless of what you shove up my ass.

--
DeeDee, don't press that button! DeeDee! NO! Dee...
[I filter all Goggle Groups posts, so any reply may be automatically ignored]
Re: photo gallery [message #177057 is a reply to message #177054] Sat, 18 February 2012 01:38 Go to previous messageGo to next message
Beauregard T. Shagnas is currently offline  Beauregard T. Shagnas
Messages: 154
Registered: September 2010
Karma: 0
Senior Member
Doug Miller wrote:

> richard the sto0pid wrote:
>>
>> let me shove it up your ass for you.
>>
> Now *there* is an attitude that's bound to get you lots of help.

Knowing he is that way and always has been, is why I did not volunteer to
give him my existing script.

--
-bts
-This space for rent, but the price is high
Re: photo gallery [message #177058 is a reply to message #177054] Sat, 18 February 2012 02:00 Go to previous messageGo to next message
richard is currently offline  richard   
Messages: 213
Registered: June 2013
Karma: 0
Senior Member
On Sat, 18 Feb 2012 00:11:26 +0000 (UTC), Doug Miller wrote:

> richard <member(at)newsguy(dot)com> wrote in
> news:h5tuer7vesjr$(dot)lm79y8bdn04g$(dot)dlg(at)40tude(dot)net:
>
>> On Fri, 17 Feb 2012 17:06:46 -0500, Dave Pyles wrote:
>>
>>> richard wrote:
>>>> On Sat, 18 Feb 2012 07:59:51 +1100, Jeff North wrote:
>>>>
>>>> > On Thu, 16 Feb 2012 16:39:28 -0500, in comp.lang.php richard
>>>> > <member(at)newsguy(dot)com>
>>>> > <e07f2j3vkz2c(dot)1bw7d0qdedrkm$(dot)dlg(at)40tude(dot)net> wrote:
>>>> >
>>>> >> | Looking for a fairly simple photo gallery with a few features.
>>>> >> | Menu on left with collapsing tree that allows only one branch
>>>> >> | open at a time.
>>>> >> | Thumbnails on right. with description.
>>>> >> | When clicked on the full size image will appear in a modal
>>>> >> | lightbox.
>>>> >> |
>>>> >> | You would think this would be fairly easy to find somewhere.
>>>> >> | So far I haven't been able to locate what I want.
>>>> >> |
>>>> >> | If anyone knows of such a script available, please post a link
>>>> >> | to it.
>>>> >
>>>> > Easy enough done.
>>>> > When page is accessed use php to gather the folder information and
>>>> > display in the left column (create hyperlinks for each folder name)
>>>> >
>>>> > When a user clicks on the folder name use AJAX to retrieve the
>>>> > folder contents and display the thumbnails on the main section of
>>>> > the page.
>>>> >
>>>> > Each image will call the modal lightbox to display the full sized
>>>> > image.
>>>>
>>>> Precisely. Now where can I find the premade script to do that with?
>>> http://lmgtfy.com/?q=php+image+gallery+script
>>> Dave Pyles
>>
>> let me shove it up your ass for you.
>>
> Now *there* is an attitude that's bound to get you lots of help.

I am just so god damned sick and tired of this frickin attitude that
because a question was asked, some asshole comes around and replies with a
link to a search engine. Even more when it's "let me google that for you".
This tells me, that the poster believes you are so dumb and ignorant you
never heard of a search engine or know how they work.

I've spent a dozen or more hours searching for the answer. I ask here
because I figure maybe somebody just might have a website that has what I
want. But instead, I get my ass kicked around.

I'm also totally pissed off at the fact that google is more interested in
returning hits based upon ad linking. And thirty offshoots of what else
might even be remotely connected.

When I search for PHP what ever, out of the first 30 hits, 20 are
javascript stuff. Apparently, google must think JS is the same thing as
PHP.

And apparently Dave Styles isn't man enough to kick my ass himself for my
reply.
Re: photo gallery [message #177059 is a reply to message #177055] Sat, 18 February 2012 02:01 Go to previous messageGo to next message
richard is currently offline  richard   
Messages: 213
Registered: June 2013
Karma: 0
Senior Member
On Fri, 17 Feb 2012 19:23:20 -0500, Dave Pyles wrote:

> Doug Miller wrote:
>> richard<member(at)newsguy(dot)com> wrote in
>> news:h5tuer7vesjr$(dot)lm79y8bdn04g$(dot)dlg(at)40tude(dot)net:
>>
>>> On Fri, 17 Feb 2012 17:06:46 -0500, Dave Pyles wrote:
>>>
>>>> richard wrote:
>>>> > On Sat, 18 Feb 2012 07:59:51 +1100, Jeff North wrote:
>>>> >
>>>> >> On Thu, 16 Feb 2012 16:39:28 -0500, in comp.lang.php richard
>>>> >> <member(at)newsguy(dot)com>
>>>> >> <e07f2j3vkz2c(dot)1bw7d0qdedrkm$(dot)dlg(at)40tude(dot)net> wrote:
>>>> >>
>>>> >>> | Looking for a fairly simple photo gallery with a few features.
>>>> >>> | Menu on left with collapsing tree that allows only one branch
>>>> >>> | open at a time.
>>>> >>> | Thumbnails on right. with description.
>>>> >>> | When clicked on the full size image will appear in a modal
>>>> >>> | lightbox.
>>>> >>> |
>>>> >>> | You would think this would be fairly easy to find somewhere.
>>>> >>> | So far I haven't been able to locate what I want.
>>>> >>> |
>>>> >>> | If anyone knows of such a script available, please post a link
>>>> >>> | to it.
>>>> >>
>>>> >> Easy enough done.
>>>> >> When page is accessed use php to gather the folder information and
>>>> >> display in the left column (create hyperlinks for each folder name)
>>>> >>
>>>> >> When a user clicks on the folder name use AJAX to retrieve the
>>>> >> folder contents and display the thumbnails on the main section of
>>>> >> the page.
>>>> >>
>>>> >> Each image will call the modal lightbox to display the full sized
>>>> >> image.
>>>> >
>>>> > Precisely. Now where can I find the premade script to do that with?
>>>> http://lmgtfy.com/?q=php+image+gallery+script
>>>> Dave Pyles
>>>
>>> let me shove it up your ass for you.
>>>
>> Now *there* is an attitude that's bound to get you lots of help.
> His emails won't show up on my screen anymore.
> Dave Pyles

Then shove it up your high and mighty ass.
Re: photo gallery [message #177060 is a reply to message #177058] Sat, 18 February 2012 02:58 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 2/17/2012 9:00 PM, richard wrote:
> On Sat, 18 Feb 2012 00:11:26 +0000 (UTC), Doug Miller wrote:
>
>> richard<member(at)newsguy(dot)com> wrote in
>> news:h5tuer7vesjr$(dot)lm79y8bdn04g$(dot)dlg(at)40tude(dot)net:
>>
>>> On Fri, 17 Feb 2012 17:06:46 -0500, Dave Pyles wrote:
>>>
>>>> richard wrote:
>>>> > On Sat, 18 Feb 2012 07:59:51 +1100, Jeff North wrote:
>>>> >
>>>> >> On Thu, 16 Feb 2012 16:39:28 -0500, in comp.lang.php richard
>>>> >> <member(at)newsguy(dot)com>
>>>> >> <e07f2j3vkz2c(dot)1bw7d0qdedrkm$(dot)dlg(at)40tude(dot)net> wrote:
>>>> >>
>>>> >>> | Looking for a fairly simple photo gallery with a few features.
>>>> >>> | Menu on left with collapsing tree that allows only one branch
>>>> >>> | open at a time.
>>>> >>> | Thumbnails on right. with description.
>>>> >>> | When clicked on the full size image will appear in a modal
>>>> >>> | lightbox.
>>>> >>> |
>>>> >>> | You would think this would be fairly easy to find somewhere.
>>>> >>> | So far I haven't been able to locate what I want.
>>>> >>> |
>>>> >>> | If anyone knows of such a script available, please post a link
>>>> >>> | to it.
>>>> >>
>>>> >> Easy enough done.
>>>> >> When page is accessed use php to gather the folder information and
>>>> >> display in the left column (create hyperlinks for each folder name)
>>>> >>
>>>> >> When a user clicks on the folder name use AJAX to retrieve the
>>>> >> folder contents and display the thumbnails on the main section of
>>>> >> the page.
>>>> >>
>>>> >> Each image will call the modal lightbox to display the full sized
>>>> >> image.
>>>> >
>>>> > Precisely. Now where can I find the premade script to do that with?
>>>> http://lmgtfy.com/?q=php+image+gallery+script
>>>> Dave Pyles
>>>
>>> let me shove it up your ass for you.
>>>
>> Now *there* is an attitude that's bound to get you lots of help.
>
> I am just so god damned sick and tired of this frickin attitude that
> because a question was asked, some asshole comes around and replies with a
> link to a search engine. Even more when it's "let me google that for you".
> This tells me, that the poster believes you are so dumb and ignorant you
> never heard of a search engine or know how they work.
>

And many of us are sick and tired of YOUR attitude (and lack of
understanding of even basic client-server programming concepts).

> I've spent a dozen or more hours searching for the answer. I ask here
> because I figure maybe somebody just might have a website that has what I
> want. But instead, I get my ass kicked around.
>

Well, what do you expect. You never said anything about what you've
looked for. And considering your history here...

> I'm also totally pissed off at the fact that google is more interested in
> returning hits based upon ad linking. And thirty offshoots of what else
> might even be remotely connected.
>

No, not based on ad linking (except the sponsored links). They're
mostly based on content.

> When I search for PHP what ever, out of the first 30 hits, 20 are
> javascript stuff. Apparently, google must think JS is the same thing as
> PHP.
>

Or maybe Google is trying to tell you something. Like you're looking
for the wrong thing (like others here have told you).

> And apparently Dave Styles isn't man enough to kick my ass himself for my
> reply.

I doubt he wants to get shit on his shoes.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: photo gallery [message #177061 is a reply to message #177051] Sat, 18 February 2012 03:39 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
richard wrote:

> let me shove it up your ass for you.

How to win friens and influence people, part I
Re: photo gallery [message #177062 is a reply to message #177060] Sat, 18 February 2012 03:56 Go to previous messageGo to next message
richard is currently offline  richard   
Messages: 213
Registered: June 2013
Karma: 0
Senior Member
Jerry, I know full well and good the differences and reasons between
javascript and php. I've heard all of the damn arguments as to what should
be used and when.

Thing is, php is highly flexible where JS lacks.
Besides, I think the coding approach for PHP has been more thought out as
to what is done and when. JS is a poorly written code.

As I see it, the browser should do very little work. All it should have to
do is handle displaying the code. Not try and figure out a ton of other
stuff.

The higher grade applications, such as forums, are all mainly written in
PHP. Most all CMS applications are in PHP.

yeah yeah I know what you're gonna say. But I figure, if it's available,
why not use it?

It's like the old argument, "Tables are evil; frames are evil".
But what else was there before CSS came along? High end commercial sites
were all designed in tables. Then they went to CSS. Did it make the look
any different? Not really.
Re: photo gallery [message #177063 is a reply to message #177062] Sat, 18 February 2012 04:06 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 2/17/2012 10:56 PM, richard wrote:
> Jerry, I know full well and good the differences and reasons between
> javascript and php. I've heard all of the damn arguments as to what should
> be used and when.
>
> Thing is, php is highly flexible where JS lacks.
> Besides, I think the coding approach for PHP has been more thought out as
> to what is done and when. JS is a poorly written code.
>
> As I see it, the browser should do very little work. All it should have to
> do is handle displaying the code. Not try and figure out a ton of other
> stuff.
>
> The higher grade applications, such as forums, are all mainly written in
> PHP. Most all CMS applications are in PHP.
>
> yeah yeah I know what you're gonna say. But I figure, if it's available,
> why not use it?
>
> It's like the old argument, "Tables are evil; frames are evil".
> But what else was there before CSS came along? High end commercial sites
> were all designed in tables. Then they went to CSS. Did it make the look
> any different? Not really.

Richard, there's a HUGE difference between using tables or frames for
layout, and opening transparent windows. Once can be done on the
server; the other cannot.

A really good reason NOT to use PHP to do it!

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: photo gallery [message #177067 is a reply to message #177058] Sat, 18 February 2012 14:44 Go to previous messageGo to next message
Doug Miller is currently offline  Doug Miller
Messages: 171
Registered: August 2011
Karma: 0
Senior Member
richard <member(at)newsguy(dot)com> wrote in
news:z7mg4kkgnbne(dot)1dgmguz4tyfqr$(dot)dlg(at)40tude(dot)net:

> On Sat, 18 Feb 2012 00:11:26 +0000 (UTC), Doug Miller wrote:
>
>> richard <member(at)newsguy(dot)com> wrote in
>> news:h5tuer7vesjr$(dot)lm79y8bdn04g$(dot)dlg(at)40tude(dot)net:
>>
>>> On Fri, 17 Feb 2012 17:06:46 -0500, Dave Pyles wrote:
>>>
>>>> richard wrote:
>>>> > On Sat, 18 Feb 2012 07:59:51 +1100, Jeff North wrote:
>>>> >
>>>> >> On Thu, 16 Feb 2012 16:39:28 -0500, in comp.lang.php richard
>>>> >> <member(at)newsguy(dot)com>
>>>> >> <e07f2j3vkz2c(dot)1bw7d0qdedrkm$(dot)dlg(at)40tude(dot)net> wrote:
>>>> >>
>>>> >>> | Looking for a fairly simple photo gallery with a few features.
>>>> >>> | Menu on left with collapsing tree that allows only one branch
>>>> >>> | open at a time.
>>>> >>> | Thumbnails on right. with description.
>>>> >>> | When clicked on the full size image will appear in a modal
>>>> >>> | lightbox.
>>>> >>> |
>>>> >>> | You would think this would be fairly easy to find somewhere.
>>>> >>> | So far I haven't been able to locate what I want.
>>>> >>> |
>>>> >>> | If anyone knows of such a script available, please post a link
>>>> >>> | to it.
>>>> >>
>>>> >> Easy enough done.
>>>> >> When page is accessed use php to gather the folder information
>>>> >> and display in the left column (create hyperlinks for each folder
>>>> >> name)
>>>> >>
>>>> >> When a user clicks on the folder name use AJAX to retrieve the
>>>> >> folder contents and display the thumbnails on the main section of
>>>> >> the page.
>>>> >>
>>>> >> Each image will call the modal lightbox to display the full sized
>>>> >> image.
>>>> >
>>>> > Precisely. Now where can I find the premade script to do that
>>>> > with?
>>>> http://lmgtfy.com/?q=php+image+gallery+script
>>>> Dave Pyles
>>>
>>> let me shove it up your ass for you.
>>>
>> Now *there* is an attitude that's bound to get you lots of help.
>
> I am just so god damned sick and tired of this frickin attitude that
> because a question was asked, some asshole comes around and replies
> with a link to a search engine. Even more when it's "let me google
> that for you". This tells me, that the poster believes you are so dumb
> and ignorant you never heard of a search engine or know how they work.

In your case, that appears to be a pretty good assumption.
>
> I've spent a dozen or more hours searching for the answer. I ask here
> because I figure maybe somebody just might have a website that has
> what I want. But instead, I get my ass kicked around.

That's because you come here asking other people to do your work for you, instead of doing it
yourself.
>
> When I search for PHP what ever, out of the first 30 hits, 20 are
> javascript stuff. Apparently, google must think JS is the same thing
> as PHP.

Apparently, you're not very good at using Google.
Re: photo gallery [message #177068 is a reply to message #177067] Sat, 18 February 2012 16:30 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
Doug Miller wrote:
> richard <member(at)newsguy(dot)com> wrote in

>> When I search for PHP what ever, out of the first 30 hits, 20 are
>> javascript stuff. Apparently, google must think JS is the same thing
>> as PHP.
>
> Apparently, you're not very good at using Google.

Or, more to the point he hasn't appreciated the difference between
server side and client side processing.

"Like I want a car ,man but I don't want wheels and an engine, That's a
simple request right? I cant understand why you guys are getting so
abusive when I say I want it that way, you are just stoopid".
Re: photo gallery [message #177069 is a reply to message #177051] Sat, 18 February 2012 16:32 Go to previous messageGo to next message
Evan Platt is currently offline  Evan Platt
Messages: 124
Registered: November 2010
Karma: 0
Senior Member
On Fri, 17 Feb 2012 18:22:59 -0500, richard <member(at)newsguy(dot)com>
wrote:

> let me shove it up your ass for you.

Congrats bullis, I think you've just guaranteed you'll never get help
in this group again.
--
To reply via e-mail, remove The Obvious and .invalid from my e-mail address.
Re: photo gallery [message #177070 is a reply to message #177062] Sat, 18 February 2012 17:09 Go to previous messageGo to next message
Tim Streater is currently offline  Tim Streater
Messages: 328
Registered: September 2010
Karma: 0
Senior Member
In article <kggao0nwx7es$(dot)zeqj77kea12h$(dot)dlg(at)40tude(dot)net>,
richard <member(at)newsguy(dot)com> wrote:

> Jerry, I know full well and good the differences and reasons between
> javascript and php. I've heard all of the damn arguments as to what should
> be used and when.
>
> Thing is, php is highly flexible where JS lacks.
> Besides, I think the coding approach for PHP has been more thought out as
> to what is done and when. JS is a poorly written code.
>
> As I see it, the browser should do very little work. All it should have to
> do is handle displaying the code. Not try and figure out a ton of other
> stuff.

It may require JS - and perhaps a lot of it - in order to know what to
display. Let's see - my email app has about 7700 lines of PHP and about
15000 lines of JavsScript. This is not so surprising as it has to
provide a complex interface to the user.

The browser can't do this by magic, much though you might like it to.
And I really don't know what you mean by JS "lacking flexibility".

--
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
Re: photo gallery [message #177071 is a reply to message #177035] Sat, 18 February 2012 17:15 Go to previous messageGo to next message
Tim Streater is currently offline  Tim Streater
Messages: 328
Registered: September 2010
Karma: 0
Senior Member
In article <12osdkwsw6x27(dot)zv4nerjzofo5$(dot)dlg(at)40tude(dot)net>,
richard <member(at)newsguy(dot)com> wrote:

> On 17 Feb 2012 08:51:47 GMT, Denis McMahon wrote:
>
>> On Thu, 16 Feb 2012 16:39:28 -0500, richard wrote:
>>
>>> Looking for a fairly simple photo gallery with a few features. Menu on
>>> left with collapsing tree that allows only one branch open at a time.
>>
>> Client side feature, not a php feature.
>>
>>> Thumbnails on right. with description.
>>
>> Layout feature, not a php feature.
>>
>>> When clicked on the full size
>>> image will appear in a modal lightbox.
>>
>> Client side feature, not a php feature.
>>
>>> If anyone knows of such a script available, please post a link to it.
>>
>> What did you want the php to do?
>>
>> Rgds
>>
>> Denis McMahon
>
> then why do we have PHP to begin with?
> Or CGI? Why is the browser the only place to do this?
> Why can't you answer a simple straight forward question?

Fuckin' Ada, man. Listen up fer once.

PHP has no features to allow it to draw windows and stuff, apart from
perhaps the PHP-GTK project, which is going nowhere as far as I can see.
On the other hand it's very good at doing the sort of grunt background
work that f'rinstance my email app needs, such as working with
databases, reading/writing emails to/from remote hosts. Can't (really)
do any of that in JS.

What JS *is* good at, in combination with a browser, is providing a GUI
interface to the user - in other words all the type of things you want
that were flagged up above by Denis. So in my email app, *all* those
things listed above are implemented using JS. No way at all to do it
with PHP.

--
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
Re: photo gallery [message #177072 is a reply to message #177062] Sat, 18 February 2012 17:17 Go to previous messageGo to next message
Doug Miller is currently offline  Doug Miller
Messages: 171
Registered: August 2011
Karma: 0
Senior Member
richard <member(at)newsguy(dot)com> wrote in
news:kggao0nwx7es$(dot)zeqj77kea12h$(dot)dlg(at)40tude(dot)net:

> Jerry, I know full well and good the differences and reasons between
> javascript and php. I've heard all of the damn arguments as to what
> should be used and when.

You don't seem to understand that the issue is not what *should* be used, but what *can* (and cannot)
be used. PHP runs on the server, not on the browser. If you want dynamic behavior to take place in the
browser, you need to code that in the browser -- which means using JS and not PHP.

> Thing is, php is highly flexible where JS lacks.

That's simply not true. They're both highly flexible. But they're used for different purposes.
Re: photo gallery [message #177073 is a reply to message #177029] Sat, 18 February 2012 17:19 Go to previous messageGo to next message
Tim Streater is currently offline  Tim Streater
Messages: 328
Registered: September 2010
Karma: 0
Senior Member
In article <1sgiq93k987zj(dot)1fr4qbjfqfuwr(dot)dlg(at)40tude(dot)net>,
richard <member(at)newsguy(dot)com> wrote:

> On Thu, 16 Feb 2012 14:26:02 -0800, Michael Vilain wrote:
>
>> In article <e07f2j3vkz2c(dot)1bw7d0qdedrkm$(dot)dlg(at)40tude(dot)net>,
>> richard <member(at)newsguy(dot)com> wrote:
>>
>>> Looking for a fairly simple photo gallery with a few features.
>>> Menu on left with collapsing tree that allows only one branch open at a
>>> time.
>>> Thumbnails on right. with description.
>>> When clicked on the full size image will appear in a modal lightbox.
>>>
>>> You would think this would be fairly easy to find somewhere.
>>> So far I haven't been able to locate what I want.
>>>
>>> If anyone knows of such a script available, please post a link to it.
>>
>> You can drive the script by uploading the files in a directory via a web
>> interface or through ftp. A script can run off of a directory listing
>> or through a database. What you're asking for requires Javascript to be
>> running on the remote browser. Many people I know turn that function
>> off. How will your required script handle that situation?
>>
>> Where have you looked already? There are a bunch of scripts that come
>> up in a google search of "php photo gallery scripts". Which ones have
>> you already evaluated?
>>
>> [good things come to those who do their homework first rather than
>> having someone else do it for them]
>
> Dude, if I wanted JS, I would not be asking for a PHP script.
> Why is it that everyone assumes a person who posts a question hasn't
> already done the homework on searching?
> that is precisely why I ask. Because the searching has failed to turn up
> what I want.

Fair enough, but then the answer is, and you might have deduced this for
yourself, is that no such thing exists, for the reasons already given in
this thread.

--
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
Re: photo gallery [message #177076 is a reply to message #177062] Sat, 18 February 2012 19:02 Go to previous messageGo to next message
Gregor Kofler is currently offline  Gregor Kofler
Messages: 69
Registered: September 2010
Karma: 0
Member
Am 2012-02-18 04:56, richard meinte:

> Jerry, I know full well and good the differences and reasons between
> javascript and php.

....and...

> Thing is, php is highly flexible where JS lacks. [...]
> JS is a poorly written code.

....proves that you are a completely clueless idiot.
Re: photo gallery [message #177077 is a reply to message #177076] Sat, 18 February 2012 19:17 Go to previous messageGo to next message
Doug Miller is currently offline  Doug Miller
Messages: 171
Registered: August 2011
Karma: 0
Senior Member
Gregor Kofler <usenet(at)gregorkofler(dot)com> wrote in news:jhoske$du7$1(at)dont-email(dot)me:

> Am 2012-02-18 04:56, richard meinte:
>
>> Jerry, I know full well and good the differences and reasons between
>> javascript and php.
>
> ...and...
>
>> Thing is, php is highly flexible where JS lacks. [...]
>> JS is a poorly written code.
>
> ...proves that you are a completely clueless idiot.
>

When I first encountered richard in alt.html, people there were calling him RtS: Richard the Stoopid.
I used to think they were being uncharitable.
Re: photo gallery [message #177084 is a reply to message #177035] Sun, 19 February 2012 20:34 Go to previous message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma: 0
Senior Member
On Fri, 17 Feb 2012 09:23:29 -0500, richard wrote:

> then why do we have PHP to begin with? Or CGI? Why is the browser the
> only place to do this? Why can't you answer a simple straight forward
> question?

We have cgi to provide back-end functionality, like generating a list of
all the image files in a directory and outputting that list as some sort
of formatted text, such as an html list or an html table.

But you need to write the html somewhere, even if you're writing it in a
heredoc block or as pert of echo output inside the php or other cgi
environment of choice.

Likewise, if you want to spice up your html with, for example, css or
javascript based client side display features, you need to deliver those
instructions to the client as appropriate javascript or css.

The php or other cgi app of choice generally, unless it has specific
functions to generate html constructs etc, knows next to nothing about
html, it just generates and outputs whatever strings it is coded to
generate and output. It could just as easily, if you wanted it to,
generate roff ( http://www.quut.com/berlin/ms/troff.html ) marked up text
instead of html marked up text, because at the end of the day it is only
generating text strings.

If you want the web browser to do specific things, you have to deliver
the instructions to the web browser in the language(s) that the web
browser understands. These languages are generally html, javascript and
css.

You may generate these languages using php or other cgi scripts, but you
still need to deliver, to the browser, the correct html, javascript and
css to make it do what you want to, and the features that you are asking
for are features that are provided by delivering to the browser the
appropriate html, javascript and css.

We can tell you many different ways to use php to deliver the html,
javascript and css content of your choice to your browser, but php will
not do what you are asking php to do for you, because what you are asking
php to do is not something that it can do.

Rgds

Denis McMahon
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Do I still CLI version of PHP
Next Topic: Stats comp.lang.php (last 7 days)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 05:32:59 GMT 2024

Total time taken to generate the page: 0.02577 seconds