Wordpress oEmbed from Smugmug
mktaj
Registered Users Posts: 4 Beginner grinner
Hello all,
Has anyone successfully used oembed to embed pictures from smugmug into a wordpress blog? I was able to embed a photo from flickr, but no matter what I do I cannot get one of my pics from smugmug to embed.
I am using 2.9.2 version of wordpress, I did check the "Attempt to automatically embed all plain text URLs" selection in my wordpress settings. I saw a wordpress bug report/feature request that seemed to indicate that smugmug had been "whitelisted" so that it should just work. I also tried adding the wp_oembed_add_provider call to functions.php, but I wasn't sure what the second parameter should be (the "base URL of the oEmbed provider")
can anyone give me some insight into how to get this working?
thanks,
mktaj
Has anyone successfully used oembed to embed pictures from smugmug into a wordpress blog? I was able to embed a photo from flickr, but no matter what I do I cannot get one of my pics from smugmug to embed.
I am using 2.9.2 version of wordpress, I did check the "Attempt to automatically embed all plain text URLs" selection in my wordpress settings. I saw a wordpress bug report/feature request that seemed to indicate that smugmug had been "whitelisted" so that it should just work. I also tried adding the wp_oembed_add_provider call to functions.php, but I wasn't sure what the second parameter should be (the "base URL of the oEmbed provider")
can anyone give me some insight into how to get this working?
thanks,
mktaj
0
Comments
Just embed the gallery url like this (but it needs to contain the SmugMug domain name, not a custom one)...
http://introversion.smugmug.com/Landscapes/Upper-Antelope-Canyon/6232467_UXEGg#393386206_Hqhfr
Hope that helps.
Cheers,
David
SmugMug API Developer
My Photos
thanks for the reply! Is there some setting I need to change in my smugmug gallery? I tried embedding your example in a post and it worked, but when I embed a link to one of my own photos, it doesn't.
here is the line I embedded that works:
http://introversion.smugmug.com/Landscapes/Upper-Antelope-Canyon/6232467_UXEGg#393386206_Hqhfr
and here is the one from my gallery that doesn't work:
http://mktaj.smugmug.com/Tyler/Tyler-2-to-3-Years-Old/11753065_uLLZL#848777591_oyVei
any idea what I'm missing here?
thanks,
mktaj