473,545 Members | 2,115 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Photo Gallery with next and previous buttons

Hi All,

My client has following request. I am not sure how to do it.

Dynamically from database, we are getting set of images names. Now we want
to display them with next and previous buttons.
I am able to pull all the information from database and put it in javascript
array. Now using two functions for next and previous button, I am able to
browse through the images.

The problem is, when I click on next and previous, it's not hitting the
server (as the information is available at the client). But we want it to
connect it to the server so that the page gets refreshed with new paid ads.

Is it possible to acheive that without hitting the database. Please help me.
It's very urgent.
Thanks,
Anil
Nov 17 '05 #1
1 3205
Hi,

of course, just use a LinkButton and you will get a postback

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"msnews" <an******@yahoo .com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
Hi All,

My client has following request. I am not sure how to do it.

Dynamically from database, we are getting set of images names. Now we want
to display them with next and previous buttons.
I am able to pull all the information from database and put it in
javascript
array. Now using two functions for next and previous button, I am able to
browse through the images.

The problem is, when I click on next and previous, it's not hitting the
server (as the information is available at the client). But we want it to
connect it to the server so that the page gets refreshed with new paid
ads.

Is it possible to acheive that without hitting the database. Please help
me.
It's very urgent.
Thanks,
Anil

Nov 17 '05 #2

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

Similar topics

10
2856
by: matt | last post by:
I have this code, works perfectly on Windows server, but now i'm trying to run it on a Linux server, the form submits, i get no errors, but the photo doesnt upload, and the caption file doesnt write.... any ideas why?? <?php include 'gall_settings.inc';
4
3586
by: msnews | last post by:
Hi All, My client has following request. I am not sure how to do it. Dynamically from database, we are getting set of images names. Now we want to display them with next and previous buttons. I am able to pull all the information from database and put it in javascript array. Now using two functions for next and previous button, I am able...
7
3245
by: Eric Lindsay | last post by:
I would like to do a photo gallery with a liquid layout. I wanted to center a caption below each photo (or above each photo). I can do that easily with tables, but then I don't have a liquid layout. Besides, I wanted to try to do it with CSS. I can do centered captions with text-align. This works provided the element containing each...
1
2904
by: desjardins.daniel | last post by:
Hi ! Excuse my english, i'm a french canadien... So here my message : I have put on my site a photo gallery and at the right a nav menu. This menu has a red dot visible want someone is passing over one item or clickong one item. I want to make two things in this page (the sameone http://www.danieldesjardins.com/gallery/1202015) so it...
13
4316
by: Viken Karaguesian | last post by:
Hello everyone, Can anyone recommend a good online site to learn PHP? The W3Schools website is quite lacking - leaves much to be desired. I'm sure there are many places, but which ones are good? I currently run a site with an extensive photo gallery. Hundreds of photos. Right now I have a system which the thumbnails are laid out in a...
1
2214
by: Throw | last post by:
G'day everyone I'm looking for a simple photo gallery script in PHP (or Perl), but not too simple. I have tried several photo gallery scripts in either language and I have found that they are either too complex or too simple for my purpose. Most photo gallery scripts are intended primarily for sharing new photos continuously and allowing...
1
1323
nritchie124
by: nritchie124 | last post by:
Hi there.... I know some one out there will be able to figure this out....it just isn't me. I'm a graphics guy and my java coding is very limited. I'm trying to have a gallery with thumbs on the bottom, back and next buttons on top and the pic in the middle. I have a swap that works nice for the thumbs and an array with back and next...
1
505
by: Jes | last post by:
Hi I would like to have a photo gallery with images loaded from a a database. Instead of creating a page for each image, I would like to load all 'image names'' into an array, display the first one and place a 'Next' / 'Previous' buttons for navigation. Any help / link on the sourcecode please ? Regards
2
1635
by: MZ | last post by:
Hi, I am looking for a universal solution to create a photo gallery from files which are laying in a folders fullsize and smallsize. The smallsize files are the thumbnails of the fullsize JPG files. And I have found a prety simple solution. Please take a look at...
0
2290
nomad
by: nomad | last post by:
Hello Everyone. I founded an Flash and xml photo gallery. It works but I took it to another step What I want is to have six different galleries in one Flash file. I figure out how to do that but when I click on the the galleries I can see the pervious gallery files. The gallery works like this: When you open the gallery there are links on...
0
7401
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7808
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7423
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7757
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5972
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5329
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3450
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3443
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1884
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.