Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 189257

Images are used in different ways by WordPress.You can use a theme with images in layout, place images within your post/page content, display images next to visitor's name called avatars etc

0 votes
0 answers
287 views

media_handle_upload() with 1 image under 1Mb chokes my server and returns timeout error

I'm struggling with 500 Timeout Errors when uploading images. Initially I was trying to upload 4 images at a time. Then I changed my code to upload 1 image at one time. … </span>'; $uploadOk = 0; } echo '</small>'; } if ( $uploadOk == 1 ) { // adds WHICH and WHAT image it is in the images uploaded array $_SESSION …
0 votes
1 answer
398 views

WordPress PHP custom function is causing 500 Internal Server Error Connection Timeout

I wrote a custom script to insert a post into WordPress and upload 3 images to the WP uploads directory. To write the post I use the WP function wp_insert_post( $wp_post_array, true );. … I must have messed up somewhere because I get a 500 Connection Timeout error when I run this code (even though it is only 3 images that are less than 1Mb each in size). …
0 votes
0 answers
62 views

what functions to use to resize images and create DB metadata for them after/during upload?

I am working on my first script to create a WP post with images and upload those images to the uploads folder. …