imagecopyresize???????

imagecopyresize???????

am 06.04.2010 06:03:27 von Karl DeSaulniers

--Apple-Mail-1-161631860
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed

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


--Apple-Mail-1-161631860--

Re: imagecopyresize???????

am 06.04.2010 06:32:25 von Rasmus Lerdorf

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

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: imagecopyresize???????

am 06.04.2010 06:49:13 von Karl DeSaulniers

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

Re: imagecopyresize???????

am 06.04.2010 07:15:44 von Karl DeSaulniers

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


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: imagecopyresize???????

am 06.04.2010 10:38:35 von bedul

--00504502ca5418b28804838d5fc5
Content-Type: text/plain; charset=ISO-8859-1

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

--00504502ca5418b28804838d5fc5--

Re: imagecopyresize???????

am 06.04.2010 10:41:29 von Karl DeSaulniers

Thanks Gunawan.
I got on the gen list.
Thanks for the response.

Karl


On Apr 6, 2010, at 3:38 AM, Gunawan Wibisono wrote:

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

Karl DeSaulniers
Design Drumm
http://designdrumm.com


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php