Closed Thread Icon

Topic awaiting preservation: Displaying images form folder (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=26042" title="Pages that link to Topic awaiting preservation: Displaying images form folder (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Displaying images form folder <span class="small">(Page 1 of 1)</span>\

 
Ensellitis
Bipolar (III) Inmate

From: Kansas City, MO , USA
Insane since: Feb 2002

posted posted 06-16-2005 06:39

I've tried googling this to death... I have a very large collection of emoticons I have collected throught the years and I wanted to display with a simple script that will call all of the images in a folder. I want something simple that will show each one in a seperate DIV...

I'll keep looking, but if anyone has any ideas, please let me know

poi
Paranoid (IV) Inmate

From: France
Insane since: Jun 2002

posted posted 06-16-2005 08:05

PHP : Directory functions

Markup wise, it'd be better to put the images in an UL

Tyberius Prime
Paranoid (IV) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 06-16-2005 08:49

and if in doubt: Search this very forum. We've had 'traverse all files and print something about them' at least 10 times within the last year ;-)

kuckus
Paranoid (IV) Mad Librarian

From: Glienicke
Insane since: Dec 2001

posted posted 06-16-2005 09:27

You'll find a very similar script halfway down this page of Steve's mp3 player tutorial:

http://gurusnetwork.com/tutorial/fmx_mp3_2/3/

Change the file extension it looks for from .mp3 to .jpg and think of a replacement for the <song> tags (<div>s, or <li>s inside an <ul> as poi suggested) and you should be good to go.


kuckus

« BackwardsOnwards »

Show Forum Drop Down Menu