Title: PHP advice &#8211; loading image broken
Last modified: August 20, 2016

---

# PHP advice – loading image broken

 *  [stsw](https://wordpress.org/support/users/stsw/)
 * (@stsw)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/php-advice-loading-image-broken/)
 * Hello
 * I’m using this free theme [http://www.dessign.net/gridthemeresponsive/](http://www.dessign.net/gridthemeresponsive/)
 * When scrolling down the content the loading image seems to be broken in Safari/
   Chrome.
 * In FireFox it has no image and and just text saying loading.
 * This code is in the main.index page
 *     ```
       <?php
   
               ob_start();
       	next_posts_link('<img src="' . get_bloginfo('stylesheet_directory') . '/images/loading-button.png" />');
       	$buffer = ob_get_contents();
       	ob_end_clean();
       	if(!empty($buffer)) echo $buffer;
               ?>
       ```
   
 * _[Moderator Note: Please post code or markup snippets between backticks or use
   the code button. As it stands, your posted code may now have been permanently
   damaged/corrupted by the forum’s parser.]_
 * Could anyone help me remove the loading image and just have text.
 * I’ve tried but I keep breaking it.
 * Thanks in advance
 * J

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/php-advice-loading-image-broken/#post-3349412)
 * I’m sorry but as you are using a commercially supported theme, you need to seek
   support from the theme’s developers.

Viewing 1 replies (of 1 total)

The topic ‘PHP advice – loading image broken’ is closed to new replies.

## Tags

 * [advice](https://wordpress.org/support/topic-tag/advice/)
 * [code](https://wordpress.org/support/topic-tag/code/)
 * [image](https://wordpress.org/support/topic-tag/image/)
 * [loading](https://wordpress.org/support/topic-tag/loading/)
 * [not](https://wordpress.org/support/topic-tag/not/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/php-advice-loading-image-broken/#post-3349412)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
