Closed (fixed)
Project:
Author Pane
Version:
6.x-2.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jul 2010 at 03:31 UTC
Updated:
24 Aug 2010 at 03:00 UTC
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
Comment #1
michelleSeems 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
Comment #2
BeaPower commentedIm 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...
Comment #3
BeaPower commentedOk, 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
Comment #4
michelleCan you look at it in Firebug and see where it's trying to pull the background image from?
Michelle
Comment #5
Benj commentedI'm having an image-not-showing problem too.
Before upgrading from author pane 1 to 2, the image path and html was something like:
But after, the image is replaced with a link that brings up a lightbox pointing to an empty folder:
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
Comment #6
michelleAF 1.x is not compatible with AP 2.x, so that's your problem there.
Michelle
Comment #7
Benj commentedThanks 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.
Using default themes
Comment #8
michelleIt'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
Comment #9
Benj commented*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.
Comment #10
michelleIf 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
Comment #11
michelleOk, fixed it so it only links to the fullsized image when imagecache is in use.
Michelle