• Resolved chalagashvili

    (@chalagashvili)


    Hi there. I have wordpress website running LEMP ubuntu based VPS(nginx).
    When I activate photon plugin all the images on my website get 404 error codes and do not show up. When I click “open image in a new tab” i see :

    A TimThumb error has occured
    The following error(s) occured:
    You may not fetch images from that site. To enable this site in timthumb, you can either add it to $ALLOWEDSITES and set ALLOWEXTERNAL=true. Or you can set ALLOWALLEXTERNAL_SITES=true, depending on your security needs.

    Also when I open console (F12) I get image errors, 404 not founds.
    As soon as I disable plugin everything works ok.
    I use All in One Seo , WP Super Cache, Cookie law plugins.
    What can I do to make it work?

    https://wordpress.org/plugins/jetpack/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    As mentioned in the error message, you’ll need to configure TimThumb to allow fetching and resizing images from external websites, thanks to the ALLOWEXTERNAL constant.

    The TimThumb library is most likely bundled with your theme, so you’ll need to edit your theme to make that change. If you don’t feel comfortable making those changes yourself, you’ll need to contact the theme developer for help.

    However, if you or the theme developer make those changes, I would strongly recommend that you get rid of the TimThumb library instead. It is not maintained anymore, and two important security vulnerabilities were found in the library. TimThumb’s maintainer now recommends that people use Photon instead. You can find out more here:
    https://www.binarymoon.co.uk/2014/07/dont-use-timthumb-instead/

    I hope this helps.

    Thread Starter chalagashvili

    (@chalagashvili)

    thanks jeremy. I understand the problem now. I will decide what to do 😉

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Jetpack photon does not show images on my website’ is closed to new replies.