You are here: Re: Displaying Pictures Problems « All PHP « IT news, forums, messages
Re: Displaying Pictures Problems

Posted by SteadyEddie on 11/26/05 00:41

i tested this code at the very top of the page and got the pitcture to out
put correctly.

<?php
header("Content-type: image/jpeg");
$im = imagecreatefromjpeg("bcmodels/gallery/AhrimanFront2.jpg");
imagejpeg($im, "", 75);
imagedestroy($im);
?>

So my problem now is how do i get an output to a specific part of the page
without having it change to a jumble of letters?
do i need to write a "select image" script? if so how would i set it up?

"SteadyEddie" <edd_edwards@yahoo.com> wrote in message
news:EiMhf.5647$0o2.439@newsfe3-gui.ntli.net...
>
>
> I set the content type at the top of the php document as i had "headers
> already sent errors" from putting it next to where i want the image
> outputted (if thats a word).
>
>
> "Stefan Rybacki" <stefan.rybacki@gmx.net> wrote in message
> news:3uoeo9F12dsa5U1@individual.net...
> > Where did you set the content type and how?
>
>
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация