Image size (width and height tags)
-
With version 1.7.3.1 the plugin tries to read the size of image from the post/page content. I have this error:
gd-png: fatal libpng error: Read Error: truncated data
gd-png error: setjmp returns error condition 2gd-png: fatal libpng error: Read Error: truncated dataI can’t understand the point, but it seems that error raises inside the webdados_fb_open_graph_getimagesize function with “imagecreatefromstring/curl mode”.
The strange thing is that the setting “Include Image size (og:image:width and og:image:height) tags” is disabled, so the code is doing a useless work.
My ugly solution is to avoid the “imagecreatefromstring/curl mode” with an always false if condition: if(false) {
https://www.ads-software.com/plugins/wonderm00ns-simple-facebook-open-graph-tags/
- The topic ‘Image size (width and height tags)’ is closed to new replies.