Skip to:
Content
Pages
Categories
Search
Top
Bottom

Upload file with extenstion .eps for the avatar profile


  • claenjoy
    Participant

    @claenjoy

    Hi there,

    tried to change this

    if ( ( !empty( $file['file']['type'] ) && !preg_match('/(jpe?g|gif|png)$/i', $file['file']['type'] ) ) || !preg_match( '/(jpe?g|gif|png)$/i', $file['file']['name'] ) )

    to
    if ( ( !empty( $file['file']['type'] ) && !preg_match('/(jpe?g|gif|png|eps)$/i', $file['file']['type'] ) ) || !preg_match( '/(jpe?g|gif|png|eps)$/i', $file['file']['name'] ) )

    it let me upload but it displays a empty picture and of course not let me to crop

    any solution on this ?

    thanks

Viewing 1 replies (of 1 total)

  • @mercime
    Keymaster

    @mercime

    @claenjoy EPS file as image/avatar is not supported in any browser. You can upload/download an EPS file but it will not be displayed or rendered as image by FF, IE, Chrome, etc.

Viewing 1 replies (of 1 total)
  • The topic ‘Upload file with extenstion .eps for the avatar profile’ is closed to new replies.
Skip to toolbar