Title: Loader issue
Last modified: March 6, 2022

---

# Loader issue

 *  Resolved [karma9999](https://wordpress.org/support/users/karma9999/)
 * (@karma9999)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/loader-issue/)
 * Hey team,
 * Hope you guys help me out with this. Whenever someone is trying to give a star
   review, the **loader.gif** loads in a HUGE size.
 * Here’s a short video: [https://vimeo.com/685089874](https://vimeo.com/685089874)
 * Waiting for your reply

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

 *  Plugin Contributor [dudo](https://wordpress.org/support/users/dudo/)
 * (@dudo)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/loader-issue/#post-15433146)
 * Hi!
 * Do you have a link that I can test?
 * Thanks,
    Dario
 *  Thread Starter [karma9999](https://wordpress.org/support/users/karma9999/)
 * (@karma9999)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/loader-issue/#post-15436543)
 * Hi dudo,
 * Thanks for giving your time to this topic. Here’s the link: [https://indianpdf.com/psychology-self-teaching-guide-pdf/](https://indianpdf.com/psychology-self-teaching-guide-pdf/)
 * Open it and try giving a star review. You’ll see the issue.
 *  Plugin Contributor [dudo](https://wordpress.org/support/users/dudo/)
 * (@dudo)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/loader-issue/#post-15436620)
 * With FTP, can you open the file **wp-content/plugins/yet-another-stars-rating/
   includes/yasr-includes-functions.php** and, on line 35, change this
 *     ```
       $yasr_visitor_votes_loader = '<div id="loader-visitor-rating" style="display: inline-block">&nbsp; '.
               ' <img src="' . esc_url(YASR_IMG_DIR . 'loader.gif').'" title="yasr-loader" alt="yasr-loader"></div>';
       ```
   
 * to this?
 *     ```
       $yasr_visitor_votes_loader =
               '<div id="loader-visitor-rating" style="display: inline-block">&nbsp; '.
               '<img src="' . esc_url(YASR_IMG_DIR . 'loader.gif').'"
                     title="yasr-loader" alt="yasr-loader" height="16" width="16">'.
               '</div>';
       ```
   
 * Let me know!
 *  Plugin Contributor [dudo](https://wordpress.org/support/users/dudo/)
 * (@dudo)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/loader-issue/#post-15458370)
 * Can you please let me know if you still have this issue with version 3.0.3?
 * Thank you!
 *  Thread Starter [karma9999](https://wordpress.org/support/users/karma9999/)
 * (@karma9999)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/loader-issue/#post-15459971)
 * **Apologize for the delay, **
 * Yes, the issue has been resolved after I followed your steps.
 * Thanks a lot for the amazing support.
 *  Thread Starter [karma9999](https://wordpress.org/support/users/karma9999/)
 * (@karma9999)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/loader-issue/#post-15766251)
 * Hello Team,
 * After updating the plugin, I am facing the exact same issue for which I started
   this thread. After giving a star rating, the plugin shows the ” Loader.gif ” 
   which is not at all small but huge.
 * I tried the previous method and it worked back then. But now, when I tried changing
   the code on **yasr-includes-functions.php** I found that there is no loader.gif
   function code on that page.
 * **Here’s a short video:** [https://vimeo.com/685089874](https://vimeo.com/685089874)
 * waiting for your reply.
 * Regards,
    Karma
 *  Plugin Contributor [dudo](https://wordpress.org/support/users/dudo/)
 * (@dudo)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/loader-issue/#post-15766774)
 * Hello!
 * I can’t see the video but been able to see live in your site.
 * Did you deleted all your caches? (CDN, plugins, etc)
 * > I tried the previous method and it worked back then. But now, when I tried 
   > changing the code on yasr-includes-functions.php I found that there is no loader.
   > gif function code on that page.
 * Yes, now that part of code is into the file includes/classes/YasrScriptsLoader.
   php **but there is no need to edit it **, since height and width attributes are
   already defined.
 * Try to delete all your chaches and let me know 🙂
    -  This reply was modified 3 years, 11 months ago by [dudo](https://wordpress.org/support/users/dudo/).
 *  Thread Starter [karma9999](https://wordpress.org/support/users/karma9999/)
 * (@karma9999)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/loader-issue/#post-15768297)
 * Hello Dudo,
 * Yes, I cleared the cache multiple times but the issue was not resolved. In the
   previous version I saw that the plugin was not showing any star rating as well
   but it was resolved when I updated to the newer version. But sadly the loader
   issue was still there no matter how many times I clear the cache or update the
   plugin. ☹️
 * —
 * What if I remove the loader.gif ?
 * Is this is possible? If yes, can you guide me how to do it… If not, there must
   be a solution for this.
 * BTW I’m really happy with your support guys.
 * Waiting for your reply.
 *  Plugin Contributor [dudo](https://wordpress.org/support/users/dudo/)
 * (@dudo)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/loader-issue/#post-15781260)
 * Hello!
 * Sorry for the delay.
    I see you’ve already removed the gif, seems like is working
   fine now 🙂
 *  [narubi](https://wordpress.org/support/users/narubi/)
 * (@narubi)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/loader-issue/#post-15960599)
 * Hello, I have a different kind of problem with the file loader.gif.
 * It’s showing fine for me, but I would like to disable it. It’s the only file 
   on my website that for some reason doesn’t load on CDN and showing warning in
   gtmetrix test.
 * Can you please guide me how to disable the file? I have inserted this into my
   style settings:
    .yasr-vv-container-loader { display: none; }
 * Unfortunately the file still loads in the background.
 * Thanks!
 *  Plugin Contributor [dudo](https://wordpress.org/support/users/dudo/)
 * (@dudo)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/loader-issue/#post-15965967)
 * Hello [@narubi](https://wordpress.org/support/users/narubi/), you can download
   this file [https://gist.github.com/Dudo1985/bfe86d4df889e47f86234a504a884319](https://gist.github.com/Dudo1985/bfe86d4df889e47f86234a504a884319)
   and then upload it in /wp-content/plugins/yet-another-stars-rating/includes/classes/
   overwriting the old one.
 * Let me know!
 * Best,
    Dario
 *  [narubi](https://wordpress.org/support/users/narubi/)
 * (@narubi)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/loader-issue/#post-15966862)
 * Thanks a lot Dario.
 * Maybe it would be a good idea to either put an option to disable it, or remove
   it completely. I don’t think anyone would even notice it’s gone.
 *  Plugin Contributor [dudo](https://wordpress.org/support/users/dudo/)
 * (@dudo)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/loader-issue/#post-15969193)
 * I don’t know if I will add an option, but from the next version it will be easier
   to disable it.
 * When next version will be released, just add this code to your functions.php 
   child theme
 * add_filter(‘yasr_custom_loader’, static function () {
    return ”; });

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

The topic ‘Loader issue’ is closed to new replies.

 * ![](https://ps.w.org/yet-another-stars-rating/assets/icon-256x256.png?rev=1525329)
 * [YASR - Yet Another Star Rating Plugin for WordPress](https://wordpress.org/plugins/yet-another-stars-rating/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yet-another-stars-rating/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yet-another-stars-rating/)
 * [Active Topics](https://wordpress.org/support/plugin/yet-another-stars-rating/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yet-another-stars-rating/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yet-another-stars-rating/reviews/)

 * 13 replies
 * 3 participants
 * Last reply from: [dudo](https://wordpress.org/support/users/dudo/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/loader-issue/#post-15969193)
 * Status: resolved