加载不是来自“xampp的htdocs”或“root”文件夹的图像
Loading images not from "xampp's htdocs" or "root" folder
这就是链接的样子
<img src="http://127.0.0.1C:/Obrazy/Nowy%20obraz%20mapy%20bitowej.bmp" class="image-preview" style="width: 120px;">
这是绘制链接的代码
// images preview button
if ($('table.file-list a[rel="lightbox[images]"]').length > 0) {
$('a.view-style').show();
}
$('a.view-style').click(function(){
$('a.image-size').show('');
$('a.view-style').remove();
$('table.file-list a[rel="lightbox[images]"]').each(function(index) {
var img_src = $(this).attr('href');
$(this).prepend('<img src="'+img_src+'" class="image-preview">');
});
});
是否可以从 C:/目录获取图像?它在Windows 7上使用。需要一个快速的解决方案/答案。
在
图像网址路径之前使用 file:///
file:///C:/Obrazy/Nowy%20obraz%20mapy%20bitowej.bmp
相关文章:
- 如何使用url加载程序在webpack中导入多个图像
- nodejs-expressjs上传图像并显示它们
- 使用JSP从服务器检索和显示图像
- 角度:在ng重复上切换图像
- 画廊图像未显示
- Phonegap-(安卓/iphone)多个图像的图像库出现问题
- Javascript排序的图像弹出窗口..可以't单独弹出
- 画布数据到图像
- Windows8应用程序(html&Javascript):从图片库(除了文件选择器)显示图像的另一种方式
- 使图像在单击时展开到不大于浏览器
- Html页面上的多个Base64图像和平滑加载
- UIAutomation放大图像
- 使用javascript在Flash中加载外部图像
- 可以在这里为背景图像设置滤镜吗
- 当图像转换为本地存储的DataURL时,EXIF被删除
- 使用 js 将背景图像设置为 HTML
- Javascript将图像src更改为淡入淡出
- 无法在本地计算机中将画布另存为图像
- 压缩phonegap中ios的图像插件
- 加载不是来自“xampp的htdocs”或“root”文件夹的图像