如何输入位于在线文件共享服务器上的图像? [英] How do you input an image that is located on an online file sharing server?

查看:76
本文介绍了如何输入位于在线文件共享服务器上的图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,我必须制作一个关于计算机中各个部分的维基页面,以便我有一个合作伙伴进行计算机科学任务,因此我们将oneDrive用于我们的代码文档和我们需要放在页面上的图像与每个部分的描述一起去。因为图像在oneDrive上,我不知道源是什么。我知道如果图像来自网站,你只需使用它就会输出到页面上,但由于图像存储在在线文档共享系统中,我不确定源是在哪里。我无法将链接拉入其中,当我在线查看时,它看到您可以安装本地网络服务器,但图像不在我的计算机上,而且我目前无法访问我的个人计算机。此外,由于编码文件在oneDrive上,我不确定如果我在代码在线时将它们放在我的电脑上,它是否能够找到图像。如果它是在oneDrive上我怎么能形成图像源呢?



我尝试过:



我尝试过简单地将文档名称(即DVDdrive.jpg)放入img src但没有显示出来。当我在oneDrive中打开它时,我尝试从图像中抓取链接,但也没有用。除了下载本地网络服务器并将图像移动到计算机而不是oneDrive之外,我不知道还能做什么。请帮助。

解决方案

//请查看以下链接,可能是您有所需信息



如何将OneDrive文件嵌入网站 - OneDrive - 应用程序一般性讨论 [ ^ ]

So, I have to make a wiki page about the various parts in a computer for a computer science assignment I have a partner, so we're using oneDrive for both our code documents and the images we need to put on our pages to go with the description of each part. Because the images are on oneDrive, I have no idea what the source would be. I know that if the image is from a website, you just use and it'll output onto the page, but since the images are stored on an online document sharing system, I'm not sure where the source is. I can't pull a link into it, and when I looked online, it saw that you could install a local webserver, but the images aren't on my computer and I don't have access to my personal computer at the moment. Also, since the coded document is on oneDrive, I'm not sure if it'll be able to find the images if I put them on my computer while the code is online. Any idea as to how I could formulate the image source if it's on oneDrive?

What I have tried:

I've tried simply putting the name of the document (ie DVDdrive.jpg) into the img src but nothing shows up. I've tried grabbing the link from the image when I open it in oneDrive and that hasn't worked either. Aside from downloading a local webserver and moving the images onto a computer instead of oneDrive, I'm not sure what else to do. Help please.

解决方案

//please check below link, may be it has the info you need

How to Embed OneDrive Files into a Website - OneDrive - Apps General Discussion[^]


这篇关于如何输入位于在线文件共享服务器上的图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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