Not too long ago I wrote the following email and got a couple of interesting
answers trying to help me with the solution. Thank you all for it. Now, I
found out that there is something REALLY weird going on.
> Hi all,
> I understand that
>
>    FileItem fileItem = data.getParameters().getFileItem("file");
>    fileItem.write(TurbineServlet.getRealPath("") +"/images/" +
>    data.getUser().getUserName() + ".jpg");
>
> is supposed to be used for uploading content through forms in Turbine
> actions It seems to work, with one little problem.... The image I am
> getting on the server is totally scrambled. Doesnt look like the original
> at all.

The point is, that if i use the above code with larger images (300x300) it
seems to work just fine. It doesnt work with images smaller than that for
some reason ... funny ...


One more thing ... i don't need a solution anymore, since i used a different
way of uploading the images.

rgds
Albrecht F. Leiprecht


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to