Jump to content
Invision Board France
  • 0
Bocar

4.5 [Réglé] Redimensionner les avatars à une taille qu'on choisirait

Question

Bocar

Bonjour.

 

 

Lors du choix de leur avatar par les membres, que faire afin de redimensionner la taille des fichiers images uploadées à une taille type qu'on choisirait ?

 

Merci.

Edited by Bocar

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
MasterGone

Bonjour

 

Il s'agit d'un paramètre propre à chaque groupe, dans l'onglet "Social". Tu peux régler les paramètres des photos de profil (taille, dimensions, etc). Par contre, je ne pense pas que les photos soient redimensionnées automatiquement si elles dépassent ces valeurs, à tester.

 

Cordialement

Share this post


Link to post
Share on other sites
  • 0
Bocar

La solution est ici :

Citation

The avatar must be square but you can allow for larger sizes by adding a constant in the constants.php


define('PHOTO_THUMBNAIL_SIZE', 500);

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.