Profile photos showing up as a link.

rajaito - June 5, 2009 - 04:16
Project:ImageCache Profiles
Version:6.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:critical
Assigned:Unassigned
Status:closed
Description

About two weeks ago I installed ImageCache Profiles successfully and everything seem to be working correctly.

Then I updated my:

drupal site to 6.12
filefield module to 6.x-3.x-dev
ImageCache 6.x-2.0-beta9

Now all profile images show as links and are displayed as "users's picture"

I have emptied & disabled performance/cache

Site Settings:
File system path: sites/default/files
Temporary directory: /tmp
Download method: Public - files are available using HTTP directly.

If I disable the imageCache Profile module, my images are shown at original size, and profile image upload is possible.
If I re-enable the ImageCache Profile module, profile image seems to be allowed, but the image never shows.

It seems to me that there is a conflict as to where the profile images are being stored.

Hopefully this will give some insight to what is happening to me:

actual profile picture / module disabled:
mysite.com/drupal/sites/default/files/pictures/picture-16.jpg

"broken link" to picture / module enabled:
mysite.com/drupal/sites/default/files/imagecache/user_image_large/pictures/picture-16.jpg

(there does still seem to be images in the sites/default/files/imagecache/user_image_large/pictures/ folder)
But they are no longer displaying.

Any advice you can offer would be greatly appreciated. I just don't know what else to do. Thank you for your time.

#1

rajaito - June 11, 2009 - 01:06

It has been a while since I posted this, but I am still having this problem and I haven't gotten a response. I am curious if I am posting my problem in the wrong place or if I did not give enough information to receive some help? This situation I am in is starting to stress me out a little. I have been working on my website for months and now I feel as if I have hit a brick wall with this problem. Is there someone out there that can help me please? Pretty please?

#2

rajaito - June 11, 2009 - 23:21

I have spent about 30 hours reading through all sorts of posts and finally came across a post referring to public vs private images. I never messed with that, so I didn't think it would be the problem. I set it to private and viola! The profile photos magically appeared. However, now all the other images I have uploaded on my site are broken links.

What a lame situation I am still in.

Any ideas?

#3

kirie - June 15, 2009 - 12:46

Just tested this locally and got it working fine. The resulting profile image, i.e., is located at http://example.com/sites/default/files/imagecache/user_image_large/pictu.... Some suggestions (sorry if you've already tried all these - but sometimes its the 'easy' ones which gets overlooked):
- Did you try to flush the imagecache cache for the 'user_image_large' preset?
- Tried creating a new preset and configure the module to use this new preset instead?
- You say the images are present in the imagecache resized directory - anything wrong with the directory permissions?
- If you copy the whole image src URL into the location of your browser - nothing happens?

#4

Amir Simantov - September 17, 2009 - 20:18

Have the exact same problem. I am using version 6.x-1.0

@rajaito - my /sites/default/files/imagecache folder is set to 0755 - is this as yours?

Could it be related somehow to Content Profile module which I am using?

#5

Amir Simantov - September 17, 2009 - 20:23

Solved - I forgot to enable the graphic library! I am using the default GD2.

#6

andypost - September 20, 2009 - 17:59
Status:active» postponed (maintainer needs more info)

Is this still an issue?

#7

Amir Simantov - September 30, 2009 - 17:29

@#6 - not for me.

#8

andypost - September 30, 2009 - 23:02
Status:postponed (maintainer needs more info)» fixed

suppose it fixed, re-open if problem still here

#9

shark - October 9, 2009 - 05:22

FYI - I believe I had this same issue. Flushing the ImageCache preset at /admin/build/imagecache didn't fix the issue but running 'Flush all caches' from the admin menu (/admin_menu/flush-cache) did fix it. I'm not sure which cache needed clearing, but the 'Flush all caches' menu item clears Administration menu, Cache tables, Menu, Page Requisites, and Theme registry. Next time I see this issue I'll try to figure out which cache specifically was needing to be cleared.

Also, I believe this may be happening after migrating from the development to production server or vice versa. I'll post more here if that is the case.

#10

andypost - October 9, 2009 - 17:08

Original issue was caused by using private files, so suppose this is an issue for imagecache not this module!

I dont ever used private files so if you still have troubles - feel free to re-open this issue!

#11

System Message - October 23, 2009 - 17:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.