Applet "Resize before Upload" not working.
dwdallam
Joined: 2006-11-19
Posts: 394 |
![]() |
My applet "resize before upload" option is not working. I know this becsaue when I leave it off, everything uploads. Click it on, and I get a perpetual "preparing for transfer" until it eventually times out. I just installed another gallery and that option works fine. I've set maximum dimentions and max file size in Site Admin too. What am I missing here and how do I fix this problem? |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
FAQ: What information is required when I ask for help in the forums? -------------- |
|
dwdallam
Joined: 2006-11-19
Posts: 394 |
![]() |
OK sorry. Gallery version = 2.1.2 core 1.1.0.2 Java Platform: Version 1.5.0 (build 1.5.0_10-b03) Using Firefox. I didn't have "resizeonUpload=true" set. So what I did was set that line and then try it. it still didn't work. So what I did then was uninstall the Java Runtime program. I reinstalled it and tried to upload again. Since you needed the applet version, I opened the Java Control panel, but this time (after uninstalling and reinstalling, there is no applet shown, so I can't get the version). It does work is teh resize option is NOT checked, so I know it's installed. I ahve no idea why teh stupid java panel isn't showing it. The same thing is happening. It will upload only if the "resize before upload" box is unchecked. I tried it with IE 6+ which presents the same problem. |
|
dwdallam
Joined: 2006-11-19
Posts: 394 |
![]() |
Deleted: Irrelevant |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
can you please try g2.2 rc-1 with the latest upload applet module as well? -------------- |
|
dwdallam
Joined: 2006-11-19
Posts: 394 |
![]() |
I just wanted to post another log that shows errors with ImageMagic. I ran the site admin test on all the image modules, and they passed: server_version=2.8 |
|
dwdallam
Joined: 2006-11-19
Posts: 394 |
![]() |
valiant wrote:
can you please try g2.2 rc-1 with the latest upload applet module as well? This same version was working fine on another website running on the same server. I just checked and it too is no longer working. My web shell account hosting company said I can install updatres from their server, so that should be easy to do. I'm talking to them now and they are checking for any problems on their end. I'll post back. |
|
dwdallam
Joined: 2006-11-19
Posts: 394 |
![]() |
OK they said everything was woring corectly on their end. Does anyone know why the resize on upload would stop working? It's not working on either if the installs I di now. They both reside in the same root directory of a shared hosting shell account. |
|
dwdallam
Joined: 2006-11-19
Posts: 394 |
![]() |
OK they said everything was woring corectly on their end. Does anyone know why the resize on upload would stop working for both sites? It's not working on either if the installs I did now. They both reside in the same root directory of a shared hosting shell account. It will upload, but it will not resize on the client. The first site worked fine last week. When uploading a 10MB image file, it would resize it on the client and upload using the parameters set in Site Admin--700x700 max 200KB quality 75.I really don't want to reinstall manually two gallerys for two different sites just to see if it works, if possible. |
|
dwdallam
Joined: 2006-11-19
Posts: 394 |
![]() |
OK I'm getting teh same type fo error in the java control log on the other site too: 7859|TRACE|ImageUtils|Executing [convert, -filter, Lanczos, H:\Pictures\Canon5D\Studio_People\2006.08_Ashley\print\ashley_59LUSb.jpg, -resize, 500x500>, -quality, 90, C:\DOCUME~1\Zeus\LOCALS~1\Temp\thumbs-Zeus\res1791061077.jpg] What is Lanczos and why does it report that ImageMagic isn't working? It's installed and everything was working fine just a week ago. The problem is that resize before upload is not working. |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
it's important to understand that the image tools (graphics toolkits) of gallery 2 have nothing to do with the upload applet's image toolkits. the upload applet is a part of the Gallery Remote framework. it uses imagemagick as well, but the one from gallery 2. it uses the imagemagick binaries that are installed on your own computer (where the browser is running on). so if talks about the "11765|TRACE|ImageUtils|Err: Invalid Parameter - Lanczos" error, then that's about the upload applet's attempt to run imagemagick. -------------- |
|
dwdallam
Joined: 2006-11-19
Posts: 394 |
![]() |
OK so how do I fix that so it will resize before upload? I talked to a guy in the gym tonight that is familiar with Gallery2, and he said since it was installed twice under the same main domain, once for an "add-on" domain and once for the main site, both installs may be trying to use the same database. He said to change the database name to something different than the first install, because the databases should be named something sequential, like db01, db02 etc. Is this a possible problem? I'll take a look in a bit. |
|
dwdallam
Joined: 2006-11-19
Posts: 394 |
![]() |
I checked the database and they are named different names. So that isn't the problem. What could be causing the applet not to resize befire upload? |
|