Need help with $output = preg_match_all
I’m trying add Open graph tags to my photography site, I have tried various plugins but haven’t got the image to show up in facebook, I believe because Im calling the fullsize image.
I have tried the code hack from joost which almost works but again picks the image, I have a thumbnail image but just need help with this preg_match_all.
Basically I need to get an extra “-150×150” at the end of the file name before the extension (www.example.com/imagename-150×150.jpg) but tried a million different things and cant figure it out.
Here is the code
Example looking at the facebook debugger http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.fckdigital.com%2Ffairground-carousel%2F
Current image output is
which needs to be
Any help or alternative solutions would be greatly appreciated.
- The topic ‘Need help with $output = preg_match_all’ is closed to new replies.