Tried to use jquery.imgareaselect-0.8.js but still not work. Any one can help me?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Kevin Jardine@kevin
Kevin Jardine - 0 likes
- Kevin Jardine@kevin
Kevin Jardine - 0 likes
- itmanvn@itmanvn
itmanvn - 0 likes
- Cash@costelloc
Cash - 0 likes
- Crusader@crusader
Crusader - 0 likes
- Cash@costelloc
Cash - 0 likes
- itmanvn@itmanvn
itmanvn - 0 likes
- Darkwing Duck@darkwingduck
Darkwing Duck - 0 likes
- morgar@morgar
morgar - 0 likes
- itmanvn@itmanvn
itmanvn - 0 likes
You must log in to post replies.I seem to remember that this issue was raised before and it turned out that the site was using a non-standard theme.
Is that the case for you, or are you using the default theme?
Or is it possible that you are actually posting a jQuery question here and this has nothing to do with Elgg? In which case would not a jQuery forum be a better place for your question?
Yeah, will try with default theme and report later, thanks for remind me :D
Elgg is still using jquery 1.2.6 and jquery.imgareaselect-0.8.js requires 1.3.x
I am using the default theme and the cropping tool does not work in IE8. The jquery is out of date.
Report to trac: https://trac.elgg.org/elgg/
Yup, just tested in: http://community.elgg.org/mod/profile/editicon.php NOT WORK with IE8
https://trac.elgg.org/elgg/ticket/1118
I should say the problem could not be the IE8 or the JQuery version. I think the problem is the entire Elgg procedure for creating the avatar has too many bugs and it has no error control at all. I tried to fix it, but I ended rewriting it almost completely, including views and actions.
I could give you an example. The script declares six vars, $x1, $y1, $x2, $y2, $w and $h. Later, it asigns them values from non existent elements, and, using an wrong jquery syntax. Ok, this looks very bad. But, don't worry, those vars are never used after that! :)
It looks like it was made using trying and error and when it worked in some way, it was left as is.
I could provide my code if you want, but unfortunately it uses the latest versions of JQuery and ImgAreaSelect, and the wiew is related to my template.
Sorry is something could sound impolite, it's not my intention and English is not my language, but I am a bit dissapointed with a certain oversight I found in many pieces of Elgg code. Without changing this, I think Elgg could not become a mature platform.
I would like to know what do you think about.
Regards
@morgar: please share your code :(