Image Gallery Takes Too Long To Load.

Last post 10-03-2008, 1:38 PM by mpcox. 2 replies.
Sort Posts: Previous Next
  •  10-01-2008, 12:49 PM 44479

    Image Gallery Takes Too Long To Load.

    I am using 6.1 CuteEditor. I have a thousand pictures to manage.  I currently have 200 images and 200 folders in the /pool/images/ directory. The button "image gallery" loads  in 8 seconds. The button "Insert Image" loads in 70 seconds, making it unusable.  We would like to organize our images. Is there a way to correct this long load time?
     
    There was a forum thread  37319, see it here.  It had a very similar problem.  But the thread was never finished by the Tech to supply a complete answer.
     

    Filed under: ,
  •  10-01-2008, 1:32 PM 44488 in reply to 44479

    Re: Image Gallery Takes Too Long To Load.

    mpcox,
     
    When you load too much images in a single ASP page, it will take longer time for the web server to handle it.
     
    The best method to handle this issue is moving the files to other folder. If you want to keep those many files in the same folder, you need to modify browse_Image.asp directly and remove a few fields. For example, you can remove the size field. You will lost some information, however it will speed up the loading time.
     
    Another solution is you can create a custom dialog and put your own asp gallery page inside it.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  10-03-2008, 1:38 PM 44543 in reply to 44488

    Re: Image Gallery Takes Too Long To Load.

    Adam,
    I took out the size from the display and the pop up loaded in half the time.  But this was still not good enough.  While I was in the code, I thought I would go for more improvements. I noticed the display of the box is formed inside of one long text string then put to the screen. I took out the "s = s &" and put in a "response.write" and the box loads in about three seconds. This is down from 80 seconds. I did the same thing in browse_image_gallery.asp and the load time went from 8 seconds to 2.  Thanks for pointing me in the right direction.
View as RSS news feed in XML