Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I'm doing a listing with views of user pictures miniatures but the users who haven't set a picture get the default picture and this picture is showing big breaking the layout of the listing. Any way that I can show the default picture with the imacache preset?
Thanks
Comments
Comment #1
yoyek CreditAttribution: yoyek commentedHave you entered picture path like this: "public://default_picture.png"?
Comment #2
rodrigoaguileraThanks!! That's it
should be noted when setting the default picture i think
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedSame here, the Drupal core instruction is not very clear, so I think we need to move this "request" to Drupal core queue?
Comment #5
RKS CreditAttribution: RKS commentedWhat do you mean Public://default.png?
My path is sites/files/pictures/default.png. Is this wrong? Where would it tell you this?
Comment #6
BeaPower CreditAttribution: BeaPower commentedFor me, the default image is still larger than user uploaded images in views even if I put public in the url and then image name. Is this a bug?
Comment #7
RKS CreditAttribution: RKS commentedAre you setting your view to use an image style/imagecache? Under the settings for the view field user: picture, there is a dropdown where you select the style.
Comment #8
P.Selfin CreditAttribution: P.Selfin commentedNeed path like "http://mysite.com/user.png"?
But this not work for my...
Modul version: Imagecache Profile Pictures 7.x-1.x-dev
---
Sorry for my english
Comment #9
andypostFollow-ups #1201106: Default image not resized in views
Comment #10
RKS CreditAttribution: RKS commentedYou need to set path to public://folder/folder/user.png
Default public:// location = sites/default/files
So anything after that goes after public://
Example
sites/default/files/images/users/user.png would = public://images/users/user.png
Comment #11
andypostCan someone provide a text to add to README.TXT about new format for default user image
Comment #12
bryancasler CreditAttribution: bryancasler commentedI've marked my original post as a duplicate #1201106: Default image not resized in views
I should have caught this, I has a similar problem after migrating from D6 -> D7.
#1109804: Not resizing in views
Comment Link http://drupal.org/node/1109804#comment-4583166
Glad to see this got figured out, I'm going to go make the changes right now.
Comment #13
zarudnyi CreditAttribution: zarudnyi commentedSubscribe.
Comment #14
Anonymous (not verified) CreditAttribution: Anonymous commentedSo solve all difficulty, it should just have a "UPLOAD" default image button.
Comment #15
rv0 CreditAttribution: rv0 commentedfix in #1 works fine, thanks
Comment #16
andypostI think this should be added to README.txt and module page. Please help with #994314: Documentation fixes
Comment #17
andypostChanged README.txt line
Comment #19
anoopvt CreditAttribution: anoopvt commentedThanks RKS ,it realyy worked out form me,thanks for the help
Comment #20
ladybug_3777 CreditAttribution: ladybug_3777 commentedI know this is an old post, but I ended up searching when my default image wouldn't resize when used in a view. Comment #10 fixed the issue even though I'm not using this module, just the default Drupal 7 core functionality