Page 1 of 1

problem with image

Posted: Sat Oct 25, 2003 4:50 am
by bouboul
i'm really a newbie. i've downloaded php with the imap support , it is ok. when i'm looking at my phpinfo file, i can see :

gd

GD Support enabled
GD Version 1.6.2 or higher
FreeType Support enabled
FreeType Linkage with freetype
JPG Support enabled
PNG Support enabled
WBMP Support enabled

it seems that the jpg support is enabled, but i've just been writing the following code :

<?php
echo "<img src='/root/peppers_tn.jpg'> " ;
?>

this file is /usr/local/httpd/htdocs/image.php
i've really saved this peppers_tn.jpg in : /root .(just for a test ),
but when i'm trying to display this file from the browser, i'm really getting nothing no message of error, but also no image.

i'm really confused :?:

please help me

Re: problem with image

Posted: Sat Oct 25, 2003 5:04 am
by vigge89
bouboul wrote:i'm really a newbie. i've downloaded php with the imap support , it is ok. when i'm looking at my phpinfo file, i can see :

gd

GD Support enabled
GD Version 1.6.2 or higher
FreeType Support enabled
FreeType Linkage with freetype
JPG Support enabled
PNG Support enabled
WBMP Support enabled

it seems that the jpg support is enabled, but i've just been writing the following code :

<?php
echo "<img src='/root/peppers_tn.jpg'> " ;
?>

this file is /usr/local/httpd/htdocs/image.php
i've really saved this peppers_tn.jpg in : /root .(just for a test ),
but when i'm trying to display this file from the browser, i'm really getting nothing no message of error, but also no image.

i'm really confused :?:

please help me
im not sure if this is gonna work, but test it:

<?php
echo "<img src="peppers_tn.jpg">";
?>

and also, is the image in the root folder (htdocs)?
then i dont know why u use root?

im not a total newbie, rather a newbie, so im not sure

Posted: Sun Oct 26, 2003 9:42 am
by bouboul
i've followed your advice , now it's working

thanx alot

Posted: Sun Oct 26, 2003 9:43 am
by vigge89
im glad to help :) :wink:

how to create logo ?

Posted: Mon Oct 27, 2003 4:06 am
by bouboul
hello,

do you know any free software which is compatible with linux that could allow me to create some logo?

where can i download it ?

thanx in advance. :?:

Posted: Mon Oct 27, 2003 4:26 am
by twigletmac
The Gimp - http://www.gimp.org/

Mac