我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

如果在帖子上找到.jpg .png,如何显示图片?

The goal is to have a user paste a URL in textarea, and it outputs not a simple text or URL but displays that image from the URL?

http://www.thecampussocialite.com/wp-content/uploads/South-park-VS.-Family-Guy.jpg

Can this be done? Are there any examples?

The textarea is simply not capable of that.

You need to use a rich text editing control, instead of the basic HTML Text Area tag. Popular options are:

  • FCKEditor
  • TinyMCE

近期文章

  • 手动删除文件以进行日常处理
  • 如何显示php echo与你在mysql中看到的相同
  • 将PHP输出为JSON的变量
  • 如何在Joomla中为k2类别管理员添加商品订购选项?
  • 在php中操作.ini文件的类
  • 帮助逻辑
  • 无法验证
  • curl_exec直接输出数据?
  • Android中的jSONArray解析异常问题
  • php组合列表函数的值
  • 是否可以在页面上将HTML代码作为PHP变量?
  • isset是否需要用于if语句中的所有变量?
  • 如何在注册页面上禁用提交按钮?
  • 如何从电子商务应用程序中设计收入表?
  • 有没有办法通过Flex的HttpService接收图像文件?
  • PHP - fgetcsv - 引号标记在UTF-8编码的Web应用程序中输入丢失
  • json_decode PHP窃听? 同样的Json适用于其他语言
  • PHP setcookie正在添加百分号
  • Php mcrypt无法正常工作
  • 我如何在bootstrap中使用zend布局

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华