WP-SimpleViewer » How-to and Troubleshooting

A gallery with 30+ pictures?

(3 posts)
  • Started 3 years ago by descent1s1
  • Latest reply from Markus

Tags:


  1. Hi,
    I would first off like to say that this plugin is the inspiration for my site, hands down. There were plenty of other routes I could have taken but this simple program for wordpress made my decision easy.

    So, I just had a question as to how I would be able to load more than 30 pictures into a gallery? I'm no expert, but I think the server is taking too long to process my folder of 50 or so pictures, because I always get the line:

    Fatal error: Maximum execution time of 30 seconds exceeded in /home/stirbina/public_html/wordpress/wp-content/plugins/wp-simpleviewer/wp-simpleviewer.php on line 676

    This is whenever I want to create a gallery with a folder of over 30 or so (depending on size) pictures. So am I right in assuming that there is a script someplace where I can change that "30" to say, "60" or "100"?

    If this is my error, I'm more than willing to be schooled a little since I'm so new at this. Thanks in advance! And once again, GREAT plugin.

    Posted 3 years ago #
  2. The max_execution_time is a value that is specified in the php.ini file - if you have the possibility to change it you can extend this value.

    I also think that the reason for your error is that the resizing of the images takes too long, so if you do not have the possibility to change your php.ini you could try to already resize your photos on your local PC then resizing on the server will not take that long and then the 30s might be enough for the script.

    Posted 3 years ago #
  3. Hey, I found a way to overcome the time limitation - the script should only fail now, if it takes longer than 30s to resize a image, and this should never be the case.

    Can you download the developer version and let me know if it is working for you?
    http://downloads.wordpress.org/plugin/wp-simpleviewer.zip

    Posted 3 years ago #

RSS feed for this topic

Reply

You must log in to post.