How do I make Author Pane not to use this module? I'm using Adv Profile Kit and Panels (and the author pane for nodes) and I only need the original image to show up.

CommentFileSizeAuthor
#13 advanced_forum.jpg84.7 KBchules

Comments

fastball1945’s picture

I get the same issue!

andypost’s picture

Try to make a new preset without any actions

chules’s picture

With Author Pane as it stands is it showing your Imagecache preset at all? I am using advanced forums with Author Pane and have no images showing at all. You can see this at my site at http://ec2-174-129-27-212.compute-1.amazonaws.com/content/showing-avatar...

If you have it working I'll trade you issues as imagecache is working on all other areas of my site but author pane.

Chules

andypost’s picture

@chules Check that /sites/default/files/imagecache/advf-author-pane/user-picture-default.png is created
it seems that imagecache wont process or copy your .png file

chules’s picture

Andypost,

The directory advf-author-pane did not exist so I created it and copied the user-picture-default into it and it is now displaying the default photo for all users who have not submitted a photo. However, it is not displaying the photos for users who have uploaded a new photo. Are there any other steps now that I need to do for this to work.

Thank you for the help as I am getting closer to having this work

Thank you - chules

andypost’s picture

chules’s picture

Andypost,

The default images are showing fine but I still can not get pictures to show for users who have uploaded a picture. When a users uploads a photo it is going into the /files/pictures/picture-2.png directory. It appears that author pane has no idea about that directory and therefore can not access the uploaded photo. When inspecting the picture element in Firefox it is looking for the picture in files/imagecache/advf-author-pane/pictures/picture-2.png. I had to create the directory pictures under advf-author-pane directory but the strange thing is the path that firebug gives does show the correct picture filename - in this case picture-2.png that is still under the /files/pictures directory.

I tried to upload the photo again as I am not sure if it is supposed to be placed in both the /files/pictures directory and the /files/imagecache/advf-author-pane/pictures directory. I am at a loss with this and tried following the thread at #668362: Working with imagecache profile - default image does not show. Any ideas? Where are your uploaded profile pictures being stored and how have you configured author pane to access them.

Thank you - chules

andypost’s picture

@chules user profile images always stored in files/pictures/ also I'm not using Author Pane so could not help

andypost’s picture

Title: Author Pane » Integration/Collisions with ImageCache Profiles
Project: ImageCache Profiles » Author Pane
Version: 6.x-1.1 » 6.x-2.x-dev
Component: Miscellaneous » Code
Assigned: Unassigned » andypost

Is Author Pane using theme_username?

chules’s picture

I am not sure where can I check to see if it is? Would it be a file in the author pane module directory

chules’s picture

Here is the code from the author-pane-user-picture.tpl.php

// $Id: author-pane-user-picture.tpl.php,v 1.1.2.1 2009/09/07 03:24:54 michellec Exp $

/**
 * @file author-pane-user-picture.tpl.php
 * Default theme implementation to present an picture configured for the
 * user's account.
 *
 * Available variables:
 * - $picture: Image set by the user or the site's default. Will be linked
 *   depending on the viewer's permission to view the users profile page.
 * - $account: Array of account information. Potentially unsafe. Be sure to
 *   check_plain() before use.
 *
 * @see template_preprocess_user_picture()
 */

if (!empty($picture)):

print $picture;

endif;

michelle’s picture

Status: Active » Postponed (maintainer needs more info)

I've read this 3 times and can't figure out what the problem is here. Author Pane's avatar shouldn't be affected by Imagecache Profiles. It doesn't use theme_user_picture deliberately because I wanted to be able to use Imagecache Profiles for the Views integration without it messing with my AP based avatar.

Michelle

chules’s picture

StatusFileSize
new84.7 KB

Michelle,

Here is a screenshot of the advanced forum configuration where I set the User Picture Preset and a link to the page that shows the issue, http://ec2-174-129-27-212.compute-1.amazonaws.com/content/welcome-pingan...

You can see that it is not referencing an uploaded picture. You can see the issue using firebug to inspect the above link. The only way I can get this to work is manually copy every uploaded user photo to /files/imagecache/advf-author-pane/pictures directory.

Chules

andypost’s picture

@Michelle thanx for clearing using avatar theming used

@chules again... your problem out of scope this modules, move this to adv-forum issue queue

chules’s picture

No longer using author pane. Not worth the time

andypost’s picture

Status: Postponed (maintainer needs more info) » Fixed

Suppose this is not issue anymore

michelle’s picture

Status: Fixed » Closed (won't fix)

Well, the original poster hasn't posted again and there isn't any collision with ICP AFAIK so I guess there's nothing more to do here?

It's really not that complicated... If there's an imagecache preset passed to AP, it uses it. Otherwise it just uses the full sized picture. ICP doesn't get involved at all because it doesn't use theme_user_picture.

Michelle

deng17’s picture

I'll be posting now.

I used Imagecache Profile Pictures module and solved my problem.

I'm able to choose an imagecache preset in Views so my problem's already solved since I'll only be applying it to Views (also in the comments)

Like this: http://etherune.net/