Confused about resizing an image


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?


Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking