LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 697 users online 224099 members 1073 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
roryboy
Cool Things: I have begun to question my sexua...
Mood: Relaxed
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
5 online / 36 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 )


Wealthy Hobo
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: 387
Join to learn more about Eric 2009 United States | Posts: 334 | Points: 4,282
LiveWire Humor
Lord Cat


Connoisseur

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

-------
If God was a villain, He'd be me.

1:08 pm on Dec. 28, 2008 | Joined: Sep. 2008 | Days Active: 229
Join to learn more about Lord Cat Ireland | Label Free Male | Posts: 4,135 | Points: 6,492
Light Assassin



Patron
Reply
manually align?

1:11 pm on Dec. 28, 2008 | Joined: Sep. 2007 | Days Active: 438
Join to learn more about Light Assassin Christmas Island | Posts: 9,790 | Points: 35,722
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: 583
Join to learn more about allsmiles England, United Kingdom | Male | Posts: 8,979 | Points: 16,143
matto

Enlightened One

Patron
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

-------
"Say what you like about the tenets of National Socialism, Dude,
at least it's an ethos."
--Walter Sobchak

1:31 pm on Dec. 29, 2008 | Joined: Aug. 2007 | Days Active: 496
Join to learn more about matto California, United States | Male | Posts: 9,856 | Points: 15,601
( Eric 2009 )


Wealthy Hobo
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: 387
Join to learn more about Eric 2009 United States | Posts: 334 | Points: 4,282
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: 583
Join to learn more about allsmiles England, United Kingdom | Male | Posts: 8,979 | Points: 16,143
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: 367
Join to learn more about ranman Hawaii, United States | Straight Male | Posts: 2,229 | Points: 7,929
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