Thread: Integration with vBulletin - More Open Graph Images (Free) by BOP5
View Single Post
  #10  
Old 27 Jul 2013, 13:57
Budget101 Budget101 is offline
 
Join Date: Jul 2008
This does actually add the image url, but unfortunately it displays is like so:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Which is not and cannot be parsed by Facebook. The only way to get this to work and display the image correctly is to link to an eternal image in order to get the url to resolve with an extension that Facebook will actually parse, example:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I use vbSEO and it will rewrite images to a readable URL, but unfortunately, it appears to rewrite them AFTER this mod executes, so they aren't displayed.

Currently the mod populates the og:image tag, but unfortunately it returns the code as

attachment.php?attachmentid=xx

I would like to alter it so that it displays the rewritten vbseo url into the og>:image tag (source code)

the code is:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

my attachment rewrite conditions are:

mydomain.com/ content/attachments/[attachment_id]-[original_filename]


I would like to rewrite the code so that it will publish the url in the same format as vbSEO does...

Could someone please help me with the correct syntax to use in this case??
Reply With Quote