Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
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
Comment #1
ALT83 CreditAttribution: ALT83 commentedIs anyone else experiencing this and found the solution?
Comment #2
ALT83 CreditAttribution: ALT83 commentedKind of desperate for a solution, any quick help would be much appreciated thanks.
Alex
Comment #3
edster. CreditAttribution: edster. commentedI've just had the same problem and after many hours of hunting around i found a solution by replacing
with
in the themes comment.tlp.php and
in the themes node.tpl.php files, it worked for me so i hope this helps.
Comment #4
ALT83 CreditAttribution: ALT83 commentedYOU 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
Comment #5
Mac Clemmens CreditAttribution: Mac Clemmens commentedWorked like a charm. Thanks! Perhaps this should be added to the readme.txt...
Comment #6
manop CreditAttribution: manop commentedThank you for this. I found a similar problem when I work with Author Pane; however, this is really my good start.
Comment #7
andypostCheck theme settings admin/build/themes/settings
There's setting for pictures in posts and comments
Comment #9
Rob T CreditAttribution: Rob T commentedThanks for this. It's key.
Comment #10
aiman1988 CreditAttribution: aiman1988 commentedi 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
Comment #11
arcall CreditAttribution: arcall commentedThanks edster, it's working fine for me too !
Comment #12
jenb919 CreditAttribution: jenb919 commentedaiman1988-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.
Comment #13
aiman1988 CreditAttribution: aiman1988 commentedthank 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?
Comment #14
sbefort CreditAttribution: sbefort commentedThis 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.
Comment #15
andypostPlease provide a text to be added to readme.txt better in the patch format. Glad to add it
Comment #16
webkenny CreditAttribution: webkenny commentedWhy 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)
Comment #17
webkenny CreditAttribution: webkenny commentedHere's why it wasn't working for me. Maybe someone will find this useful: http://drupal.org/node/1070102
Comment #18
John Carbone CreditAttribution: John Carbone commented@Kenny: Your link was a lifesaver. Thanks from the CP team. ;)
Comment #19
BrightBoldThanks Kenny — I never would have figured that out.