Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Easy image embeds #39

Closed
mjangda opened this Issue Sep 24, 2012 · 4 comments

Comments

Projects
None yet
4 participants
Owner

mjangda commented Sep 24, 2012

I should be able to paste an image URL on its own line and have it automagically embed.

Contributor

danielbachhuber commented Sep 24, 2012

Maybe this should actually be oEmbed support for more services through Jetpack?

Owner

mjangda commented Sep 24, 2012

Embed might be the wrong word. I want something like the following:

http://bios.weddingbee.com/pics/148769/Lolcat7.jpg

to get turned into:

<img src="http://bios.weddingbee.com/pics/148769/Lolcat7.jpg" />

Owner

Viper007Bond commented Sep 24, 2012

I'd recommend using wp_embed_register_handler() to do this. Just have a low priority (high number) and match known extensions.

@nb nb closed this in 186ea96 Dec 26, 2012

Owner

nb commented Dec 26, 2012

@Viper007Bond thanks for the pointer, it saved me lots of time digging around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment