Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi @drmosko,

    I hope you’re doing great today!

    As long as that plugin ties into the standard media upload functionality of WordPress, that should be possible by using the “Automatically process on upload” setting at Settings > Media.

    Have you tried that and does that not work?

    If not, I’m afraid that wouldn’t work without custom code. In that case, perhaps you could ask the developer to integrate that as a feature?

    Cheers,
    David

    Thread Starter DrMosko

    (@drmosko)

    hey David,

    Hope u doing Good too!

    It is set to Automatically process on upload, I thought the Deveeloper will answer me in this forum:(

    Hi @drmosko,

    As that’s a premium plugin I don’t have access to, I don’t really have a way to help with that. It’s something you’d have to take up with the developer as far as I can see.

    Thanks,
    David

    Thread Starter DrMosko

    (@drmosko)

    hello David,
    smushIt premium?…..

    I want u to get me started with make smushit plugin enabled to all uploads,

    so I need to know how smushit controll the upload process so ill be able to call the function when the other plugin upload files.

    Hi DrMosko,

    I actually meant that the AWPCP Plugin is a premium plugin, thus we wouldn’t be able to assist with that specifically.

    But this plugin is specifically built for use with attachments in WordPress, it wouldn’t really work for a solution that doesn’t rely on standard WordPress functionality in that way.

    To give you an idea of how it’s done you can look at the code used for manual operations on line 304 of wp-smushit.php:

    function smushit_manual( )

    That function shows you how the process is handled, and you’ll also see how it totally depends on attachment features of WordPress.

    Perhaps that will help?

    Cheers,
    David

    Thread Starter DrMosko

    (@drmosko)

    Thanks a lot

    ps I use the AWPCP free edition

    Hi @drmosko,

    Thanks for clarifying that! I went and tried out the plugin to see how this might be done and unfortunately, it falls into the issue of the case I described above.

    The plugin uses a custom method for the uploads, rather than using the Media Library (or attachment) functionality.

    WP Smush.it wouldn’t be able to process those images directly without extensive custom code, I’m afraid.

    Have you asked that plugin author to look into that?

    I couldn’t find any such request made previously, I’m just wondering if the author would be interested in adding that support.

    Cheers,
    David

    Thread Starter DrMosko

    (@drmosko)

    I did ask him and he isn’t interested right now,

    is it simple function I can copy paste?

    Hi @drmosko,

    Thanks for your reply. It’s not quite a copy-paste matter unfortunately. The function used for the smush process itself references the attachment functionality of WordPress.

    I noted above the following on line 304 of wp-smushit.php:

    function smushit_manual( )

    That would be the function used for manual smushes and you’ll see there that it makes total use of WordPress attachment features.

    It’s not designed for use apart from standard WordPress functionality via the media library.

    Hope that helps.

    Cheers,
    David

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘I want to smushIt with all files uploaded’ is closed to new replies.