This path create when i not use imagecache - only witch*high scale:
Only local images are allowed.

Total problem - not see image in profile.

Comments

wowik73’s picture

Correct problem:

-if (module_exists('imagecache') && (gettype($attributes) == string) && $attributes != '') {
+if (module_exists('imagecache') && (gettype($attributes) == string) && $attributes != '') {

yeputons’s picture

Status: Active » Fixed

Commited:
Fixed #917912: Total problem - not see image in profile. by wowik73: added checking wheither is imagecache_preset passed in theme_profile_picture empty.

Status: Fixed » Closed (fixed)

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

jmcintyre’s picture

Thanks for this module - it's exactly what I was looking for! Will you be releasing a new version including the change in #2?

Incidentally, #2 shows the changed line twice (profile_pictures.theme.inc @line 41) but not the original one. This might help others find and resolve the problem until a patch is posted or a new release is available:

diff profile_pictures.theme.old profile_pictures.theme.inc 
41c41
<   if (module_exists('imagecache') && (gettype($attributes) == string)) {
---
>   if (module_exists('imagecache') && (gettype($attributes) == string) && $attributes != '') {