Title: Two issues with the plugin
Last modified: April 8, 2019

---

# Two issues with the plugin

 *  Resolved [aluknot](https://wordpress.org/support/users/aluknot/)
 * (@aluknot)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/two-issues-with-the-plugin/)
 * Hello, I had two issues with this plugin:
 * (1) there is an image that looks in bad quality ([here](https://piclu.shop/libros/blog/),
   the first background) [here](https://i.imgur.com/N5gmf6L.jpg) is the original
   one
 * (2) so i tried to desactive the plugin to test if is an issue of the plugin or
   something else, but it is still showing the image optimized by optimole. I am
   not using cache plugin, i tried CTRL+F5 and using chrome in incognito mode but
   still showing:
 * `background-image: url(https://ml0th1oe3y2u.i.optimole.com/w:auto/h:auto/q:75/
   http://piclu.shop/libros/wp-content/uploads/2019/04/nuevo2.jpg);`
    -  This topic was modified 7 years, 2 months ago by [aluknot](https://wordpress.org/support/users/aluknot/).

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

 *  [Themeisle](https://wordpress.org/support/users/themeisle/)
 * (@themeisle)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/two-issues-with-the-plugin/#post-11402416)
 * Hello [@aluknot](https://wordpress.org/support/users/aluknot/),
 * 1) You can try to switch the optimization level to auto, it should increase a
   bit the quality of the image. Make sure after you do this, to regenerate Elementor
   CSS, like going to Elementor -> Tools -> Regenerate CSS
    2) Similar thing with
   1, as Elementor caches the dynamic CSS into separate CSS files, you will need
   to regenerate it once that you turn Optimole off. More details about how Optimole
   works with Elementor you can find here -> [https://elementor.com/blog/optimole/](https://elementor.com/blog/optimole/)
 *  Thread Starter [aluknot](https://wordpress.org/support/users/aluknot/)
 * (@aluknot)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/two-issues-with-the-plugin/#post-11406439)
 * Hello [@themeisle](https://wordpress.org/support/users/themeisle/), thanks… that
   work 🙂 Now I have another question. I see in the FAQ that you can disable optimization
   for a certain image with this:
 *     ```
       add_filter('optml_dont_replace_url', function( $old, $url ) {
           if ( $url === 'https://example.com/wp-content/uploads/2018/09/1.jpg' ) {
               return true;
           }
           return $old;
   
       }, 10, 2);
       ```
   
 * My question is… is there a way to set the general optimization level to “medium”
   but set “auto” or something else to certain image? Thats would be a cool function,
   because “medium” is fine for me on general image, except this one.
 * Thanks in advanced.
    -  This reply was modified 7 years, 2 months ago by [aluknot](https://wordpress.org/support/users/aluknot/).
    -  This reply was modified 7 years, 2 months ago by [aluknot](https://wordpress.org/support/users/aluknot/).
 *  Plugin Author [Optimole](https://wordpress.org/support/users/optimole/)
 * (@optimole)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/two-issues-with-the-plugin/#post-11406508)
 * Hello [@aluknot](https://wordpress.org/support/users/aluknot/),
 * We don’t have something like this right now but I will try to add it in the next
   release.
 * Please keep an eye over the changelog for this change.
 * Thanks a lot for your feedback.
 *  Thread Starter [aluknot](https://wordpress.org/support/users/aluknot/)
 * (@aluknot)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/two-issues-with-the-plugin/#post-11410514)
 * Cool [@optimole](https://wordpress.org/support/users/optimole/), good to know
   that. Thanks for this awesome plugin.
 * Just one more thing… I am having an issue with the QR code generated by [this plugin](https://wordpress.org/plugins/cryptocurrency-donation-box/#reviews).
   The QR code is blurred by the Optimole lazy loading function, as you can see 
   [here](https://piclu.shop/libros/ayudanos-a-crecer/) (at the end of the page).
   Surely because it is not an image in jpg or png format but it is a php.
 * Here is the image code:
 * `<img data-opt-src="https://piclu.shop/libros/wp-content/plugins/cryptocurrency-
   donation-box/includes/generate-qr-code.php" src="https://piclu.shop/libros/wp-
   content/plugins/cryptocurrency-donation-box/includes/generate-qr-code.php" alt
   ="Scan to Donate Bitcoin to 3CRMB6qM1DvLswN6nxKjppX6W5ycjXpeZp" class="optml_lazyload_img"
   >`
 * I tried using the filter `optml_dont_replace_url` with the url **[https://piclu.shop/libros/wp-content/plugins/cryptocurrency-donation-box/includes/generate-qr-code.php](https://piclu.shop/libros/wp-content/plugins/cryptocurrency-donation-box/includes/generate-qr-code.php)**
   but didn’t work.
 * Any workaround? Thanks.
    -  This reply was modified 7 years, 2 months ago by [aluknot](https://wordpress.org/support/users/aluknot/).
    -  This reply was modified 7 years, 2 months ago by [aluknot](https://wordpress.org/support/users/aluknot/).
 *  Plugin Author [Optimole](https://wordpress.org/support/users/optimole/)
 * (@optimole)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/two-issues-with-the-plugin/#post-11411284)
 * Hello [@aluknot](https://wordpress.org/support/users/aluknot/),
 * Indeed it seems we have a bug in this particular case which I have managed to
   tackle and I will release it in the next update.
 * Meanwhile, for a quick fix, you can use this:
 *     ```
       	add_filter( 'optml_ignore_image_link', function ( $old, $url ) {
       		return ( strpos( $url, 'generate-qr-code.php' ) !== false );
       	}, 10, 2 );
       ```
   
    -  This reply was modified 7 years, 2 months ago by [Optimole](https://wordpress.org/support/users/optimole/).

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

The topic ‘Two issues with the plugin’ is closed to new replies.

 * ![](https://ps.w.org/optimole-wp/assets/icon-256x256.gif?rev=3013666)
 * [Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization](https://wordpress.org/plugins/optimole-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/optimole-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/optimole-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/optimole-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/optimole-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/optimole-wp/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Optimole](https://wordpress.org/support/users/optimole/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/two-issues-with-the-plugin/#post-11411284)
 * Status: resolved