Register Login
   
 Latest Posts  
[Pager] in Latest Articles
by robax on 7/06/2008 12:45 AM
RE: [PAGER] Color Control
by robax on 7/06/2008 12:34 AM
RE: Sites using News Articles
by BlackWarlock on 7/06/2008 12:19 AM
[PAGER] Color Control
by BlackWarlock on 7/06/2008 12:10 AM
RE: Upgrade chicken-egg-question
by goblanks on 7/05/2008 3:46 PM
Launch Links set causes different page skin to load
by mhiles on 7/05/2008 2:44 PM
RE: News Articles 00.06.13 Released! Error
by mhiles on 7/05/2008 3:31 AM
RE: Upgrade chicken-egg-question
by SPulley on 7/04/2008 8:26 PM
RE: Standards compliant
by llong on 7/04/2008 6:11 PM
User Opt out
by llong on 7/04/2008 5:52 PM
 Forums  
Subject: Problem uploading an image - Processing image...
Prev Next
You are not authorized to post a reply.

AuthorMessages
Chris McCandlessUser is Offline
Registered Users

Posts:10

3/26/2008 7:57 AM  

Hi,

I'm having a problem with version 2.03.05 of SimpleGallery running on DotNetNuke version 4.7 and WebSecureStores.com. When I try to upload a photo, in Step 2 of 3: Upload Photos, I get a message indicating that it's "Processing image...". That message stays there indefinitely. In the status bar on FireFox, there is a message that reads "Transferring data from fpdownload2.macromedia.com...".

This doesn't seem to be isolated to FireFox or this system, as I'm also getting the same result on 2 different systems and with Internet Explorer.

Could this be something going on with WebSecureStores?

 

 

 

 

 

Chris McCandlessUser is Offline
Registered Users

Posts:10

3/31/2008 11:51 AM  
Is anyone else having a problem like this?
Chris McCandlessUser is Offline
Registered Users

Posts:10

3/31/2008 5:12 PM  
I solved the problem, but I'm not sure exactly what caused it. I opened the jpg with IrfanView and saved the picture with the following options unchecked:

Keep original EXIF data
Keep original IPTC data
Keep original JPG-Comment
Reset EXIF orientation tag

The size of the file grew from 761 K to 960 K.
Scott McCullochUser is Offline
Administrators

Posts:10711


4/01/2008 2:44 AM  
Hi Chris,

I've notice some of the advanced photo features sometimes cause errors in resizing.

Scott McCulloch
Site Administrator
sjeffersUser is Offline
Gold Membership
Nuke Newbie
Nuke Newbie
Posts:2

4/09/2008 9:29 AM  
well I have the same issue with the processing causing the page to freeze and can't reopen each file to check advanced photo features, any ideas?
Scott McCullochUser is Offline
Administrators

Posts:10711


4/10/2008 4:28 AM  
You can't open the file before uploading it?

Scott McCulloch
Site Administrator
sjeffersUser is Offline
Gold Membership
Nuke Newbie
Nuke Newbie
Posts:2

4/10/2008 5:57 AM  
I deleted all the modules and reinstalled, working fine now. BTW, is there a rotation tool included anywhere, maybe in the importing or management?
Scott McCullochUser is Offline
Administrators

Posts:10711


4/14/2008 6:57 AM  
There isn't a rotation tool in the module yet.

Scott McCulloch
Site Administrator
Adam PritchardUser is Offline
Registered Users
Nuke Super Newbie
Nuke Super Newbie
Posts:17

5/17/2008 4:53 PM  

I am still having problems uploading images from my camera using "Select Images" in Simple Gallery.

The images I am taking are at 8 megapixel resolution in JPEG format and range from 1.5MB to 3MB in size.

Not all images fail to upload, just some. If I batch resize all of the images to a much lower resolution, for example 800x600 and then upload everything works fine. The batch resize process may do some stripping of EXIF information and that may be a factor in making uploads happen successfully.

Incidentally, if I upload the original 8 megapixel files to the site via FTP and then synchronize, everything works fine. This confuses me, if the EXIF information is causing the resize to fail, then surely this would also happen when the files were syncrhonized and resized?

I am currently travelling the world and do not have access to the various pieces of software needed to batch resize my images before uploading to Simple Gallery.

I am a web developer myself and have written several CMS systems from the ground up. Image upload, manipulation and resizing being a fundamental part of this work . This problem seems to be isolated to the "Select Images" SWFUpload method only and this problems needs further investigation.

Adam PritchardUser is Offline
Registered Users
Nuke Super Newbie
Nuke Super Newbie
Posts:17

5/17/2008 6:27 PM  

Update...

I hadn't tested my theories fully enough before sending my previous post.

I uploaded a few more images by FTP and then synchronized and received the following error:

Error: Edit Album is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Out of memory. ---> System.OutOfMemoryException: Out of memory. at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement) at System.Drawing.Image.FromFile(String filename) at Ventrian.SimpleGallery.EditAlbum.SynchAlbum(Int32 albumID) at Ventrian.SimpleGallery.EditAlbum.cmdSynchronize_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---

I have tried resyncronizing a few times and either receive an error saying that the Album Editor is unavailable or the one above.

Maybe this is the same error that is happening when using the "Select Images" method, only it doesn't get displayed, it just hangs at processing image.

This would explain why smaller images get processed OK.

I am using shared hosting (EasyCGI) and I guess they don't allocate me enough memory to even load an 8 megapixel image as a System.Drawing.Image, I guess this needs to allocate 8 megapixels uncompressed. Quick calculations tell me that an 8megapixel image uncompressed at 24 bit without alpha channel takes 22megabytes. This doesn't seem much but I guess budget shared hosting are probably quite tight on resource allocation.

I can only assume that there are loads of other people experiencing problems with image uploads hanging due to this error. Can you not place the loading of JPEG into System.Drawing.Image in a try..catch block and then display an appropriate error if this part fails?

I think I am finally getting to the bottom of this problem that has been driivng me absolutely nuts.

Thanks,
Adam

Scott McCullochUser is Offline
Administrators

Posts:10711


5/17/2008 7:07 PM  
Can you tell me what version of simple gallery you are on? And provide a sample 8mb image that is failing (support@ventrian.com)

Scott McCulloch
Site Administrator
Adam PritchardUser is Offline
Registered Users
Nuke Super Newbie
Nuke Super Newbie
Posts:17

5/17/2008 7:27 PM  

Hi Scott,

Thanks for getting back to me so quickly.

I've posted about this same issue before under different threads, but after having seen this thread I believe it to be the most relevant.

I installed another Gallery module to the same DotNetNuke installation on the same shared hosting that is giving me problems with uploading the 8 megabit images and it too gave Out of Memory error when trying to import the same images from a folder within my DotNetNuke installation.

This confirms that this is not a problem with Simple Gallery as such but with the resources available on my shared hosting account. I apologise for the number of times that I have accused Simple Gallery of being at fault, but due to the lack of an error message I have been unable to diagnose this problem for weeks. It would be great if you could get the error message added to the image upload facility so that other people don't burden you with spurious "the upload doesn't work emails" :-)

An example of an image that is causing Simple Gallery to hang and display "Processing image..." forver is:

http://www.beastlings.com/images/IMG_1462.JPG

However, you will probably have to massively cripple your development environment so that it doesn't have enough available RAM for the image resize in order to reproduce the problem I am experiencing.

I have since contacted my hosting company Easy CGI by means of support ticket to try and ascertain why I am receiving Out of Memory errors for an operation that shouldn't exceed 64 megabytes of RAM.

Thanks for your help,
Adam

Adam PritchardUser is Offline
Registered Users
Nuke Super Newbie
Nuke Super Newbie
Posts:17

5/17/2008 7:29 PM  
Simple Gallery version I am using is... 02.03.08
Scott McCullochUser is Offline
Administrators

Posts:10711


5/19/2008 7:36 AM  
Hi Adam,

I can look at a more efficient means of resizing as an option as well. Thanks for providing that image.

Scott McCulloch
Site Administrator
You are not authorized to post a reply.
Forums > Modules > Simple Gallery > Problem uploading an image - Processing image...



ActiveForums 3.7