Hi,
I'm working with elgg 1.7. I found the method `get_resized_image_from_existing_file()` in filestore.php on line 787. The first argument to this method is `$input_name`, but I'm not sure what it's expecting. I know that when the existing image was uploaded using `get_resized_image_from_uploaded_file()`, which also takes an `$input_name` argument, it was passed the string "profileicon". I tried using "profileicon" with get_resized_image_from_existing_file but that didn't seem to work.
What should I be passing get_resized_image_from_existing_file(), and how would I get that?
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.
- gene@genotype
gene - 0 likes
You must log in to post replies.Figured it out. Found it used elsewhere in filestore.php:
http://pastebin.com/rrkz0d1d