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

yoyek’s picture

Have you entered picture path like this: "public://default_picture.png"?

rodrigoaguilera’s picture

Status: Active » Fixed

Thanks!! That's it

should be noted when setting the default picture i think

Anonymous’s picture

Same here, the Drupal core instruction is not very clear, so I think we need to move this "request" to Drupal core queue?

Status: Fixed » Closed (fixed)

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

RKS’s picture

What do you mean Public://default.png?

My path is sites/files/pictures/default.png. Is this wrong? Where would it tell you this?

BeaPower’s picture

For 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?

RKS’s picture

Are 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.

P.Selfin’s picture

Need 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

andypost’s picture

RKS’s picture

You 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

andypost’s picture

Status: Closed (fixed) » Needs work

Can someone provide a text to add to README.TXT about new format for default user image

bryancasler’s picture

I'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.

zarudnyi’s picture

Subscribe.

Anonymous’s picture

So solve all difficulty, it should just have a "UPLOAD" default image button.

rv0’s picture

fix in #1 works fine, thanks

andypost’s picture

I think this should be added to README.txt and module page. Please help with #994314: Documentation fixes

andypost’s picture

Status: Needs work » Fixed
Commit 9726b6f on master

Changed README.txt line

Status: Fixed » Closed (fixed)

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

anoopvt’s picture

Thanks RKS ,it realyy worked out form me,thanks for the help

ladybug_3777’s picture

Issue summary: View changes

I 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