Robert,

I am fairly new to php as well, but I think I may be able to help.

Unless you need to modify the images when you display them, you should be able to just use html to display them as thus:

--Start Code Here

/* These variables would be filled in by the information you have from your flat file */
$img_loc_filename = "032902.jpg";
$img_width = 300;
$img_height = 200;
$img_description = "Description Here";


echo "<img src=$img_loc_filename border=0 width=$img_width height=$img_height ALT=$img_description>";

--End Code Here

Or something along those line

Sam


I'm a newbe to php and am trying to develop a routine to display artwork on
my wife's site.  I want to load from a flat file information about the
artwork and image file names of the pieces.  Then using the image file name,
I want to display the image to the browser.  I've figured out how to load
the data from the file, but I could only find ("PHP and MySQL Web
Development", Welling & Thomson) two functions to display the images:
ImageCreateFromxxx or Imagexxx.  Neither one works.  In fact, Dreamweaver MX
doesn't even show them as valid php functions.

Any suggestions would be greatly appreciated....

Robert


--
 ----------------------------------------------------------------
|Sam A. Funk       http://www.samafunk.com          [EMAIL PROTECTED]|
|Wichita, KS     Guitarist (self-proclaimed)    Macintosh Fanatic|
|Kansas Bluegrass Association    http://www.kansasbluegrass.org/ |
 ----------------------------------------------------------------

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to