Alida,

(As all do know) I am not any kind of expert on this, but I cam across this
in the php manual which may assist.

XLI. Image functions
Introduction
PHP is not limited to creating just HTML output. It can also be used to
create and manipulate image files in a variety of different image formats,
including gif, png, jpg, wbmp, and xpm. Even more convenient, PHP can output
image streams directly to a browser. You will need to compile PHP with the
GD library of image functions for this to work. GD and PHP may also require
other libraries, depending on which image formats you want to work with.

You can use the image functions in PHP to get the size of JPEG, GIF, PNG,
SWF, TIFF and JPEG2000 images.


  Note: Read requirements section about how to expand image capabilities to
read, write and modify images and to read meta data of pictures taken by
digital cameras.


Joseph

> Hi,
>
> I'm hoping someone can sort me out here. I want to make a really small
> simple way to put a series of images together, but all I've been able to
> find is how to include php or html files like in the example here:
>
>
> <?
> if($s=="home"){
> include("home.html");
> }
> elseif($s=="about"){
> include("about.html");
> }
> elseif($s=="contact"){
> include("contact.html");
> }
> //if no page is defined, then display your main content...
> else{
> include(news.php);
> }
> ?>
>
>
> What I'd love to do is cut out the need to make an html file because all I
> want to do is stuff in a single image per "page", as a kind of gallery.
Kind
> of like:
>
> }
> elseif($s=="contact"){
> include("contact.jpg");
> }
>
> But that doesn't work obviously.... is there some other way to write it?
> I've exhausted my limited PHP knowledge, and I don't seem to be hitting
the
> right google terms for online tutorials.
>
> Thanks for your time,
>
> Alida
> _________
>
> Alida Saxon
> http://www.alidasaxon.com
>
>
> ____ . The WDVL Discussion List from WDVL.COM . ____
> To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
>        Send Your Posts To: [EMAIL PROTECTED]
> To set a personal password send an email to [EMAIL PROTECTED] with the
words: "set WDVLTALK pw=yourpassword" in the body of the email.
> To change subscription settings to the wdvltalk digest version:
>     http://wdvl.internet.com/WDVL/Forum/#sub
>
> ________________  http://www.wdvl.com  _______________________
>
> You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to %%email.unsub%%
>
> To unsubscribe via postal mail, please contact us at:
> Jupitermedia Corp.
> Attn: Discussion List Management
> 475 Park Avenue South
> New York, NY 10016
>
> Please include the email address which you have been contacted with.
>


____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set 
WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

Reply via email to