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 4258

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

How to automatically add rounded corners to thumbnails?

Or you can you wrap your images yourself: http://phpthumb.sourceforge.net/demo/demo/phpThumb.demo.demo.php#x33 Don't forget to cache! …
two7s_clash's user avatar
0 votes

Remove “%” from strings in serialized arrays in wp_postmeta

$posts = get_posts(array( 'post_type' => 'attachment', 'numberposts' => -1, )); // Recursive String Replace - recursive_array_replace(mixed, mixed, a …
two7s_clash's user avatar
1 vote
Accepted

Web App mode leaves users stranded when following image links when using WPTouch with W3 Tot...

Best way to avoid this is to go to "Browser Cache" and uncheck "Prevent caching of objects after settings change" under "Media and Other Files"
two7s_clash's user avatar
0 votes
1 answer
282 views

Web App mode leaves users stranded when following image links when using WPTouch with W3 Tot... [closed]

In most of the posts on my site, embedded images link to the actual image file. I'm also using Web-App mode via WPTouch. … 9d7bd4" to all my images. This makes sure that if you change your browser cache policies all users immediately see that change. …
two7s_clash's user avatar
3 votes
2 answers
6k views

How to delete outdated, wrongly sized images in _wp_attachment_metadata?

My problem is I've upped the dimensions of this size after many of them were originally created, and many of the attached post images are too small to be cropped to these new values (i.e. not even 640px … I can't use images that are this small, but no correctly sized image are overwriting these, as per above. …
two7s_clash's user avatar
0 votes
2 answers
1k views

Remove “%” from strings in serialized arrays in wp_postmeta

In the course of converting a blog from Blogger to WP and running a script to grab hot-linked images for hosting, I ended up with some funky images names like act%252Bapandas-210x290.png These image …
two7s_clash's user avatar
3 votes
1 answer
5k views

remove missing image attachments

Best way to programatically remove attachments that are missing images? … I guess it would be better to just remove "duplicate" bad images. I think it might be good to have other types of missing images remain, so they could be corrected. Ideas? …
two7s_clash's user avatar
1 vote
3 answers
1k views

How to retrieve the postID in a "image_send_to_editor" hook function?

Here is my function: function insert_img_rel_attrib( $html, $id, $caption, $title, $align, $url ) { $postID = ??? $rel = "<a rel='shadowbox[".$postID."]'"; if ($url) {$html = str_replace("<a", …
two7s_clash's user avatar
2 votes
2 answers
620 views

Best way to programatically add "rel" attributes to page and post images

For single posts and pages, I would like to add certain rel attributes to all the images on the contained therein added with the "Add Image" functionality on the edit screen. …
two7s_clash's user avatar