Project:AJAX Picture Preview
Version:6.x-1.2
Component:Code
Category:task
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

At some point it was working for sure with Safari, my guess is that version 4 of the browser introduced this problem.

Tested only for accounts with no picture at all. After selecting the image and clicking Upload you do see the throbber and then the message that you must save. After saving there is no picture attached.

Comments

#1

subscribe

#2

I've got the module working again, basically it's just due to the age of the module and markup changes over time.

Change line 164 from:
'$('.picture a img').attr('id', 'img-picture');'
to:
'$('#user-profile-form .picture img').attr('id', 'img-picture');'

Also did a bit of css for the loading indicator:
'#edit-picture-upload-wrapper #loading {
display: inline-block;
overflow: hidden;
margin-left: 5px;
padding-top: 15px;
height: 5px;
width: 15px;
position: relative;
vertical-align: middle;
top: auto;
left: auto;
line-height: auto;
background: url(/misc/throbber.gif) no-repeat bottom left;
}

#edit-picture-upload-wrapper #loading img {
display: none;
}'

I've got a couple other fixes which I'll probably put into a proper patch.

#3

alli I would love to see those fixes you have

#4

Status:active» closed (fixed)

Hello
I'm the new maintainer of this module.
I made a new version, most likely the problem is no longer relevant. You can try to install the new version of the module. I will be grateful for your feedback and comments.

nobody click here