Need help with $output = preg_match_all (1 post)

  1. fckdigital
    Posted 3 years ago #

    Hi folks

    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 “-150x150” at the end of the file name before the extension (www.example.com/imagename-150x150.jpg) but tried a million different things and cant figure it out.
    Here is the code

    [Code moderated as per the Forum Rules. Please use the pastebin]

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic