LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 766 users online 225392 members 950 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
Eos
Peeves: 1. People who eat with their mouths op...
Mood: Bored
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 / 25 MPM
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Adding Reply

Adding Reply
Archived Topic: It will not be bumped to the top of the forum.
Topic PHP gallery
Membername   Not a member? Sign Up Free (takes 20 seconds)
Password   Forgotten your password?
Post

Font:   Size:   Color:

FAQ Keyword Search:
Post Options
Favorites Manager
Notify me of new replies to this topic by email
Notify me of new replies to this topic by private message
Original Post
Eric 2009 Posted at 1:06 pm on Dec. 28, 2008
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

Replies
ranman Posted at 2:14 am on Feb. 4, 2009
yeah but he wants you to write the code for him lol
allsmiles Posted at 3:32 pm on Jan. 14, 2009
Well that's exactly what I suggested.
Eric 2009 Posted at 2:54 pm on Jan. 12, 2009
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
matto Posted at 1:31 pm on Dec. 29, 2008
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
allsmiles Posted 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.
Mediocre Posted at 1:15 pm on Dec. 28, 2008
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

Light Assassin Posted at 1:11 pm on Dec. 28, 2008
manually align?
Lord Cat Posted at 1:08 pm on Dec. 28, 2008
<a>1.jpg</a>
Wait no that HTML lol i don't know php i only know python and javascript? soz
All 8 previous replies displayed.