Register   Login
     
  Latest Posts  
custom field type:url
by aviavia on 11/23/2008 7:13 PM
Module Development Techniques
by hchattaway on 11/23/2008 5:14 PM
Customizing the URL a little further
by tmahmud on 11/23/2008 4:11 PM
RE: Google Maps
by smcculloch on 11/23/2008 10:29 AM
RE: I cant get rss feeds to work correctly
by smcculloch on 11/23/2008 10:27 AM
captcha still proken
by StatisticsIO on 11/23/2008 6:11 AM
RE: Comments RSS feeds
by StatisticsIO on 11/23/2008 6:09 AM
Regions and Copuntry List scripts for Location Types
by rodneyjoyce on 11/23/2008 4:56 AM
RE: BUG: Sort by: Price
by usheen on 11/23/2008 1:23 AM
RE: News Articles 301 Redirect
by mcox on 11/22/2008 11:16 PM
  Forums  
Subject: BUG?
Prev Next
You are not authorized to post a reply.

Author Messages
Fotis HoundalasUser is Offline
Registered Users
Nuke Newbie
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 HoundalasUser is Offline
Registered Users
Nuke Newbie
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 McCullochUser is Offline
Administrators
Nuke Master
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 HoundalasUser is Offline
Registered Users
Nuke Newbie
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 McCullochUser is Offline
Administrators
Nuke Master
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