I am using Imagecache and have authorpane and advanced forums running on my site. Here is a link to the forum page, http://ec2-174-129-27-212.compute-1.amazonaws.com/forum

I am new to Drupal and have worked for several hours trying to get the imagecache photos and default photo to appear in author pane and subsequently my forums with no success. The images are displaying correctly on user profiles and other areas of the site but do not display in author pane. I have attached a screenshot on how author pane/advanced forum. Here is my setup

I have 2 imagecache presets: profile 250x250 and default 100x100

USER SETTINGS
Picture Support: Enabled
Picture Image Path: pictures
Default picture: /sites/default/files.default-user.png
picture max dimensions: 1600x1400
Picture max file size: 1024
profile picture: profile
comment picture present: default
default picture present: default
picture min width:100
picture min height:100

ADVANCED FORUM SETTINGS:
user picture preset: default

Any help would be greatly appreciate - Chules

CommentFileSizeAuthor
forum_picture.jpg14.33 KBchules

Comments

chules’s picture

Version: 6.x-2.0-alpha2 » 6.x-2.x-dev
michelle’s picture

I don't have any ideas off the top of my head. AP just hands the request off to Imagecache and uses what it gives back. I can say this works in general because I'm using it on my site. I don't really have time to dig into your exact setup, unfortunately, so I'll leave this open until either you figure it out, I get time to help, or someone else jumps in and figures it out.

Michelle

michelle’s picture

Status: Active » Postponed (maintainer needs more info)

Have you figured it out?

Michelle

bc’s picture

I ran into a similar problem: the author_pane function theme_author_pane_block_user_picture() relies on a variable author_pane_block_user_picture_preset, which seems to only be set when working with the block author_pane provides. Without a preset, the function fails.

Is there a way to specify a sane default, or a better error to report in this case?

michelle’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

There is no error. If you don't pass a preset to the function, the function assumes you don't want to use one. That's intentional. Look at what you're using to call Author Pane. It should be passing the preset in there.

Michelle

Anonymous’s picture

create an imagecache preset with the name of advf-author-pane and it will work

itzcoatl’s picture

Amazing.. Worked for me

Anonymous’s picture

Status: Closed (works as designed) » Fixed
jonhy81’s picture

Cool, Worked to me too. +1

michelle’s picture

Status: Fixed » Closed (works as designed)

Just so you know #6 isn't a fix. It's just letting you hack around the fact that you're using incompatible versions with different API calls. There may be other issues as well.

Michelle

EmperorForearm’s picture

#6 worked for me.

michelle’s picture

Closing comments. These "worked for me" comments are irritating. Congratulations for not following directions. Don't expect me to support you if this hack breaks something else. I warned you. If you don't want to listen, you're on your own.

Michelle