|
|
|
|
| Author |
Messages |
|
Fotis Houndalas Registered Users
 Nuke Newbie Posts:9


 |
| 5/23/2005 1:38 AM |
|
when I upload an image which file name start with a number (for example 4home.gif) and then try to insert this image using FTB editor --> Insert Image From Gallery I receive the following error:
A critical error has occurred.Can't load: C:\Inetpub\wwwroot\DotNetNuke\Portals\0\4home.gif; System.OutOfMemoryException: Out of memory. at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement) at System.Drawing.Image.FromFile(String filename) at FreeTextBoxControls.ImageGallery.GetImages()
if a rename the image to fourhome.gif the error disappears!! |
|
Fotis Houndalas
|
|
|
Fotis Houndalas Registered Users
 Nuke Newbie Posts:9


 |
| 5/23/2005 6:07 AM |
|
sorry, the problem has to do with the type of the file. if the same file is saved as 4home.jpg works fine. when i save it as 4home.gif the previous error appears. i will attach the file in order to check it out if you want to.
|

|
Fotis Houndalas
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12450


 |
| 5/23/2005 7:19 AM |
|
| Ah, so it fails when uploading any gif or just this gif? |
|
Scott McCulloch Site Administrator |
|
|
Fotis Houndalas Registered Users
 Nuke Newbie Posts:9


 |
| 5/23/2005 7:46 AM |
|
only gif files that are saved with optimized pallete . I tried to save the same file using standard VGA pallete and works just fine.
|
|
Fotis Houndalas
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12450


 |
| 5/23/2005 5:05 PM |
|
| Interesting, the code I use extracts the image from the stream to a bmp and saves it in the proper format, I'll need to do some investigation |
|
Scott McCulloch Site Administrator |
|
|
|
| You are not authorized to post a reply. |
|
|
|
ActiveForums 3.7
|
|
|