I installed the latest blogger module, I enabled the "bloggers" block,

But, the "bloggers" block shows no pictures of the users.
I viewed the html source for the block, it shows-

 <h2 class="title">Bloggers</h2>
    <div class="content"><table><tr><td><img src='//files/pictures/picture-2.jpg' align='center'  ></></td><td><a href="/blog/venkatesh">venkatesh (15)</a></td></tr>

The image path should be like, www.mysite.com/files/pictures/picture-2.jpg, not
//files/pictures/picture-2.jpg, as you see above,

Comments

csc4’s picture

I hit the same problem and the fix for me was to change
$blogger_path = base_path();
to
$blogger_path = $base_path;

on lines 93 and 289

drupalnesia’s picture

$blogger_path = $base_path;

above line will now help if you run on local site with this url: http://localhost/drupal
another solution is add:
$base_url = 'http://www.example.com';

I will try to find if we can solve this problem by not entering $base_url.

brianlongest’s picture

After setting the module to include avatars and then viewing the page source as described above I do not have img src tag at all. So i do not even have the wrong image path. Any ideas why this may be? I tried all the suggetions and viewed source and never received any image path. Thanks for any help you can give.

Copywriter-1’s picture

Hi,
It looks it works if we delete blogger_path from path to avatar pictures at all (lines 97 and 290 in blogger.module).

Regards, Alexander.

Copywriter-1’s picture

hm, my mistake.

It's enough to delete extra "\"
- between $blogger_path and $data->picture in line 97 (should be src='$blogger_path$data->picture')
- between $blogger_path and $node->picture in line 290 (should be src='$blogger_path$node->picture')

Nothing more. Now it works in all cases.
Thanks for module.

Regards, Alexander

drupalnesia’s picture

Status: Active » Closed (fixed)

Closed.