Uploading via java applet (with resize enable) goes wrong!
Cybex
Joined: 2005-12-29
Posts: 7 |
Posted: Sat, 2007-07-14 07:59 |
Hello everybody, I have searched this forum yesterday evening and this morning, I did find other users with the same problem, but I didn't find any solution yet. This is the problem: When I upload an image via web upload, everything works fine. After the upload applet is done, it says: "Upload completed" without an error message. The "thumbnail" is totally black (http://www.nogravity.nl/main.php?g2_view=core.DownloadItem&g2_itemId=152&g2_serialNumber=1) and the images shows a red cross (http://www.nogravity.nl/main.php?g2_view=core.DownloadItem&g2_itemId=151&g2_serialNumber=1). Could you please help me further with this? I'm starting a gallery because my wife is pregnant and the baby may pop out any time soon (could be this evening ). I'd like to share pics via the gallery.
|
|
Posts: 7
Somebody please? Give me a clue, so I can try something myself. I am out of clues right now
Posts: 7
Aargh, I tried several things now and I cannot get this to work.
Installed gallery2 on Fedora Core 4: same problem
Installed gallery2 on Fedora Core 6: same problem
Installed all kinds of image processors (netpbm, imagemagick, gd): same problem
This is a clean install, why doesn't this work? Has this got to do with Java on my computer (Windows Vista, Java 1.6)
Posts: 32509
as a temporary fix i suggest you disable client-side resizing of your applet.
go to site admin -> upload applet.
and add the override variable
resizeBeforeUpload with the value "false"
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 7
So then no resizing will be done at all?
Posts: 32509
no resize before upload.
gallery still generates resized image versions on the server...
if you want smaller original / fullsize images, you have multiple options:
- server-side resizing: use g2's sizelimit module
- client-side resizing: get GR's / the applet's resizing to work
- client-side resizing: use the windows publishing wizard (g2's publish xp module)
- client-side resizing: resize your images in a batch with irfanview or another tool
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 7
Oooh, I thought that resizing wasn't done on the server. Thanks for your reply!
Posts: 9
Hi,
Did you ever get client side resizing to work? I am having a similar problem and unless I have imagemagick installed on my PC it will not correctly upload pictures via the applet. It says the pictures are uploaded, but the files are corrupt.
I have made sure the applet and the remote are the latest versions. The Java version on my PC is 1.6.0_01.
Cheers
Ian