I am working on a social community, and have installed among otherthings, advanced profile kit, advanced forum, author pane, ImageMagick and imageCache, - I am guessing the problem is among theses modules.

The avatars is working fine all over the site, except in the advanced forum. All I get inthere is a white shape like the avatar, and a red cross.

In ImageCashe I sometimes get this message: user error: ImageMagick reported error code 9. in /home/(my site)/modules/imageapi/imageapi_imagemagick.module on line 227.

Hope someone can help me work this out?

Comments

2dareis2do’s picture

I am having a similar issue. Any suggestions?

When enabling and disabling support for image cache I get the same url i.e.

sites/default/files/imagecache/advf-author-pane/pictures/picture-84.jpg

But there is no folder called 'advf-author-pane'.

If I overide in firebug to something like this

sites/default/files/pictures/picture-84.jpg then thumbnail is displayed fine. But the popup still doesn't work.

2dareis2do’s picture

Ok my solution was to create a preset in image cache called 'advf-author-pane' and then the thumbnail seems to display fine when I select this preset in advanced forum.

Only problem is the lightbox inserts a trailing slash infront of sites/default/files/pictures/picture-84.jpg

So the popup modal window does not display the actual image!? I guess this is because sites is not in my root directory!? Please advise.

saveyou’s picture

hey guy,
I've found similar problem

have you installed author-pane module, it cause my problem

firstov’s picture

copy author-pane.tpl.php to your template folder and change

<?php print $picture; ?>
to
<?php print theme('user_picture', $account); ?>

rkarajgi’s picture

I had the same problem - where the Author Pane Block's imagecache preset was not being used to display the preset size image in Author Pane.

I looked at the author_pane.module code and I believe the problem is in line 237 shown below:

  // Get the imagecache preset, if any.
  $preset = (!empty($variables['picture_preset'])) ? $variables['picture_preset'] : '';
 

Change this to the following:

  // Get the imagecache preset, if any.
  $preset  = (!empty($variables['picture_preset'])) ? $variables['picture_preset'] : variable_get('author_pane_block_user_picture_preset', '');

And now, the author pane's image follows the preset set in the Author Pane Block configuration.

I hope this helps someone facing same problem.

----------------------------------------------------------
- R Karajgikar

Solariss’s picture

Unfortunately it didn't help in my case. I mead the way by rkarajgi
I used D6 and 1.x author pane and everything was just fine. But after update to AP 2.3 avatar is ok on blocks but is not showing at forum. This patch didn't change the situation at all.