在JSfiddle中添加图像 [英] Adding images in JSfiddle

查看:85
本文介绍了在JSfiddle中添加图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个小提琴,我必须添加一个图像..(作为背景图像到div)

我尝试使用add资源但它不起作用,我也试图给我的文件夹结构中的图像的完整路径,但这也没有奏效..



有人知道如何

,首先上传你的图片到一些图片上传服务,然后在你的jsfiddle中使用路径



示例

上传您的图片上传到某个图片上传服务,例如 postimage



上传你的图片后,复制粘贴到你的jsfiddle的URL,它会工作...


I want to create a fiddle in which i have to add an image.. (as a background image to a div)

I tried using add resource on the left but it does not work , I also tried to give complete path of the image in my folder structure but this also did not work out..

Does anybody know how to do it?

解决方案

You cannot link your LOCAL image to a website, first upload your image to some image uploading service and than use the path in your jsfiddle

Example

Upload your image to some image uploading service for example postimage

After uploading your image, copy paste the url in your jsfiddle and it will work...

这篇关于在JSfiddle中添加图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆