Hey guys,

I am absolutely stumped with this, i can't work out whats going on with this i'm having. It's mainly to do with integration of this module with views, a breakdown of some of the key modules i have installed:
Domain Access 6.x-2.6
Views 6.x-2.11
Imagecache 6.x-2.0

So what i am having real problems with is setting up. I set up my presets in Imagecache, which creates the folders for me in the files directory, no problem. Then i go to User settings and configure my picture setting in user->settings. I have attached a screenshot of the setup. So thats all ok.

Now when i go into my views, i pull in the User:Picture as a field, and set the imagecache setting as 'user_image_default' from the imagecache dropdown. Then that's when i start to get problems.

In the preview of the view, the image appears to work ok. But then when viewing on my site, the view just displays the default sized image. No imagecache version. I know the imagecache is working, as when you go to the edit profile screen, under avatar (or picture) the default imagecache version of the image is there!

When i check my folder structure though, the image that is being viewed in the browser isn't there!! It's crazy! I have set all my permissions and everything, so you SHOULD be able to see the imagecache version. Thsi is driving me nuts, i have tried uninstalling imagecache, re-installing, re-configuring, putting the folder structure in my folder structure manually. I don't know what else to do. I feel i'm starting to come to a dead end situ.

Could it be the Domain Access module affecting things?

Has anyone else had issues like the ones i'm having? Any feedback or help would be greatfully received!

thanks
Craig

CommentFileSizeAuthor
#3 accountobjdevel.png11.04 KBeriknewby
avatar_setup.jpg261.65 KBbarber75
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

barber75’s picture

Hey everyone,

Anyone got any advice on this? Or anyone out there that can help?

thanks
Craig

Dane Powell’s picture

I wonder if this might be the same problem I'm having: #1074404: Original file displayed instead of ImageCached version We seem to both be having problems with Views, although you sort of lost me with "the image that is being viewed in the browser isn't there"...

eriknewby’s picture

FileSize
11.04 KB

Right there with you guys. I have been spending the better part of today trying to troubleshoot this very same issue.
For me, however, I am not able to get any imagecache presets to be used with profile pictures. Not on profile pages, nor on views pages. It simply shows the original file, which in my case is massive. (Most are over 1800x1210)
I've overridden the user-profile.tpl.php and run dpm on $account. (devel module) The account object includes the correct preset "event_square" (as seen in screenshot). However, it still shows the original image (pulled from the original folder and not the imagecache event_square folder).
And for Views, I can choose any imagecache preset for my user:picture field and it always only shows the original file.

Dane Powell’s picture

Are you using RealName or messing with the user object? This solved my problem:
#1070102: Latest dev release conflicts with ImageCache Profiles module

eriknewby’s picture

Yes I am indeed using RealName and this patch worked splendidly. Thank you.

Dane Powell’s picture

barber75, does the patch I linked to solve your problem? If so, mark this issue as duplicate... thanks.

miccelito’s picture

barber75. Also have a look in your theme's template.php to see if you maybe have added 'function template_preprocess_user_picture' lines in that file. I think if adding such lines might cause imagecache profiles not to catch the presets for user-pictures neither the user-picture in user-profile (imagecache preset set in user settings) or user:user-picture fields with preset options in views

Dane Powell’s picture

Status: Active » Closed (duplicate)

With no response, going to assume that this is a dupe of one of those issues