From: Karl DeSaulniers on
Hello List,
I am hoping this will be a quick and easy for someone to help me with.
I am trying to create an upload form that lets a user upload a
product photo to the server.
In the process of this upload, I want to take the file they are
uploading and create two images to put on the server.
Both are specific sizes. A large image and a thumbnail.
I then want to throw away the file they uploaded.

My question is what is the proper way to do the uploading/resizing/
destroying?
I have been toying with imagecopyresize, but it never works.
I think I just have parameters out of order or something.

Also, I would like to put a copyright on the side.
I have been able to use imagestringup to do that,
but it covers the image im placing it on with
a transparent background and deletes the image.

How do you duplicate an image with transparency?
Or keep the transparency an image already has?
Most grateful for any help, pointers, tuts.

Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com

From: Rasmus Lerdorf on
On 04/05/2010 09:03 PM, Karl DeSaulniers wrote:
> Hello List,
> I am hoping this will be a quick and easy for someone to help me with.
> I am trying to create an upload form that lets a user upload a product
> photo to the server.
> In the process of this upload, I want to take the file they are
> uploading and create two images to put on the server.
> Both are specific sizes. A large image and a thumbnail.
> I then want to throw away the file they uploaded.
>
> My question is what is the proper way to do the
> uploading/resizing/destroying?
> I have been toying with imagecopyresize, but it never works.
> I think I just have parameters out of order or something.
>
> Also, I would like to put a copyright on the side.
> I have been able to use imagestringup to do that,
> but it covers the image im placing it on with
> a transparent background and deletes the image.
>
> How do you duplicate an image with transparency?
> Or keep the transparency an image already has?
> Most grateful for any help, pointers, tuts.

Wrong mailing list. But look at the example on the imagecopyresampled
doc page.

-Rasmus
From: Karl DeSaulniers on
Oh, I am sorry, is this not a php list?
or is this strictly php to database?

Karl


On Apr 5, 2010, at 11:32 PM, Rasmus Lerdorf wrote:

On 04/05/2010 09:03 PM, Karl DeSaulniers wrote:
> Hello List,
> I am hoping this will be a quick and easy for someone to help me with.
> I am trying to create an upload form that lets a user upload a product
> photo to the server.
> In the process of this upload, I want to take the file they are
> uploading and create two images to put on the server.
> Both are specific sizes. A large image and a thumbnail.
> I then want to throw away the file they uploaded.
>
> My question is what is the proper way to do the
> uploading/resizing/destroying?
> I have been toying with imagecopyresize, but it never works.
> I think I just have parameters out of order or something.
>
> Also, I would like to put a copyright on the side.
> I have been able to use imagestringup to do that,
> but it covers the image im placing it on with
> a transparent background and deletes the image.
>
> How do you duplicate an image with transparency?
> Or keep the transparency an image already has?
> Most grateful for any help, pointers, tuts.

Wrong mailing list. But look at the example on the imagecopyresampled
doc page.

-Rasmus

Karl DeSaulniers
Design Drumm
http://designdrumm.com

From: Karl DeSaulniers on
Found it.
Thank you.

Karl


On Apr 6, 2010, at 12:05 AM, Lester Caine wrote:

Karl DeSaulniers wrote:
> Oh, I am sorry, is this not a php list?
> or is this strictly php to database?

Questions related to database use with PHP ...
http://www.php.net/mailing-lists.php

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

Karl DeSaulniers
Design Drumm
http://designdrumm.com

From: Gunawan Wibisono on
actualy no
but if you ask in php-windows or other milis.. U will have good and quick
answer

On Tue, Apr 6, 2010 at 11:49 AM, Karl DeSaulniers <karl(a)designdrumm.com>wrote:

> Oh, I am sorry, is this not a php list?
> or is this strictly php to database?
>
> Karl
>
>
>
> On Apr 5, 2010, at 11:32 PM, Rasmus Lerdorf wrote:
>
> On 04/05/2010 09:03 PM, Karl DeSaulniers wrote:
>
>> Hello List,
>> I am hoping this will be a quick and easy for someone to help me with.
>> I am trying to create an upload form that lets a user upload a product
>> photo to the server.
>> In the process of this upload, I want to take the file they are
>> uploading and create two images to put on the server.
>> Both are specific sizes. A large image and a thumbnail.
>> I then want to throw away the file they uploaded.
>>
>> My question is what is the proper way to do the
>> uploading/resizing/destroying?
>> I have been toying with imagecopyresize, but it never works.
>> I think I just have parameters out of order or something.
>>
>> Also, I would like to put a copyright on the side.
>> I have been able to use imagestringup to do that,
>> but it covers the image im placing it on with
>> a transparent background and deletes the image.
>>
>> How do you duplicate an image with transparency?
>> Or keep the transparency an image already has?
>> Most grateful for any help, pointers, tuts.
>>
>
> Wrong mailing list. But look at the example on the imagecopyresampled
> doc page.
>
> -Rasmus
>
> Karl DeSaulniers
> Design Drumm
> http://designdrumm.com
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--
akan ada dimana mulut terkunci dan suara tak ada lagi..
saat itu gunakanlah HP untuk melakukan SMS!!
-> ini aliran bedul.. bukan aliran aneh.
tertawa sebelum tertawa didepan RSJ..