Posted by ALT83 on April 17, 2009 at 4:21am
Jump to:
| Project: | ImageCache Profiles |
| Version: | 6.x-1.x-dev |
| Component: | Documentation |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Imagecache profiles appears to generate the various sizes fine for use in profiles and views, but they don't seem to be showing up in nodes and comments (even though the settings in admin/user/settings are correct)
Do I need to update the standard picture code or template.php somehow?
<?php
print $picture;
} ?>Thanks,
Alex
Comments
#1
Is anyone else experiencing this and found the solution?
#2
Kind of desperate for a solution, any quick help would be much appreciated thanks.
Alex
#3
I've just had the same problem and after many hours of hunting around i found a solution by replacing
<?php print $picture ?>with
<?php print theme('user_picture', $comment); ?>in the themes comment.tlp.php and
<?php print theme('user_picture', $node); ?>in the themes node.tpl.php files, it worked for me so i hope this helps.
#4
YOU ARE AN ABSOLUTE LIFE-SAVER!
Your answer came in just at the last minute for what I needed - Thank you so much - Worked perfectly!
:)
Alex
#5
Worked like a charm. Thanks! Perhaps this should be added to the readme.txt...
#6
Thank you for this. I found a similar problem when I work with Author Pane; however, this is really my good start.
#7
Check theme settings admin/build/themes/settings
There's setting for pictures in posts and comments
#8
Automatically closed -- issue fixed for 2 weeks with no activity.
#9
Thanks for this. It's key.
#10
i have the same problem , i did exactly what you said in the above posts , but my problem didn't resolve
http://promotepeshawar.org/node/81
you can check this link , pictures are not displaying. can you help me ? with imagecache settings or whatever i have to do to resolve this problem.. Please help me out
#11
Thanks edster, it's working fine for me too !
#12
aiman1988-I had this same problem with only one theme enabled. I enabled garland and then configured my theme checking "user pictures in post" and "user pictures in comments". Maybe that will work for you too.
#13
thank you for your reply but brother, i did the same as you told me , but still user prof pics are not displaying. can you give me some another suggestion?
#14
This really needs to be added to the readme.txt. As of now, the readme.txt only says the following:
It's assumed that $picture will print the presets, but that is not the case. I think it should be made clear in the documentation that we need to use the theme function.
<?php print theme('user_picture', $comment); ?><?php print theme('user_picture', $node); ?>
#15
Please provide a text to be added to readme.txt better in the patch format. Glad to add it
#16
Why would we need to add that function when that is the same function called in the template_preprocess_[node|comment] for Drupal which gets passed to $picture? Am I missing something? (I posted here because this module simply doesn't work for me but I am investigating)
#17
Here's why it wasn't working for me. Maybe someone will find this useful: http://drupal.org/node/1070102
#18
@Kenny: Your link was a lifesaver. Thanks from the CP team. ;)
#19
Thanks Kenny — I never would have figured that out.