• Hello

    I’m testing the plugin on a stage site.

    I have a particular worflow, when visitors browse a product page for instance, if there is no nextgen images for that product, in my code I process the optimization through imagify code like this (part of code):
    $process = imagify_get_optimization_process( $attachment_id, 'wp' );
    $process->reoptimize( 2 );
    $process->generate_nextgen_versions();
    $process->optimize_missing_thumbnails();

    So I process optimization each time I need, so next time a visitor visit again that page it render with nextgen images

    So I wonder to know if there is hook … something I can call to start the optimization of an image by code with providing the ID or the url of the image

    Thanks

    • This topic was modified 2 months, 3 weeks ago by fab4_33.
    • This topic was modified 2 months, 3 weeks ago by fab4_33.
  • You must be logged in to reply to this topic.