有一个奇怪的现象。我在主站根目录下有一个文件夹attachment用于存放图片。 当我启用了简洁链接后,即如http://doexcel.com/node/4468形式之后,原来在首页的比如有图片是attachment/theworld.gif的,结果点开该文章,原来的图片不能准确显示,发现其地址成了node/attachment/theworld.gif的了,怎么回事?
图片链接不对。 启用简洁链接后 node/4468,node也被当成一级目录了,图片存放目录在根目录下,加个斜杠,这样:/attachment/theworld.gif
<?php<img src="/attachment/theworld.gif">?>
------ 瞅瞅 店铺网
好像依然是如此。我是在fck源代码下,将attachment/theword.gif改为/attachment/theword.gif,但点开正文依然无法显示图片,地址依然为/node/attachment/theword.gif,但是你点击这个有错误的叉号图片,他在新窗口又显示正常了。属性地址为:http://doexcel.com/attachment/theworld.gif ,怎么回事? Doexcel,做卓越的自己。 http://doexcel.com
在你的站上已经看到图片了,问题解决了吧
--------------AD----------------- 新转drupal5.x站 http://www.zbcpet.com
在首页是可以看到的,但是你点击这篇文章展开后,就看不到了。 ----------------------------------- Doexcel,做卓越的自己。 http://doexcel.com
你只改了a属性里的,img里边的没改。 你现在的:
<?php<a href="/attachment/theworld.gif" target="_blank"><img border="0" src="attachment/theworld.gif" alt="" title=""/></a>?>
应该这样:
<?php<a href="/attachment/theworld.gif" target="_blank"><img border="0" src="/attachment/theworld.gif" alt="" title=""/></a>?>
还有,输入格式里,要把img标签加上。 ------ 瞅瞅 店铺网
谢谢提醒。象我这样,对于许多篇文章,都要改的话,要在后台数据里批量操作一下了,但不知道用什么样一个话句,在哪里操作一下。不知方便不方便指导一下? Doexcel,做卓越的自己。 http://doexcel.com
这可能是个比较棘手的问题了。drupal数据真的不是那么一点点的复杂。 --------------------------------------- Doexcel,做卓越的自己。 http://doexcel.com
图片链接不对。 启用
图片链接不对。
启用简洁链接后 node/4468,node也被当成一级目录了,图片存放目录在根目录下,加个斜杠,这样:/attachment/theworld.gif
<?php<img src="/attachment/theworld.gif">
?>
------
瞅瞅 店铺网
更改依然无效
好像依然是如此。我是在fck源代码下,将attachment/theword.gif改为/attachment/theword.gif,但点开正文依然无法显示图片,地址依然为/node/attachment/theword.gif,但是你点击这个有错误的叉号图片,他在新窗口又显示正常了。属性地址为:http://doexcel.com/attachment/theworld.gif ,怎么回事?
Doexcel,做卓越的自己。
http://doexcel.com
在你的站上已经看到
在你的站上已经看到图片了,问题解决了吧
--------------AD-----------------
新转drupal5.x站 http://www.zbcpet.com
在首页是可以看到的
在首页是可以看到的,但是你点击这篇文章展开后,就看不到了。
-----------------------------------
Doexcel,做卓越的自己。
http://doexcel.com
你只改了a属性里的,i
你只改了a属性里的,img里边的没改。
你现在的:
<?php<a href="/attachment/theworld.gif" target="_blank">
<img border="0" src="attachment/theworld.gif" alt="" title=""/>
</a>
?>
应该这样:
<?php<a href="/attachment/theworld.gif" target="_blank">
<img border="0" src="/attachment/theworld.gif" alt="" title=""/>
</a>
?>
还有,输入格式里,要把img标签加上。
------
瞅瞅 店铺网
谢谢提醒。象我这样
谢谢提醒。象我这样,对于许多篇文章,都要改的话,要在后台数据里批量操作一下了,但不知道用什么样一个话句,在哪里操作一下。不知方便不方便指导一下?
Doexcel,做卓越的自己。
http://doexcel.com
这可能是个比较棘手
这可能是个比较棘手的问题了。drupal数据真的不是那么一点点的复杂。
---------------------------------------
Doexcel,做卓越的自己。
http://doexcel.com