Problem converting images to screen / variable ...

See all posts See thread Reply

Re: Problem converting images to screen / variable ... new!
by colin, 15 years, 6 months ago
You need to call process() only once. You can remove the first call to process().

After the first call to process(), the variables are reinitialized, and the second call to process() will "upload" the picture without any resizing.

So here in your code, you store the resized JPEG image on disk, and then you secondly get untreated image in the database. This is why the second image appears large; in fact, it is your original image that you get in the second call to process().Reply