Jump to content

Extension talk:Avatar

Add topic
From mediawiki.org

Call to undefined function Avatar\imagecreatefrompng()

[edit]

Call to undefined function Avatar\imagecreatefrompng() 103.206.188.139 (talk) 08:54, 1 August 2019 (UTC)Reply

You need to install php-gd. 94.208.172.116 (talk) 07:33, 30 August 2019 (UTC)Reply

Avatar extension not working for private wiki

[edit]

For a public wiki the avatar image is successfully loaded, for ex. http://wiki.mywiki.org/images/avatars/972/128.png


It seems the Extension:Avatar is not compatible with Image authorization (https://www.mediawiki.org/wiki/Manual:Image_authorization):

  $wgUploadPath = "$wgScriptPath/img_auth.php";
  $wgUploadDirectory = '</absolute/path/to/my/doc_root>/../<dir_name_unguessable>';
  $wgEnableUploads = true;

Therefore the avatar image fails with 403 Forbidden, for ex. http://wiki.mywiki.org/img_auth.php/avatars/2/128.png:1 S0ring (talk) 07:22, 6 July 2020 (UTC)Reply

I am noticing this as well.. Will post a solution if I find one Revansx (talk) 01:58, 27 December 2021 (UTC)Reply