• Resolved Svilen Zhelev

    (@svilen-zhelev)


    Hi,
    I have a strange issue with the plugin. If filename contains letter ‘x’ + two or three digits, File away didn’t show the file. For example, if filename is image_300x250.jpg, didn’t show the file. If the filename is image_300x250px.jpg, there’s no problem and show it.
    I tested it with two installations with different WP and plugin versions and there’s no difference.
    Is anybody idea that happens?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author thomstark

    (@thomstark)

    Yeah, it is intentionally hiding wordpress-generated thumbnails.

    Thread Starter Svilen Zhelev

    (@svilen-zhelev)

    But in this case, there’s no preview and thumbnails. It’s just files list.
    Is there setting or option to fix it in the code?

    Plugin Author thomstark

    (@thomstark)

    There is currently no option, but it’s an easy fix. Open up plugins/file-away/inc/inc.filters.php and add two forward slashes // to the beginning of line 13, i.e., the line right after the comment saying “dont show thumbnails from uploaded images”

    That’s all you’d need to do.

    Thread Starter Svilen Zhelev

    (@svilen-zhelev)

    Perfect. It’s done!
    Thanks.

    Plugin Author thomstark

    (@thomstark)

    No prob.

    Plugin Author thomstark

    (@thomstark)

    This is now a built-in option. Add show_wp_thumbs="true" to your [fileaway] shortcode.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Filename strange problem.’ is closed to new replies.