Reply to Re: Displaying Pictures Problems

Your name:

Reply:


Posted by J.O. Aho on 11/26/05 00:51

SteadyEddie wrote:
>
> 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);
> ?>

lets call this script for image.php

> 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?

put a
<img src="image.php">
where you want the picture to appear.


//Aho

[Back to original 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

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