| View previous topic :: View next topic |
| Author |
Message |
Screw
Joined: 03 Oct 2006 Posts: 8
|
Posted: Wed Oct 11, 2006 6:21 pm IMG Includes |
|
|
|
Hi, I know how to use secure includes but what do I need to do differently to swap out images? I tried and failed miserably. If anyone can explain or link me to an example / tut, I would appreciate it. Thanks
Jarred |
|
Screw
Joined: 03 Oct 2006 Posts: 8
|
Posted: Thu Oct 12, 2006 8:20 pm |
|
|
|
| anyone? |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8260 Location: Castle Rock CO USA
|
|
Screw
Joined: 03 Oct 2006 Posts: 8
|
Posted: Fri Oct 13, 2006 8:24 pm |
|
|
|
I guess I could have done a better job trying to explain. I have a page and for this example we will call it gallery.php. When the gallery is open it has multiple thumbnails and when you click a thumbnail it will open a popup (viewer.php) and display the full size image. When you click the selected thumnail, I want it to pop up and display inside the viewer.php. Similar to php includes but instead of code / page I want it to be an image. So the viewer.php always opens but with the images swapping out. This is the best I can explain. Hopefully someone understands what I am trying to accomplish. Thanks
Jarred |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8260 Location: Castle Rock CO USA
|
Posted: Sat Oct 14, 2006 4:43 am |
|
|
|
Well if it is a pop-up, chances are the pop-up window will be the same name. However, when they click on the main page, the pop-up will change but it will be in the background.
_________________
Corey
Merchant Account Blog | Merchant Accounts |
|
Screw
Joined: 03 Oct 2006 Posts: 8
|
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8260 Location: Castle Rock CO USA
|
Posted: Sat Oct 14, 2006 11:17 am |
|
|
|
Chances are that is just a photo album script and he just uses a pop-up instead. Basically similar to my script. You are always opening one page but depending on the parameters, that is what determines your image.
_________________
Corey
Merchant Account Blog | Merchant Accounts |
|
Screw
Joined: 03 Oct 2006 Posts: 8
|
Posted: Sat Oct 14, 2006 4:30 pm |
|
|
|
Is your script available for download? If not where could I find a similar one? Thanks
Jarred |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8260 Location: Castle Rock CO USA
|
Posted: Sun Oct 15, 2006 4:44 am |
|
|
|
Well not really. It is just something we did. But there are hundreds of them. Plus it is ASP and it seems you are wanting PHP? Hotscripts lists some image galleries that might help you out. A lot of them are free - you just usually need an mysql database and the script will set everything up for you
_________________
Corey
Toll Fax Numbers | Merchant Accounts | Microsoft Expressions |
|
|