Image button icon instead of upload icon

(David Kingham) #1

I have my file types for uploads set to defaults of just images but I still see the upload button rather than the image button, is there anywhere else besides this setting that would trigger this?

(Jeff Atwood) #2

Did we regress here @jomaxro?

(Joshua Rosenfeld) #4

Yeah, we do appear to have regressed here. The modal is still correct (text is the image-only strings, icon in button is picture) but the icon in the composer is wrong.

(Jeff Atwood) #6

To clarify for @joffreyjaffeux, if the allowed filetypes are all default (.jpg, .gif, .png) then the glyph should be of an image, because those are the only types allowed. Once you add additional filetypes the glyph changes to generic upload.

(Joffrey Jaffeux) #7

Good catch David! Thanks.

This should be fixed by:

I created a common implementation to decide which icon to display which should avoid any difference in the future.

(Joffrey Jaffeux) #8