Welcome To 'Scripters Paradise'
March 29, 2024, 02:36:19 am
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Please Read Our Vision Statement.
Welcome To Our Newest Member: W14OK
 
  Home Help Search Gallery Flyfamilyguy WebSite Staff List Calendar Login Register  
  Show Posts
Pages: [1]
1  Tutorials / HTML/XML / Making a simple, HTML photo gallery on: April 09, 2008, 05:46:00 pm
Ok, well, a friend of mine was wanting me to show him how I had made a photo gallery, so I decided I'd just put a tutorial up here. 

Just a note, I haven't used this gallery in quite a while, so I'm a bit rusty.

1. THE PREPARING YOUR IMAGES

Select your photos that you want in your photo gallery.  I've never used the height and width image attribute, so I don't know how exactly they work, so I make my own thumbnails of the images I want in my photo gallery.  If you don't have a program to resize images with, download either the Gimp, or Irfan View.  I prefer Irfan View for resizing images. Your thumbnails should be no bigger than 200 px high or wide, or else your going to have a very retarded looking gallery.

2. THE HTML

Code:
<html>
<body>

<!-- this is where the images will be displayed -->
<iframe src="the url of your first image" name="display"></iframe>

<!-- This is where the thumbnails will appear -->

<table><tr>

<td><a href="your picture url" target="display"><img src="your thumbnail url" /></a><br />Your Caption</td>
<td><a href="your picture url" target="display"><img src="your thumbnail url" /></a><br />Your Caption</td>

</tr></table>

</body>
</html>

And that's all the code!  If you want more images in your gallery, just copy and paste one of the lines in the table and edit the appropriate attributes.

Basically all the IFrame does, is allows you to display an image or web page on another web page.  The "src" attribute that is attached to the IFrame tells it what to load when the page loads (in this case your first image).  The "name" attribute allows you to load images into the IFrame by using the "target" attribute on the links surrounding the thumbnails.

This should work.  If something doesn't work just ask me about it and I'll try to fix it.

Cheers!

Joe
2  Welcome! / Introduce Yourself / Re: O HAI on: April 09, 2008, 04:05:10 pm
Lol.  Well, if we got a Frihost accout (which I'm working on)  then we would have a place for the forum, and the website as it develops.  We'll stick with this for now however.
3  Welcome! / Suggestions For The Scripters Paradise Forum / Re: No need to set seperate mods on: April 09, 2008, 03:29:55 pm
No, I think your right. I didn't know that for a while, so I was assigning mods as I made the boards.  We'll have to take care of that.  Thank you! Smiley
4  Welcome! / Introduce Yourself / Re: O HAI on: April 09, 2008, 03:27:55 pm
Hey! I'm glad to see you here!  I'm glad to see that my signatures working too. xD.  Yeah, that's a good idea about using frihost.  Actually, we could make an account and install phpbb on it for the forum. 

The static welcome to our newest member is just a static welcome to our newest member lol.  Wink

Anyway, have fun with your midterms tomorrow!

Joe
5  Making It Happen...Our Vision For The Site / Ideas, Feedback... / Our Name on: April 06, 2008, 04:32:18 pm
Ok, if you'd like to add another option, just say so, and we can do that!

Thanks,
Joe
6  Welcome! / Introduce Yourself / Re: Hello on: April 06, 2008, 11:55:38 am
Hello!  I know you.  Tongue  yeah, we'll prolly all learn a ton from this.  anyway, thx for starting the forum!  Smiley
7  Welcome! / Introduce Yourself / Re: Hi, I'm Michaela on: April 06, 2008, 11:54:19 am
Hi there! welcome to the forum! not that there's a lot here right now.  Grin  anyway, one of your links you provided doesn't work just so you know.   I'm glad your enjoying the forum, and hope you become a big part in it too!  Smiley

Joe
8  Making It Happen...Our Vision For The Site / Ideas, Feedback... / Re: Mind If I Help? on: April 06, 2008, 11:51:18 am
hey Michaela! thanks for the idea.  right now we're not set on a name....(i guess we should move our convo to a topic so you all can see it)  so yeah, thanks for the url, definitely! Wink If you'd like to help in any other way (ie. coding whatever)  just tell us and thx for the help!  right now we don't even have a basic layout for the future site though.

But....... if you do want to start scripting....(am i right in saying that i remember you know php?)
you could start with a simple comment box script that can easily be installed on any page of the future site. if your interested in this, tell us, and we can give you more details.  thx a ton! Smiley

Joe
9  Welcome! / Introduce Yourself / Hai, I'm Joe :) on: April 05, 2008, 07:51:55 pm
Hi everybody.  I'm joe. xD.  not much to say about myself, except that i enjoy coding, and i think that this site is awesome, and that it's definitely worth working for.  I hope you all post lots, and enjoy the forum.

Joe
Pages: [1]
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy
Page created in 0.047 seconds with 14 queries.