Support » Plugin: Open Graph and Twitter Card Tags » Determining external images size

  • Resolved Balkin

    (@balkin)


    Hi Marco!

    Recently we’ve been having an issues with some of the website pages (“white screen of death”), and unfortunately we found out the issue was related to the remote host doesn’t responding properly. So this plugin was just stalling at the “get_open_graph_image_size” function. Of course disabling it in the options helped.

    However later we used another way to resolve the issue by directly modifying your plugin class:

    curl_setopt($curl, CURLOPT_TIMEOUT, 1);
    curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 1 );
    

    Unfortunately this change won’t persist if you update the plugin, and we realize your plugin is pretty alive and you’re doing a great job supporting it! So, can you please consider adding timeout options to the curl calls in some of the future versions?

    I’m not sure if the latest plugin version is somewhere in github, but if it is, I can even make the required changes myself and submit a pull request to you for reviewing.

    Best regards,
    Ruslan

Viewing 2 replies - 1 through 2 (of 2 total)
  • I got the same problem, and spent HOURS on debugging. White screen of death without any information is pretty hard to work out 😉

    It would be great if this one can be fixed permanently, but unfortunately fix with curl options doesn’t work for me (disabling get image size work though).

    Plugin Author Webdados (Marco Almeida)

    (@webdados)

    We do not plan on setting hardcoded timeout limits on curl.

    If you have problems getting the image size, you should disable it on the plugin settings.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Determining external images size’ is closed to new replies.