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
| Comment | File | Size | Author |
|---|---|---|---|
| forum_picture.jpg | 14.33 KB | chules |
Comments
Comment #1
chules commentedComment #2
michelleI 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
Comment #3
michelleHave you figured it out?
Michelle
Comment #4
bc commentedI 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?
Comment #5
michelleThere 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
Comment #6
Anonymous (not verified) commentedcreate an imagecache preset with the name of advf-author-pane and it will work
Comment #7
itzcoatl commentedAmazing.. Worked for me
Comment #8
Anonymous (not verified) commentedComment #9
jonhy81 commentedCool, Worked to me too. +1
Comment #10
michelleJust 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
Comment #11
EmperorForearm commented#6 worked for me.
Comment #12
michelleClosing 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