I think I'm going in the right direction. I'm stuck on the vars part for the icon view.
echo elgg_view("tidypics/icon",array('mimetype' => $image));
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.
- gushbellino@gushbellino

gushbellino - 0 likes
You must log in to post replies.Hello Skot,
I have not so much experience but with the help of my friend pedro I knew that the array you have to pass is the types of the images:
$images = array('image/jpeg', 'image/gif', 'image/png', 'image/pjpeg');
so:
$images = array('image/jpeg', 'image/gif', 'image/png', 'image/pjpeg');
echo elgg_view("tidypics/icon",array('mimetype' => $image));
I hope this can help
Cheers