• Resolved Thanatermesis

    (@thanatermesis)


    This plugin is really good and boosts very much the website, unfortunately, if I don’t use the “cache image” I’m getting out of quota, but if I enable it I cannot make it working, first, seems like the image is stored somewhere else? (this makes probably a security plugin not be able to process the request, the BBQ firewall plugin), but then also the call is trying to call a PHP file from the plugins directory which is forbidden by the “ithemes security” plugin

    Simple question: why don’t just save the thumbnail in “uploads” directory and use it on the HTML contents which is a less complicated process which can work for everybody?

    Thank you

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Afraid LYTE cache has been developed to be an entirely stand-alone solution, which autonomously downloads, caches and serves (with the performance-optimal headers) the thumbnails thanatermesis. if I’m not mistaking you can reconfigure iThemes security to allow plugins/wp-youtube-lyte/lyteCache.php to be called directly though?

    frank

    Thread Starter Thanatermesis

    (@thanatermesis)

    Seems like ithemes cannot allow “execptions” since is a generic conf for this one, by other side seems like it works if in my nginx.conf file I add a previous rule before it. Let me post it here so it can be useful to others:

    # allow wp-security to have the plugins directory disabled, but we need at least this one:
    location ~ ^/wp-content/plugins/wp-youtube-lyte/lyteCache.php {
        include fastcgi_params;
        fastcgi_pass unix:/run/php/php7.4-fpm.sock;
        fastcgi_index  index.php;
        fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_param PATH_INFO $fastcgi_script_name;
    }

    _note the fastcgi_pass line, it needs to match your system configuration_

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    interesting, thanks for that nginx conf. snippet thanatermesis ! ??

    Hi,
    ithemes has got “advanced opions”.
    PHP in plugin folder can be activated/deactivated.
    Cheers,
    Nils

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Image cache thumbnail not working’ is closed to new replies.