开发者

User profile picture is not displaying properly on comments with Imagecache

I have a Drupal setup, and have created an Imagecache preset for the user profile to create a thumbnail picture.

I have enabled user pictures on node comments, but the picture is not displaying correctly

When I view the source, it shows t开发者_JS百科he correct path being "sites/default/files/pictures" etc but ecause the node path is something like /node/9 the path being output for the picture is incorrect

I could change the comment.tpl file and add in the absolute path, but im not sure if this is the best thing to do


Are you using the ImageCache Profiles module? If not, I'd recommend enabling it. Also, there were some recent improvements to it's detection of what context the user picture is being used, so you may want to try the latest dev release. See nid 760900 for more info.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜