Currently the permitted upload file extensions defaults to 'txt', which doesn't make a whole lot of sense for an image field. (Looks like this is set by filefield). In fact, leaving it as the default txt causes an error when submitting the form since imagefield only allows extensions of the type jpg, jpeg, png, and gif.

The following patch adds 'jpg jpeg png gif' as the default extensions.

Comments

quicksketch’s picture

Status: Needs review » Fixed

This has already been fixed #442600: Default file extensions.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.