473,395 Members | 1,539 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

create a photogallery by code.

I've 2 directories: one contains thumbnails, the other the images.

How to create a dynamic photogallery, as manually it's:

<div align="center">
<a href="../images/photogallery/images/AIRGLA10.JPG" onClick="return
enlarge('../images/photogallery/images/AIRGLA10.JPG',event)">
<img src="../images/photogallery/thumbnails/AIRGLA10.jpg" alt="AIRGLA10"
align="bottom" border="1" width="97" height="150"><br>
<br><br><br>
</a>
</div>

for each image ???? (the only difference is the path).

BoB


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Jul 20 '05 #1
3 5276

"Bob Bedford" <bo*@bedford.com> schreef in bericht
news:3f********@corp.newsgroups.com...
I've 2 directories: one contains thumbnails, the other the images.

How to create a dynamic photogallery, as manually it's:

<div align="center">
<a href="../images/photogallery/images/AIRGLA10.JPG" onClick="return
enlarge('../images/photogallery/images/AIRGLA10.JPG',event)"> ....
for each image ???? (the only difference is the path).


<a href="../images/photogallery/images/AIRGLA10.JPG" onClick="return
enlarge(href,event)">
JW

Jul 20 '05 #2
m
Bob Bedford wrote:
I've 2 directories: one contains thumbnails, the other the images.

How to create a dynamic photogallery, as manually it's:

<div align="center">
<a href="../images/photogallery/images/AIRGLA10.JPG" onClick="return
enlarge('../images/photogallery/images/AIRGLA10.JPG',event)">
<img src="../images/photogallery/thumbnails/AIRGLA10.jpg" alt="AIRGLA10"
align="bottom" border="1" width="97" height="150"><br>
<br><br><br>
</a>
</div>

for each image ???? (the only difference is the path).


http://www.mbstevens.com/howtothumb/

--is my take on the correct way of doing thumbnails.
There is a section on javascript, but I generally advise not
to do thumbnails using javascript. Many visitors browse in
with javascript turned off, and people with disabilities
sometimes have a hard time of it if you're using the javascript
to pop up windows. If you're not popping up windows, there is
no need for javascript anyway.

HTH
m

Jul 20 '05 #3
Nix
I had a similar issue with creating a dynamic gallery

take a look at my site , without wanting to blow my own trumpet I think it
works quite well ( even if some of my photos are of questionable quality )

http://www.nick.p.lamb.btinternet.co.uk/

"m" <no************@mbxstevensx.com> wrote in message
news:UR*****************@newsread3.news.pas.earthl ink.net...
Bob Bedford wrote:
I've 2 directories: one contains thumbnails, the other the images.

How to create a dynamic photogallery, as manually it's:

<div align="center">
<a href="../images/photogallery/images/AIRGLA10.JPG" onClick="return
enlarge('../images/photogallery/images/AIRGLA10.JPG',event)">
<img src="../images/photogallery/thumbnails/AIRGLA10.jpg" alt="AIRGLA10"
align="bottom" border="1" width="97" height="150"><br>
<br><br><br>
</a>
</div>

for each image ???? (the only difference is the path).


http://www.mbstevens.com/howtothumb/

--is my take on the correct way of doing thumbnails.
There is a section on javascript, but I generally advise not
to do thumbnails using javascript. Many visitors browse in
with javascript turned off, and people with disabilities
sometimes have a hard time of it if you're using the javascript
to pop up windows. If you're not popping up windows, there is
no need for javascript anyway.

HTH
m

Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
15
by: Brian Rogers | last post by:
Hello everyone, I apologize for the cross and re-post, but I am still searching for an answer. Why can C++ can create this object, but C# can't? I am trying to create an instance of the...
4
by: John T. Howard | last post by:
Can you issue commands from VB.Net to create and delete databases? I would like to create, delete, and copy MSAccess tables and/or databases from code. Can this be done? Can you show, or point...
0
by: Patrick F | last post by:
I keep getting this error message and i don't know whats the problem is and how to solve it. I have a webproject with 2 components (dll) added to it. One is called PhotoGallery and one is called...
1
by: Patrick F | last post by:
I keep getting this error message and i don't know whats the problem is and how to solve it. I have a webproject with 2 components (dll) added to it. One is called PhotoGallery and one is called...
23
by: sandy | last post by:
I need (okay, I want) to make a dynamic array of my class 'Directory', within my class Directory (Can you already smell disaster?) Each Directory can have subdirectories so I thought to put these...
27
by: max | last post by:
Hello, I am a newbye, and I'm trying to write a simple application. I have five tables with three columns; all tables are identical; I need to change some data in the first table and let VB...
11
by: raylopez99 | last post by:
Keep in mind this is my first compiled SQL program Stored Procedure (SP), copied from a book by Frasier Visual C++.NET in Visual Studio 2005 (Chap12). So far, so theory, except for one bug...
15
by: lxyone | last post by:
Using a flat file containing table names, fields, values whats the best way of creating html pages? I want control over the html pages ie 1. layout 2. what data to show 3. what controls to...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.