(sorry to clog this thread up, but it may help others anyway).
I found out that adding a new picture to a profile now creates the larger one.
But it doesnt display on the profile.
currently i have restored engine/lib/views to default, put team webgalli's code in the start.php of my theme and i have also changed the css in icon.php which ive added to my theme. /* ***************************************
AVATAR ICONS
*************************************** */
.elgg-avatar {
position: relative;
display: inline-block;
}
.elgg-avatar > a > img {
display: block;
}
.elgg-avatar-tiny{
width: 100px;
height: 100px;
}
.elgg-avatar-tiny > a > img {
width: 100px;
height: 100px;
/* remove the border-radius if you don't want rounded avatars in supported browsers */
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-moz-background-clip: border;
background-clip: border;
-webkit-background-size: 100px;
-khtml-background-size: 100px;
-moz-background-size: 100px;
-o-background-size: 100px;
background-size: 100px;
}
.elgg-avatar-small > a > img {
width: 100px;
height: 100px;
/* remove the border-radius if you don't want rounded avatars in supported browsers */
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-moz-background-clip: border;
background-clip: border;
-webkit-background-size: 100px;
-khtml-background-size: 100px;
-moz-background-size: 100px;
-o-background-size: 100px;
background-size: 100px;
}
.elgg-avatar-medium > a > img {
width: 100px;
height: 100px;
}
.elgg-avatar-large > a > img {
width: 200px;
height: 200px;
}
Any help?
Use elgg_save_config() for the elgg_set_config to persist.
http://reference.elgg.org/configuration_8php.html#a52035ce2a3c1aef94c10c60e3d0a34c0
i made a plugin to do this, check my profile
You can do it by
If your application is a well written piece of code, it will not be that hard to do it. If you are having only limited contents in the current platform, try to import them to Elgg.
Thank you very much Team Webgalli!
I will check that out:)
Regards,
Eilicic
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.