The link path to images is wrong and I would like to know how to set it up to the correct one? Here is an example fo the path that it directs me to which is wrong..

http://localhost/drupal/sites/default/files/imagecache/user_image_large/...

Comments

michelle’s picture

Category: bug » support
Priority: Critical » Normal

Seems like a perfectly reasonable path to me so it's hard to tell what might be wrong. What is the path you would like it to be using?

Michelle

BeaPower’s picture

Im using Wamp and each time I click on that link Im directed to the wamp home page. I thought Wamp would be better than Xampp because of the ability to switch php versions... but am now having link problems.

It doesnt matter the link to me, just want the images to show...

BeaPower’s picture

Ok, I fixed it, it was a permissions problem but now the online green icon doesn't show even if I put the entire image directory and files to 777

michelle’s picture

Status: Active » Postponed (maintainer needs more info)

Can you look at it in Firebug and see where it's trying to pull the background image from?

Michelle

Benj’s picture

Category: support » bug
Status: Fixed » Postponed (maintainer needs more info)

I'm having an image-not-showing problem too.

Before upgrading from author pane 1 to 2, the image path and html was something like:

<div class='picture'>
<a title="View user profile." href="/users/henry">
<img title="henry's picture" alt="henry's picture" src="http://www.example.com/sites/default/files/avatar/picture-123.jpg">
</a>
</div>

But after, the image is replaced with a link that brings up a lightbox pointing to an empty folder:

<div class="picture">
<a rel="lightbox" href="/sites/default/files/avatar/picture-1.png" class="lightbox-processed">
<img class="imagecache imagecache-advf-author-pane" title="henry's picture" alt="henry's picture" 
src="http://www.example.com/sites/default/files/imagecache/advf-author-pane/avatar/picture-1.png">
</a>
</div>

I'm not sure why authorepane 2x is trying to use such a path. There's still only one way to upload a user picture, that I can find. I'm only messing around with this on my test machine so I don't have a url for you to check. Let me know if you need any more info to reproduce.

Also, the image problem happens regardless of theme, but I'm finding that my override advf-author-pane.tpl.php stops taking effect after updating to authorpane2.

AF 1.1
ImageAPI 1.6
ImageCache 2.0-beta10
ImageField 3.3
Lightbox2 1.9

michelle’s picture

Version: 6.x-2.x-dev » 6.x-2.0-beta1
Component: User interface » Code
Status: Postponed (maintainer needs more info) » Fixed

AF 1.x is not compatible with AP 2.x, so that's your problem there.

Michelle

Benj’s picture

Category: bug » support
Status: Postponed (maintainer needs more info) » Fixed

Thanks Michelle,

However, after updating to AF 2.x dev, the image path returns to the appropriate one - but that lightbox comes up when you click the image, pointing to a non-existent image, instead of taking you to the user account view page.

<div class="picture">
<a rel="lightbox" href="/sites/default/files/avatar/picture-1.png" class="lightbox-processed">
<img title="AlphaAdmin's picture" alt="AlphaAdmin's picture" src="http://localhost/GD_test_forum/sites/default/files/avatar/picture-1.png">
</a>
</div>

Using default themes

michelle’s picture

Title: Image not showing, link shows up wrong » User image full size link incorrect
Status: Fixed » Postponed (maintainer needs more info)

It's not supposed to take you to the user account view page. It's supposed to open up the full sized picture in the lightbox. It's working fine for me. Maybe it's not taking into account something different in your setup. What is the correct link to the user's avatar on your site?

Michelle

Benj’s picture

Status: Postponed (maintainer needs more info) » Fixed

*sigh* oops, lightbox uses a relative path, and I stuck this installation in a sub folder... That's why lightbox wasn't seeing the images.

So is the intention - then - to have the user upload a full image by setting Drupal's user image max-size setting to a full images size any using AF's imagecache preset to size it down for the authorpane?

I have AF's imagecache present set to none, but it's still rendering the lightbox stuff. And I'm unable to find any theme functions or templates for the image. advanced_forum.theme.author-pane.tpl.php prints $picture, of course.

As things are, a lightbox appears displaying the exact same image the author pane is.

michelle’s picture

Category: support » bug
Status: Fixed » Active

If it's doing it when you aren't using imagecache, that's a bug, then. I'll look into that. It's only supposed to have that feature in conjunction with imagecache otherwise it doesn't make much sense.

The template is author-pane-user-picture.tpl.php. AF doesn't override that one.

Michelle

michelle’s picture

Status: Active » Fixed

Ok, fixed it so it only links to the fullsized image when imagecache is in use.

Michelle

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.