Support » Plugin: WP Mobile Detector » Prevent image resizing

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author websitezcom

    (@websitezcom)

    If you’re comfortable editing the files, you can comment out the function that resizes images in the functions.php file.

    I found this function websitez_filter_advanced_page, commented everything in it and wrote a return statement that returns the original $html parameter without any modification. Is that ok or should I do something more?

    EDIT: Yeah, it worked like a charm, thank you! Have a happy new year!

    Plugin Author websitezcom

    (@websitezcom)

    Thanks you too!

    I found this function websitez_filter_advanced_page, commented everything in it and wrote a return statement that returns the original $html parameter without any modification.

    Pankas87, Ok, so how did you write it? Can you post an example?

    Plugin Author websitezcom

    (@websitezcom)

    TimBiden, on the very first line of the function “websitez_filter_advanced_page” just put “return $html;” and you should be all set.

    function websitez_filter_advanced_page($html){
    return $html;
    if (class_exists(‘DOMDocument’)) {

    Well now, that’s easy. And thank you for the quick reply. 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Prevent image resizing’ is closed to new replies.