vast collection of pictures to be previewed in just one html file

J

jaYPee

i have a vast collection of pictures in my website and wondering what
is the best way to preview this picture. i'm planing to create html
file in every picture but this could be a very time consuming.

what i want to do is that when the surfer click the thumbnail the page
will change to a page that will accept what image in the thumbnail has
click and preview the big picture.

i have already ask this before but i say that php is out of the topic.
now if there is no solution except to use php i would rather accept
any suggestion on how can i do this in php.

thanks in advance
 
D

David Dorward

jaYPee said:
i have a vast collection of pictures in my website and wondering what
is the best way to preview this picture. i'm planing to create html
file in every picture but this could be a very time consuming.

Write a script (I would use Perl with Perlmagick and HTML::Template) to
generate each HTML document for you. You can then upload the resulting
files.

I'm planning on writing such a script, possibly today if time allows
(unlikely[1]), I'll share it here if I remember and on my website if I
don't.

[1] Hint: It could be more then a few weeks before I can find time for this,
so don't wait on my account.
 
B

brucie

in post: <
jaYPee said:
i have a vast collection of pictures in my website and wondering what
is the best way to preview this picture.

1. display thumbs
2. visitor clicks on thumb
3. anchor passes a variable to script to display selected larger image
either on the same page or different page.

examples:
http://balls.bruciesusenetshit.info/
http://butterflies.bruciesusenetshit.info/

probably i bit complex to understand if you haven't done php before.

heres a very simple one:
http://moreshit.bruciesusenetshit.info/image-swap-thingy.shit
take note of the links.

<a href="image.php?image=1">

image=1 is the variable name and value to be passed to the image.php
file.

the image.php source:
http://moreshit.bruciesusenetshit.info/image.phps

the switch statement has a look at the value and decides the right
markup to send to the browser.
i'm planing to create html file in every picture but this could be a
very time consuming.

and not needed
now if there is no solution except to use php i would rather accept
any suggestion on how can i do this in php.

it doesn't need to be PHP but it does need to be a server side solution
rather than client side.
 
S

Spartanicus

jaYPee said:
i have a vast collection of pictures in my website and wondering what
is the best way to preview this picture. i'm planing to create html
file in every picture but this could be a very time consuming.

There's software that automatically generates the thumbnails and the
required html files. With some, the html can be fully customized via
templates. Can't beat that for ease of use (manually creating thumbnails
is a royal pain).

Thotor is one such program, but there are many others.
 
S

SpaceGirl

jaYPee said:
i have a vast collection of pictures in my website and wondering what
is the best way to preview this picture. i'm planing to create html
file in every picture but this could be a very time consuming.

what i want to do is that when the surfer click the thumbnail the page
will change to a page that will accept what image in the thumbnail has
click and preview the big picture.

i have already ask this before but i say that php is out of the topic.
now if there is no solution except to use php i would rather accept
any suggestion on how can i do this in php.

thanks in advance

In the process of writing a system to do just this for all of our family
photos. I'll probably release it all freeware when we're done over the next
week or so. It's written in ASP. Currently automatically 'adds' pictures,
with print, web and original versions of each picture, descriptions for each
picture (with date and location) and collections of pictures. *phew*
 
H

Hywel

i have a vast collection of pictures in my website and wondering what
is the best way to preview this picture. i'm planing to create html
file in every picture but this could be a very time consuming.

what i want to do is that when the surfer click the thumbnail the page
will change to a page that will accept what image in the thumbnail has
click and preview the big picture.

i have already ask this before but i say that php is out of the topic.
now if there is no solution except to use php i would rather accept
any suggestion on how can i do this in php.

thanks in advance

I have a set of PHP scripts that read a directory structure, create the
thumbnails on the fly, links to the full size image, can use password
protection (needs MySQL), and can add a caption to a directory. All
you'd need to do is change the location of your photos, comment out the
authentication if you don't want it, and upload the photos. You'd also
need to add a graphic for a logo, but you can leave that out if you
don't want it.

You can add new photos to the gallery simply by uploading them. If you
don't want the full-size images displayed at the default with, change
it. You can have if for nothing if you want. Just needs PHP and GD2
installed.
 
L

Long - CM web hosting

: i have a vast collection of pictures in my website and wondering what
: is the best way to preview this picture. i'm planing to create html
: file in every picture but this could be a very time consuming.
:
: what i want to do is that when the surfer click the thumbnail the page
: will change to a page that will accept what image in the thumbnail has
: click and preview the big picture.
:
: i have already ask this before but i say that php is out of the topic.
: now if there is no solution except to use php i would rather accept
: any suggestion on how can i do this in php.
:
PHP is not the only solution. There are many server-side alternatives
with most requiring you to write scripts. With a template and custom
tag-base system you won't need to. Creating a slideshow or gallery
framework should take about 5 minutes.
 
J

jaYPee

In the process of writing a system to do just this for all of our family
photos. I'll probably release it all freeware when we're done over the next
week or so. It's written in ASP. Currently automatically 'adds' pictures,
with print, web and original versions of each picture, descriptions for each
picture (with date and location) and collections of pictures. *phew*

Thank you very much. here's my email add for me to know that you have
already done it.

(e-mail address removed).

thanks again.
 
J

jaYPee

I have a set of PHP scripts that read a directory structure, create the
thumbnails on the fly, links to the full size image, can use password
protection (needs MySQL), and can add a caption to a directory. All
you'd need to do is change the location of your photos, comment out the
authentication if you don't want it, and upload the photos. You'd also
need to add a graphic for a logo, but you can leave that out if you
don't want it.

You can add new photos to the gallery simply by uploading them. If you
don't want the full-size images displayed at the default with, change
it. You can have if for nothing if you want. Just needs PHP and GD2
installed.

okay thanks. where can i find your script?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,444
Messages
2,571,709
Members
48,796
Latest member
Greg L.
Top