Jump to content

Jpg image type


Recommended Posts

I changed the extensions in v2 way back when to allow .jpg instead of the default .jpeg it took, but don't know how to change this in V3. Where do I add .jpg to the allowed extensions?


In admin/filemanager/upload.php

about line 165 find } elseif ($HTTP_POST_FILES....

add at the end before the final )

AND $HTTP_POST_FILES['FCKeditor_File']['type'] != "image/jpg"

found it right after I posted, naturally! LOL

(in the final release, this line is about line 86)

Link to comment
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.

Reply to this topic...

×   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.


  • Create New...