LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 594 users online 211533 members 1142 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
TaliaBBy
I haven't filled out my profile...
Mood: Pleased
You have 1 new message.
Emergency Help
Until you sign up you can't do much. Yes, it's free.

Sign Up Now
Membername:
Password:
Already have an account?
Invite Friends
Active Members
Groups
Contests
Moderators
7 online / 26 MPM
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic

PHP gallery
Replies: 8Last Post Feb. 4 2:14am by ranman
Welcome to LiveWire!
We're Stronger Together.
Join the Community
Single page for this topic Email Print Favorite
( Eric 2009 )


Executive
Reply
i want to make a 5 x5 photo gallery. without manually assigning all pictures. i have my pictures named 1.jpg 2.jpg 3.jpg.... etc.

help


1:06 pm on Dec. 28, 2008 | Joined: July 2006 | Days Active: 342
Join to learn more about Eric 2009 United States | Posts: 318 | Points: 3,815
Lord Cat


Wealthy Hobo

Patron
Reply
<a>1.jpg</a>
Wait no that HTML lol i don't know php i only know python and javascript? soz

-------
Don't click here
but what ever you do don't click here!

1:08 pm on Dec. 28, 2008 | Joined: Sep. 2008 | Days Active: 153
Join to learn more about Lord Cat Ireland | Label Free Male | Posts: 2,547 | Points: 4,087
Light Assassin


don't rock the boat.

Patron
Reply
manually align?

1:11 pm on Dec. 28, 2008 | Joined: Sep. 2007 | Days Active: 378
Join to learn more about Light Assassin Tonga | Straight Male | Posts: 9,183 | Points: 34,779
Mediocre


Dairy Product Addict
Reply
Quote: from Eric 2009 at 1:06 pm on Dec. 28, 2008

without manually assigning all pictures.

Use any gallery software that supports FTP uploading.

http://en.wikipedia.org/wiki/Photo_gallery_comparison

-------
Incest and bestiality are neat.


1:15 pm on Dec. 28, 2008 | Joined: Nov. 2007 | Days Active: 209
Join to learn more about Mediocre Czech Republic | Male | Posts: 1,642 | Points: 3,195
allsmiles


Enlightened One

Patron
Reply
Get an array with all your pictures in it. Iterate through them, with a counter, and when it's a multiple of five, drop down to the next line. I'm sure you know how to output the necessary formatting.

-------
When they leave me, they're all smiles.
When they leave you, they're in tears.

3:19 am on Dec. 29, 2008 | Joined: Aug. 2007 | Days Active: 509
Join to learn more about allsmiles England, United Kingdom | Male | Posts: 8,071 | Points: 14,252
matto


Enlightened One

Patron
Tech Support Leader
Reply
Quote: from allsmiles at 3:19 am on Dec. 29, 2008

Get an array with all your pictures in it. Iterate through them, with a counter, and when it's a multiple of five, drop down to the next line. I'm sure you know how to output the necessary formatting.
win

-------
"Strong am I with the Force, but not that strong.
Twilight is upon me, and soon, night must fall.
That is the way of things. The way of the Force."
--Yoda

1:31 pm on Dec. 29, 2008 | Joined: Aug. 2007 | Days Active: 438
Join to learn more about matto California, United States | Male | Posts: 8,831 | Points: 16,880
( Eric 2009 )


Executive
Reply
not what i want to do. I want my code to detect when 5 images are in a row, then start another. and so on and so forth. my images are gonna be named numericaly1-x

2:54 pm on Jan. 12, 2009 | Joined: July 2006 | Days Active: 342
Join to learn more about Eric 2009 United States | Posts: 318 | Points: 3,815
allsmiles


Enlightened One

Patron
Reply
Well that's exactly what I suggested.

-------
When they leave me, they're all smiles.
When they leave you, they're in tears.

3:32 pm on Jan. 14, 2009 | Joined: Aug. 2007 | Days Active: 509
Join to learn more about allsmiles England, United Kingdom | Male | Posts: 8,071 | Points: 14,252
ranman


Connoisseur

Patron
Reply
yeah but he wants you to write the code for him lol

2:14 am on Feb. 4, 2009 | Joined: June 2006 | Days Active: 362
Join to learn more about ranman Hawaii, United States | Straight Male | Posts: 2,209 | Points: 7,809
Single page for this topic Email Print Favorite

Quick Reply

You are signed in as our guest.

Looking for something else?
 

  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic