Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Claire Botman 48 posts 77 karma points
    Jun 23, 2012 @ 05:27
    Claire Botman

    Facebook like & ImageGen conflict

    Firstly, I've been using this package for years & it's absolutely the best, congratulations & thankyou Doug.

    Yesterday I added a Facebook like button to a website, including the Open Graph Meta Tags as per

    The og:image meta tag allows you to specify the image you want to be posted onto facebook when ppl press the like button.  I specified an image that was shown on the page itself, which also happens to be the subject of an ImageGen resize. 

    On refresh of the page, the ImageGen'd image consistently disappeared from the page.  The url in the generated source was src="/ImageGen.ashx?image=&height=212&text= ", no image as you can see.  First load of the page after publish was ok, but all subsequent loads had a blank image.

    For now, I've worked around the issue by specifying separate images for og:image (probably not a bad idea anyway to make them 50px square & optimise for facebook)

    The pages in question are using slideshow scripts, but disabling javascript results in the same blank image on the page.  Removing the og: meta tags causes the image to reappear, but then the like button doesn't work as well as it could.

    I ended up upgrading from 2.5.2 to 2.5.7 while troubleshooting, but that didn't help.  What I did notice though, was that deleting the cached folder of an image & then re-publishing to regenerate resulted in strange entries in index.xml of that cached folder - there were entries corresponding to old & now non-existent cached images.  Perhaps this is expected & unrelated, just thought I'd mention it.

    Let me know if you need an example online to have a look at.

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Jun 25, 2012 @ 11:17
    Douglas Robar

    I don't really understand the problem. Perhaps because I'm not a facebook dev.

    Using the form for the Open Graph Meta Tags I entered sample info in the form and used as the image. It created the correct info in the form.

    Adding the resulting info to the <head> of a webpage isn't going to cause ImageGen to behave any differently when rendering the page.

    Any chance you can give me a url to the page that's having issues? Or can you explain in more detail the steps you've taken and what does and doesn't work?


Please Sign in or register to post replies

Write your reply to: