My install’s WP_CONTENT_URL was returning a http:// URL. I fixed the upload issue by changing the pluginurl value in the modules\custompost\templates\index.php file:
<input type ='hidden' id="pluginurl"value="<?php echo str_replace("http:", "https:", WP_CONTENT_URL);?>">