CKEditor / CKFinder 的 flickr 插件
我已经进行了谷歌搜索,似乎找不到一个有人知道是否存在吗?
希望它允许用户从 flicker 中选择一张照片,并使用正确的 url 将其放入 ckeditor 区域。此外,如果他们可以浏览将发布到 flicker 的图像并放入编辑器中,那就太酷了正确的网址以及
更多信息 似乎有许多 flickr 插件可以在 wordpress 中执行我想要的操作,但不适用于 ckeditor 或 ckfinder 我想知道是否有人知道我如何在 wordpress 之外使用 wordpress 插件之一?
I've done a google search and can't seem to find one anyone know if one exists or not ?
Hopefully it would allow the user to select a photo from flicker to put into the ckeditor area with the correct url .. and for bonus it would be cool if they could browse for an image that would get posted to flicker and be put in editor with the correct url as well
more info
there seem to be a number of flickr plugins that do what I want in wordpress but not for the ckeditor or ckfinder I wonder if anyone knows how I could use one of the wordpress plugins outside of wordpress ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
事实上,我只知道像 Wordpress Flickr Manager 这样的 WordPress 插件。阅读它的源代码,您可以了解它的工作原理并实现您自己的。我过去使用过这个插件,并且完全按照您的要求,在编辑器中使用正确的网址显示 flickr 的照片。
从
FlickrManager.php
开始,function manage_page()
,switch
中的default
值,这是插件显示的位置用于将图像添加到帖子的面板:它会在帖子中创建一个短代码值,因此请记住还要检查同一模块中的function image_shortcode()
。Indeed, I only know Wordpress plugins like Wordpress Flickr Manager. Reading it's source code you could understand how it works and implement your own. I've used this plugin in the past, and does exactly what you want, a flickr's photo in the editor with the correct url.
Begin with
FlickrManager.php
,function manage_page()
,default
value inswitch
, this is where the plugin shows a panel to add an image to a post: it creates a shortcode value in your post, so remember to checkfunction image_shortcode()
in the same module as well.