使用了Acidfree模块,但是发现缺省情况下,影集的图片无法正常显示,出现下图的错误:

src="8080/drupal/files/active/0/27_thumb.jpg"(8080是我的Apache端口,非标准的80),追踪代码到acidfree的classphoto.inc页面,找到函数theme_acidfree_print_thumb_photo,代码如下:
- function theme_acidfree_print_thumb_photo(&$node, $parent=null) {
- if (count($node->parent) > 1 && $parent)
- $p = "pid={$parent->nid}";
- $image = l(theme('image', _acidfree_get_thumb_url($node),
- $node->title, $node->title, array('class'=>'acidfree'), false),
- "node/{$node->nid}", array(), $p, NULL, true, true);
- $size = variable_get('acidfree_thumb_dim', IMAGE_THUMB_SIZE) + 40;
- $cell .= "
- $size -= 20;
- $cell .= "
\n";- // XXX: this empty span is to make IE render vertical alignment correctly
- $cell .= "\n";
- $cell .= "$image\n";
- $cell .= "\n";
- $cell .= "
{$node->title}\n";- $cell .= "\n";
- return $cell;
- }
通过_acidfree_get_thumb_url($node)函数,返回的是图片的正确、可访问的路径,然而经过主题的函数