Title: jonnyburch's Replies | WordPress.org

---

# jonnyburch

  [  ](https://wordpress.org/support/users/jonnyburch/)

 *   [Profile](https://wordpress.org/support/users/jonnyburch/)
 *   [Topics Started](https://wordpress.org/support/users/jonnyburch/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jonnyburch/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jonnyburch/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jonnyburch/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jonnyburch/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jonnyburch/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Help! Site crashed!?](https://wordpress.org/support/topic/help-site-crashed/)
 *  [jonnyburch](https://wordpress.org/support/users/jonnyburch/)
 * (@jonnyburch)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/help-site-crashed/page/2/#post-3357853)
 * I know this might not be an option for all but I lost three sites to this and
   paid Sucuri.net to sort it out. Went to bed and just woke up, the malware’s gone!
   $189 (£121) for piece of mind…
 * (and no I don’t work for them)
 * Good luck all!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Parse Error: Syntax Error on my Website *please help*](https://wordpress.org/support/topic/parse-error-syntax-error-on-my-website-please-help/)
 *  [jonnyburch](https://wordpress.org/support/users/jonnyburch/)
 * (@jonnyburch)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-on-my-website-please-help/#post-3358869)
 * Here you go bud, another thread for it: [http://wordpress.org/support/topic/help-site-crashed?replies=24](http://wordpress.org/support/topic/help-site-crashed?replies=24)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Flickr Shortcode Importer] Large images not importing](https://wordpress.org/support/topic/large-images-not-importing/)
 *  Thread Starter [jonnyburch](https://wordpress.org/support/users/jonnyburch/)
 * (@jonnyburch)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/large-images-not-importing/#post-3146360)
 * yeah I did, I think the issue was when the image was over a certain size wordpress
   blocks it regardless. Just a guess mind! But going through them now it’s all 
   the posts with large images embedded.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Flickr Shortcode Importer] Test updated all posts to current date](https://wordpress.org/support/topic/test-updated-all-posts-to-current-date/)
 *  Thread Starter [jonnyburch](https://wordpress.org/support/users/jonnyburch/)
 * (@jonnyburch)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/test-updated-all-posts-to-current-date/#post-3142899)
 * I decided to back up and just go for it – it all worked fine! Had another issue
   but will put that in a separate post.
 * Thanks for replying!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Link posts in chains/webs](https://wordpress.org/support/topic/link-posts-in-chainswebs/)
 *  Thread Starter [jonnyburch](https://wordpress.org/support/users/jonnyburch/)
 * (@jonnyburch)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/link-posts-in-chainswebs/#post-1161523)
 * sorry its [http://www.thejit.org](http://www.thejit.org).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Retreive First Image From Post](https://wordpress.org/support/topic/retreive-first-image-from-post/)
 *  [jonnyburch](https://wordpress.org/support/users/jonnyburch/)
 * (@jonnyburch)
 * [17 years ago](https://wordpress.org/support/topic/retreive-first-image-from-post/#post-998748)
 * > a) a different method of resizing that might work instead (the resizer in the‘
   > sideposts’ plugin works, maybe a hack on that?)
 * The function for which is
 *     ```
       function _sposts_thumbnails( $excerpt )
       {
       	global $post;
   
       	$settings = get_option('sideposts_widget');
   
       	$images = get_children( 'post_type=attachment&post_mime_type=image&post_parent=' . $post->ID );
       	if ( $images ) {
       		$img = array();
       		foreach( $images as $imageID => $imagePost ) {
       			$img[] = wp_get_attachment_image_src($imageID);
       		}
       		$thumb = array_pop($img);
   
       		$thumb_h = intval( (int) $settings['thumbnail'] * (int) $thumb[2] / (int) $thumb[1] );
       		$excerpt = apply_filters(	'sideposts_thumbnail',
       									'<img src="'. $thumb[0] .'" width="'. $settings['thumbnail'] .'" height="'. $thumb_h .'" class="alignleft" />')
       				 . $excerpt;
       	}
   
       	return $excerpt;
       }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Retreive First Image From Post](https://wordpress.org/support/topic/retreive-first-image-from-post/)
 *  [jonnyburch](https://wordpress.org/support/users/jonnyburch/)
 * (@jonnyburch)
 * [17 years ago](https://wordpress.org/support/topic/retreive-first-image-from-post/#post-998747)
 * I host my images externally (flickr) so cannot use timthumb – is there
 * a) a different method of resizing that might work instead (the resizer in the‘
   sideposts’ plugin works, maybe a hack on that?)
 * or
 * b) i wondered if there was a hack you could make on your (fantastic) catch_that_image
   function that would insert a ‘_t’ onto the name of the image before the ‘.jpg’
   as thats the syntax flickr uses to generate a thumbnail. Even then it might not
   work, just an idea…
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [conditional image thumbnail on main blog page](https://wordpress.org/support/topic/conditional-image-thumbnail-on-main-blog-page/)
 *  Thread Starter [jonnyburch](https://wordpress.org/support/users/jonnyburch/)
 * (@jonnyburch)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/conditional-image-thumbnail-on-main-blog-page/#post-933928)
 * Thanks simon –
 * Unfortunately I tried putting your code into my functions.php and got this error
   whenever i tried to do anything else:
 * > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/MY SITE NAME/wp-content/themes/geex3m/functions.php:433) in/
   > home/MY SITE NAME/wp-admin/theme-editor.php on line 62
 * also the first code looks like it should work really well but doesn’t
    Im sure
   it’s something im doing wrong… that warning message has got me worried though.
   I have now got rid of the code but it’s still doing it.

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