Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

I want to use .gif image in my head

hginlihginli New
edited July 2010 in Vanilla 2.0 - 2.8
I want to use ".gif" image in my head

but i upload, it become .jpg

i hope my head image is can action .gif

like it

http://havensos.com/test/index.php.gif

who will help me?

thank you ^^

i'm sorry my bad english

Comments

  • Options
    LincLinc Detroit Admin
    edited July 2010
    Upload the GIF to your server via FTP and create a new theme to do that. Vanilla's upload mechanism currently changes everything to JPG, no exceptions.
  • Options
    hginlihginli New
    edited July 2010
    i'm sorry ok!

    like it
    http://havensos.com/test/index.php.gif

    so now there is no way?

    i alter library/core/class.uploadimage.php

    line 157
    public function GenerateTargetName($TargetFolder, $Extension = 'jpg') {

    i will 'jpg' to 'gif'

    it success to gif but although

    line 158
    $Name = RandomString(12);

    i can use path to the source image?

    i very hope my head is can use .GIF

    Thank you ^^
Sign In or Register to comment.