Re: Thumbnails not generating
| From: | Chris Blake | Date: | Tue, 15 Apr 2003 07:36:54 +0000 |
| Subject: | Re: Thumbnails not generating | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143873@lists.php.net to get a copy of this message | ||
Greetings Mr. Wong,
I`ve been going through countless examples from various sites but still
I`m not getting an image.
I`ve placed the php script in a seperate file and referenced it as per
example in the PHP manual, but no luck.
I
ve since been thinking maybe my PHP isnt configured for images as Mr.
Schroebel, from this list, sent me his phpinfo() output and his contains
a section labelled "gd", which mine doesn`t.
I went to php.ini and opened up the "extension = gd.so" and "extension =
zlib.so" entries hoping this may solve it...nadda.
Could it be that I don`t have some libraries installed ?
On Mon, 2003-04-14 at 17:39, Jason Wong wrote:
> On Monday 14 April 2003 20:45, Chris Blake wrote:
> > Greetings learned PHP(eople),
> >
> > Objective : Create thumbnail from single image
>
> > Please advise if I`m missing some vital points on creating thumbnails.
>
> Well I would suggest taking things slowly and work it out step by step.
>
> First, your subject suggests that the image is not being generated. Figure out
> some code to create a thumbnail and write to file. Once you've got that
> working it's a simple matter of changing the output to STDOUT (ie echo() it
> instead of writing to file).
>
> Second, you cannot have html and output an image on the same page as you're
> trying to do. The part that outputs the image needs to be in a separate php
> script and called from your main html output script. There are plenty of
> examples in the archives on the hows and whys of this.
>
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.biz
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
> ------------------------------------------
> Search the list archives before you post
> http://marc.theaimsgroup.com/?l=php-general
> ------------------------------------------
> /*
> A university faculty is 500 egotists with a common parking problem.
> */
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
Chris Blake
Office : (011) 782-0840
Cell : 083 985 0379
Linux vs. Windows is a no WIN situation.