Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Web Design Lobby Forum for general web design issues not specific to scripting or graphics.

Ezilon Directory   ClickBooth Network   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 11-02-2006, 09:16 AM   #1 (permalink)
Inactive
 
Join Date: 11-02-06
Posts: 6
iTrader: 0 / 0%
Latest Blog:
None

RSTWORK is liked by many
Listing/posting many pictures

I use Dreamweaver MX for editing my company's internal website. I have been tasked with posting a large number of pictures relating to some events that have happened recently.

My question is there a way to use dreamweaver to link to a folder that has the pictures saved to them, instead of posting each picture individually??


Thx.
rst
RSTWORK is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 11-02-2006, 09:59 AM   #2 (permalink)
Inactive
 
littleFella's Avatar
 
Join Date: 06-20-04
Location: Ontario
Posts: 3,359
iTrader: 0 / 0%
Latest Blog:
None

littleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to behold
You can have all pictures shown automatically using php. All you need to do is place a picture in the directory, along with a php page with the following code (pamper the html formating to your liking):

PHP Code:
 <?php  
 $files 
= array();  
 
$dir opendir('.');  
 while((
$file readdir($dir)) !== false)  
 {  
  if(
$file !== '.' && $file !== '..' && !is_dir($file))  
  {  
    
$files[] = $file;
  }
 }  
 
closedir($dir);  
 
sort($files);  
 echo(
"<table style='text-align: left; width: 90%;' border='1' cellpadding='2' cellspacing='2'> <tbody>");
  for(
$i=0$i<count($files); $i++)  
 {  
 
echo 
"<tr> <td><img src=$files[$i]><br> $files[$i] </td> </tr>";
 }  

echo 
"</tbody> </table>";

 
?>
littleFella is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-02-2006, 10:07 AM   #3 (permalink)
Inactive
 
Join Date: 11-02-06
Posts: 6
iTrader: 0 / 0%
Latest Blog:
None

RSTWORK is liked by many
Thanks. I'll try it & let you know how it goes.
RSTWORK is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-02-2006, 11:11 AM   #4 (permalink)
Inactive
 
Join Date: 11-02-06
Posts: 6
iTrader: 0 / 0%
Latest Blog:
None

RSTWORK is liked by many
Quote:
Originally Posted by RSTWORK View Post
Thanks. I'll try it & let you know how it goes.
OK in order to do this properly and if I read it correctly, I'd have to install a PHP application on my web server. I was hoping not to have to do this. (call me lazy.) It maybe easy I am not sure.

What I am looking for is a very easy/simple way to link to a shared network folder,which has all the 90 some odd pictures in it.

(little background --
this is a very basic intranet site. That is used for posting annoucements and word/pdf files for the company. )

maybe I am missing something & should just not do this because I don't have the apitude for it.
RSTWORK is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-02-2006, 11:30 AM   #5 (permalink)
Inactive
 
littleFella's Avatar
 
Join Date: 06-20-04
Location: Ontario
Posts: 3,359
iTrader: 0 / 0%
Latest Blog:
None

littleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to behold
if you don't want to use php (or any other scripting) then the only way I can think of is allowing directory browsing, which may be a security risk.
You might alleviate that risk somewhat by passwording that directory access in Apache's .htaccess file.

Under that scenario the users will see a list of files as links.
littleFella is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Posting pictures questions AmySueN V7N Forum Support 2 02-15-2008 07:09 AM
Yahoo UK free listing vs Paid listing chillfire Web Directory Issues 4 09-17-2007 09:01 AM
What are the prices for travel articles, forum posting, blog posting, ... ernest1a Marketing Forum 5 07-21-2007 09:29 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 12:34 PM.
© Copyright 2008 V7 Inc