Change image filetype on upload?


Posted on 16th Feb 2014 07:03 pm by admin

Hi,
I've got a form which uploads an image to the server.
Is it possible to change the image type during the upload?

I want the user to be able to upload images that are .gif .jpg or .png, but when uploaded, if they are .gif or .jpg, have been changed to .png.

Is this possible?

No comments posted yet

Your Answer:

Login to answer
282 Like 38 Dislike
Previous forums Next forums
Other forums

BI in Upstream Production operations
Appreciate if you can assist in the following areas:
1) Examples of life before and after BI i

ALV List Display to point to another report on Double Click
Hi,

I want my ALV List Display to point to another report on Double Click on its line ite

EU VAT Package 2010
Does any one know whether SAP will be developing new reporting functionality due the new VAT rules t

'grab_files', multiple extension?
hey guys,

can anyone suggest a way to make to following line of code look for files with more

split string
Hi all

i have some names (imploded by comma):
Code: toronto,paris,madrid
Now, i would

removing space from the end of a variable
i have a variable $image which contains the following url "http://tiles.xbox.com/tiles/oo/P5/0m

ScriptManager History and Opera Issue
I am having an issue in opera with the ScriptManager. I have a ScriptManager on a page with history

Generate PDF
Hi guys,

I would like to know if there is a way to generate pdf when clicking on a link. In f

Prevention Help
How can I use PHP or any other language (feel free to move this thread) to prevent users doing scree

ImageCreate()
When I create an image and add text to it I want my text to be replaced with a PNG image, because th

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash