1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Avatar PNG / JPG problem

Discussion in 'Troubleshooting and Problems' started by au lait, Jan 14, 2016.

  1. au lait

    au lait Well-Known Member

    Affected XenForo 1.x

    Why only the file extension is changed here?

    Upload an PNG - this is saved as JPG - But when faulty!
    In the attachment system it is done properly

    1) Upload PNG (Real PNG)
    2) right click on the Avatar and save this
    3) upload the saved JPG Image ...

    XenForo gives the message, the extension and contents does not match...

  2. Chris D

    Chris D XenForo Developer Staff Member

    This is expected and if you upload that JPG file as an attachment it would fail too with the same error. The difference with attachments being if you download a full size attachment, it is routed through the XF attachment system so we do change the file name to the original file name of the file for downloading.

Share This Page