I am using latest Ejabberd version 18.12.1. I have switched on mod_http_upload to upload the files with the default configuration for thumbnail as false. However when I try to turn it to true, the server fails to start and gives an error:
[error] <0.408.0>@gen_mod:module_error:574 Invalid value for option 'thumbnail' of module mod_http_upload: true
Based upon various documents and support material, I understand that we need to compile ejabberd with libgd option, to enable this feature. However I am not sure how to enable / compile with libgd. Which command do will do this.
I have installed all the required libraries including gd and gd-devel before compiling Ejabberd. I have also tried various options while compiling including --enable-graphics
but that also didn't help.
Any help to understand how thumbnails can be enabled will be really appreciated.