We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19388
    • 297 Posts
    Hi,
    Is someone having server performance problems with gallery? I’m on a shared server and my sysadmin is telling my that it’s consuming a lot of resources. I can understand it for a big album with more than 200 pictures we have there ( and now we have deleted it ), but not for the other albums with 10 or 20 pictures.
    One of the reasons he gives me is that everytime we load an album, the server requests for images are not an images itself but requests to php script <img src="/assets/components/gallery/connector.php?action=web/phpthumb&amp;w=75&amp;h=75&amp;zc=1&amp;far=C&amp;q=90&amp;src=%2Fassets%2Fcomponents%2Fgallery%2Ffiles%2F5%2F30.jpg" alt="1298077007711_pasacalle_82.jpg" /> .

    But if everything is cached I think it shouldn’t be a problem.

    Are you having the same problem?

    Any sugestions?

    Thanks
      • 19388
      • 297 Posts
      Sysadmin
      This is due to the very poor code requesting PHP scripts for every thumbnail.

      Me
      I disabled it but really, I don’t understand how the load of 9 cached photos can be so abusive...
        • 19388
        • 297 Posts
        I really like Gallery but due to my hosting provider restrictions I can’t continue using it. I think it’s well done and in this way we have so much options like resizing on the fly, that combined with caching is a great feature. Unfortunately my hosting provider continues telling me it get a lot of resources but... is the script or the server itself? I don’t know. Now I’m using Menalto Gallery, another powerfull and veteran gallery system.
          • 16337
          • 44 Posts
          caching is a big problem with gallery. I had to do a workaround with phpthumbof and it seems to be working ok now.