Title: Image Gallery Error..
Last modified: August 19, 2016

---

# Image Gallery Error..

 *  [madbeeotch](https://wordpress.org/support/users/madbeeotch/)
 * (@madbeeotch)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/image-gallery-error/)
 * Hey guys.. Trying to upload a lot of screen shots to my website.. I have about
   2152 images that I want to add as a gallery to a page, but when I do it comes
   up with:
 * > Fatal error: Maximum execution time of 30 seconds exceeded in /home/thevfil1/
   > public_html/wp-includes/rewrite.php on line 845
 * Any ideas? Is there a limit to how many images you can have in a gallery?? Thanx..

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Shane G.](https://wordpress.org/support/users/shane-g-1/)
 * (@shane-g-1)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/image-gallery-error/#post-1571107)
 * Hi,
 * Add this code in htaccess and have a check:
 *     ```
       php_value upload_max_filesize 20M
       php_value post_max_size 20M
       php_value max_execution_time 300
       php_value max_input_time 200
       ```
   
 * Thanks,
 * Shane G.
 *  Thread Starter [madbeeotch](https://wordpress.org/support/users/madbeeotch/)
 * (@madbeeotch)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/image-gallery-error/#post-1571118)
 * Thanx Shane.. Not sure where I was suppose to add it in the script, but when 
   I added it, it came up with:
 * > Internal Server Error
   > The server encountered an internal error or misconfiguration and was unable
   > to complete your request.
   > Please contact the server administrator, [webmaster@thevfiles.info](https://wordpress.org/support/topic/image-gallery-error/webmaster@thevfiles.info?output_format=md)
   > and inform them of the time the error occurred, and anything you might have
   > done that may have caused the error.
   > More information about this error may be available in the server error log.
   > Additionally, a 500 Internal Server Error error was encountered while trying
   > to use an ErrorDocument to handle the request.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Image Gallery Error..’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [madbeeotch](https://wordpress.org/support/users/madbeeotch/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/image-gallery-error/#post-1571118)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
