Hi
Im new to Elgg and trying to build a new theme, the css is fine but Im stuck trying to resize thumbnails, specifically the 40x40 icons at the left of member and group lists.
I have found were to change them so when they are uploaded they are 60x60 and actually sit on the server at the new modified size but they are still being presented as 40x40 on the webpage. Can someone tell me where this is being changed? Properties of the photo say ”60px × 60px (scaled to 40px × 40px)”.
Thanks
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.
- Cliff@cliffjfb
Cliff - 0 likes
You must log in to post replies.Found it, it was in the css file all along :/
If anyone else wants to do the same
1. change how the script resizes uploads (profile & group icons) ./mod/profile/actions/iconupload.php. Find $small = get_resized_image_from_uploaded_file('profileicon',40,40, true);
Change 40,40 to your desired pixel size.
2. In theme css.php find .search_listing_icon img and change the width to the same.
BTW this is on version 1.6.1