|
|
Post a Project »
Find a Professional HTML Freelancer!
Find a Freelancer to help you with your HTML projects
| |
|
Very Basic Question...I know, I should know this...
07-30-2007, 07:24 PM
|
Very Basic Question...I know, I should know this...
|
Posts: 2,162
Name: ...
Location: ...
|
I have a basic page with a table (1 row 1 Column 100% width)
In the row, I will have an image, in the column will be the description.
I have a whole lot of images to add so I am going to need to do this via a template. Could Frontpage 2003 (Dynamic Templates feature) help me with this?
In a nutshell, I want to have 12 rows (images) / 12 columns (descriptions) per table, and I will have almost 2,000 images to add in this manner. About 150 pages of images to deal with.
Does anyone know if this can be done in Frontpage 2003 and if so, could you explain how to do it?
TEMPLATE IS THE KEY..I know I can do it via insert-picture-from file and select all the images in the folder and add them, but I need each image to go into a seperate row.
Thank you!
-Brian
__________________
Made2Own
Last edited by Brian07002; 07-30-2007 at 07:43 PM..
|
|
|
|
07-30-2007, 11:58 PM
|
Re: Very Basic Question...I know, I should know this...
|
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
|
Since I don't use Frontpage I couldn't tell you if you could do this in the program, but if I'm understanding what you want a little server side scripting would do the trick.
|
|
|
|
07-31-2007, 01:10 AM
|
Re: Very Basic Question...I know, I should know this...
|
Posts: 2,162
Name: ...
Location: ...
|
Quote:
|
Since I don't use Frontpage I couldn't tell you if you could do this in the program, but if I'm understanding what you want a little server side scripting would do the trick.
|
Yeah, I bet php would do it, but I don't have the script.
__________________
Made2Own
|
|
|
|
07-31-2007, 07:36 AM
|
Re: Very Basic Question...I know, I should know this...
|
Posts: 2,162
Name: ...
Location: ...
|
I know it can be done via php but I don't want to use php code for this. Even if there's some kind of html generator that will do it...Like I say, I am using frontpage 2003 to try and do it.
It's basically like this, I goto Insert->Picture->From File (I select multiple pics at once) now when I hit the insert button, I need each pic to go into it's own row. I know that usually can't be done without another tool, I thought maybe the template feature in FP2003 would do it...Still messing with it...Anyone know of a freeware html generator of some sort that could do it? I tried looking and didn't find one..Now I will back things up when I get them instead of using and deleting it. How many years have I been doing this?
Thanks
__________________
Made2Own
|
|
|
|
07-31-2007, 09:49 AM
|
Re: Very Basic Question...I know, I should know this...
|
Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
|
You probably won't find any freeware generator that will accomplish what you want.
What would probably be better for you is to figure out how FrontPage interacts with Access using ASP and to put your pictures into an Access database. You can use the ASP pages to retrieve, sort, and display the pictures in a templated manner.
|
|
|
|
07-31-2007, 05:23 PM
|
Re: Very Basic Question...I know, I should know this...
|
Posts: 5,662
Name: John Alexander
|
That only works if he has an IIS server? Or is there a way to run that locally and then save the output as pure html that can go up from any server?
I'm a little confused about the way the table is going to be used. You say in the row will go the pic and in the column the description, but that you only have one cell.
|
|
|
|
07-31-2007, 07:59 PM
|
Re: Very Basic Question...I know, I should know this...
|
Posts: 2,162
Name: ...
Location: ...
|
Hi,
Ok, this really couldn't get any easier, but i'm in need of a tool to automate the process to...
Create a table that will contain 1 row for each image in a folder. But the table will also need 1 column as well for each image, because that will be for the description. I am going to manually add the descriptions.
__________________
Made2Own
|
|
|
|
07-31-2007, 08:25 PM
|
Re: Very Basic Question...I know, I should know this...
|
Posts: 2,162
Name: ...
Location: ...
|
Ok,
I thought it over and here is exactly what I am trying to accomplish, this is the table (only a couple of rows / columns shown for example)
Code:
<table border="0" cellpadding="2">
<tr>
<td>
<font face="Verdana" size="2">
<img border="0" src="image.jpg"></font></td>
<td valign="top"><font face="Verdana" size="2">Description: This is just
a sample description of one item. I used the top align because there
will be alot of text in this cell.</font></td>
<td nowrap align="center"><font face="Verdana" size="2">
<a href="filename.jpg">Larger Picture</a></font></td>
<td nowrap align="center"><font face="Verdana" size="2">Price: $0.00</font></td>
</tr>
<tr>
<td> </td>
<td valign="top"> </td>
<td nowrap align="center"> </td>
<td nowrap align="center"> </td>
</tr>
<tr>
<td> </td>
<td valign="top"> </td>
<td nowrap align="center"> </td>
<td nowrap align="center"> </td>
</tr>
<tr>
<td> </td>
<td valign="top"> </td>
<td nowrap align="center"> </td>
<td nowrap align="center"> </td>
</tr>
</table>
I decided to have more than two columns for a change in thought. So I would actually need a php script here...
Script Functions:
The script would need to be placed inside a folder with the full sized images, then (on the fly) create the thumbnails for each image, and place them into row 1, row 2, row 3 etc (of the table)...Then in column 3 as shown in row 1 in the above code is the 'Larger Image' link which would need to be linked to the larger image (based on the original filename)
Hope that makes sense.
__________________
Made2Own
|
|
|
|
07-31-2007, 09:14 PM
|
Re: Very Basic Question...I know, I should know this...
|
Posts: 10,017
Location: Tennessee
|
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
|
|
|
|
07-31-2007, 10:10 PM
|
Re: Very Basic Question...I know, I should know this...
|
Posts: 2,162
Name: ...
Location: ...
|
I tried those examples, but they don't help me out.
__________________
Made2Own
|
|
|
|
08-01-2007, 12:05 AM
|
Re: Very Basic Question...I know, I should know this...
|
Posts: 2,162
Name: ...
Location: ...
|
Found this php code which does generate the thumbs correctly, and links thumbs, but it needs to be modified to fit my html layout...
Code:
<html> <head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
</head> <body bgcolor="#FFFFFF">
<div align="center"><center>
<?php
$a = '0';
$filepath = "thumb";
$url_path = ".";
$dir = dir($filepath);
echo "<table border=\"0\" cellpadding=\"5\" cellspacing=\"5\" width=\"75%\">";
while($entry=$dir->read()) {
if($entry == "." || $entry == "..") {
continue;
}
$fp = @fopen("$filepath/$entry","r");
if ($a == '0') {echo "<tr>";}
if ($a == '5') {echo "<tr>";}
if ($a == '10') {echo "<tr>";}
if ($a == '15') {echo "<tr>";}
?><td>
<a href="<? echo "$url_path/$entry" ?>">
<img src="<? echo "$filepath/$entry" ?>" alt="<? echo $entry ?>"></a>
</td>
<?
$a = $a + 1;
}
?>
</tr>
</table>
</center></div>
</body>
</html>
Anyone?
__________________
Made2Own
|
|
|
|
|
« Reply to Very Basic Question...I know, I should know this...
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|