Support » Plugin: WP Multi File Uploader » Filesize is not visible in the Media

  • The filesize is not visible in the edit media.

    I would like to use the plugin “Zip Attachments”, but this not work whit the file uploaded whit “WP Multi File Uploader”.

    I have attached the parent to the uploaded files, but it doest’t work.

    After a long search, and observed the differences of uploaded files with or without the plugin, I discovered that those uploaded without plug in, i can display the file size in the edit media page.

    https://wordpress.org/plugins/wp-multi-file-uploader/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author dholloran

    (@dholloran)

    Yeah I really don’t know It may be like the image attachment sizes it might have to be added in some sort of meta. I haven’t really worked on this plugin in about a year and haven’t used it in longer. I may do some support work on it eventually and I’ll try to look at this issue. Sorry I couldn’t help you further.

    Thanks,
    Dan

    I solved the issue editing the file class-wpmfu-file-upload-handler.php in class folder replacing the line:
    $filename = str_replace( $wp_upload_dir[‘url’] . ‘/’, ”, $url );
    with
    $filename = str_replace( $wp_upload_dir[‘baseurl’] . ‘/’, ”, $url );

    and replacing the line:
    $attach_id = wp_insert_attachment( $attachment, $url);
    with
    $attach_id = wp_insert_attachment( $attachment, $filename);

    Thanks

    Please Please Please Dholloran & Fabryss, could you please please please help me!! Please!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Filesize is not visible in the Media’ is closed to new replies.