Author Topic: 4images slowing down dramatically  (Read 5519 times)

0 Members and 1 Guest are viewing this topic.

Offline Gulper

  • Newbie
  • *
  • Posts: 22
    • View Profile
4images slowing down dramatically
« on: May 19, 2005, 12:02:17 PM »
As soon as I've added some mpeg videos, the gallery slows down dramatically. Seems like the program can not really handle video files!? Is there a patch to avoid this slowdowns?
If I remove the videos, the gallery is fast again....
Slowdown grows proprtionally to the amount of video files.... like 2 videos make the website come up after 2 seconds.... 5 videos make the website come up after 10 seconds.... aso.... videos are about 20 MB in size..
Mini-top and POTD are installed.... this might also cause aditional heavy load when opening pages with mini-top or potd being displayed!?
Has anyone experience with that? I really need to speed that up....

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: 4images slowing down dramatically
« Reply #1 on: May 19, 2005, 02:19:50 PM »
I hope u dont use remote files for that...
what about .avi files?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Gulper

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: 4images slowing down dramatically
« Reply #2 on: May 19, 2005, 06:29:20 PM »
No, no remote files... everything is stored locally in the data/media folder.... so that can't cause the problem....
Only using small videoclips do also slow down the galery... but not as much as large files... so having 5 clips a 5 MB makes the site load in 6 seconds... having 5 clips a 20 MB makes the loding time much longer....

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: 4images slowing down dramatically
« Reply #3 on: May 19, 2005, 11:54:38 PM »
what pages are talking about? index.php categories.php details.php etc
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Gulper

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: 4images slowing down dramatically
« Reply #4 on: May 21, 2005, 11:43:37 AM »
All of these pages.... maybe it's because of all of them having the random image displayed!? How can I exclude a specific gallery from random image to test it?

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Re: 4images slowing down dramatically
« Reply #5 on: May 23, 2005, 03:26:00 PM »
Try disabling the random image first before modifying the code to be so specific.  Just edit includes/constants.php to turn off the random and/or random category image