LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 328 users online 221646 members 377 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
Erebus
Erebus Pursue the Darkness Ș » Ğ
Mood: Angry
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
3 online / 19 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: 367
Join to learn more about Eric 2009 United States | Posts: 332 | Points: 4,080
LiveWire Humor
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

-------
The linux command line is like windows DOS
on acid with a credit card in los-vegas ,it can do anything,

1:08 pm on Dec. 28, 2008 | Joined: Sep. 2008 | Days Active: 202
Join to learn more about Lord Cat Ireland | Label Free Male | Posts: 3,130 | Points: 5,278
Light Assassin



Patron
Reply
manually align?

1:11 pm on Dec. 28, 2008 | Joined: Sep. 2007 | Days Active: 434
Join to learn more about Light Assassin Christmas Island | Posts: 9,767 | Points: 36,619
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: 564
Join to learn more about allsmiles England, United Kingdom | Male | Posts: 8,800 | Points: 15,765
matto


Omnipotent 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

-------
"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: 490
Join to learn more about matto California, United States | Male | Posts: 9,804 | Points: 19,066
( 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: 367
Join to learn more about Eric 2009 United States | Posts: 332 | Points: 4,080
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: 564
Join to learn more about allsmiles England, United Kingdom | Male | Posts: 8,800 | Points: 15,765
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