Bulk Optimization is available in Pro version after adding keys and setting up tuning parameters. ';
} else {
aiit_show_bulk_form();
}
?>
Information
Test before text bulk generation
Always remember to test image text generation on the Tuning page. That's important to avoid generating texts that don't satisfy you or aren't relevant to your website's content.
Why some images are not being processed
The reason some images are not being processed can vary. Some images may be interpreted by AI as safety issues, such as captcha recognition, explicit content, or other restrictions built into the OpenAI system. Additionally, images larger than 20MB are not processed.
Limited image count differs from total images
If you set a limit on the image count, the actual number of images processed may differ from the total number calculated. For instance, if you limit the image count to '100', and then click 'Get Image Total', the number shown may be different. This discrepancy occurs because on the Tuning page you have set an image size limitation and images below this size limit are not included in the total image count that will be generated.
Controlling text in images
On the Settings page you can specify what texts (ALTs, Titles, Descriptions or Captions) need to be generated. Additionally, you can select which images to update with new texts under "Generate content for". These settings will help you to avoid overwriting existing image texts if you have specific ones you want to keep.
Plugin works with the texts in Media Library
If you are using Gutenberg or Classic editor and you've added custom Titles, ALTs, Captions or Descriptions for images in a post or page, these posts or pages won't be affected by the text generation. Go to Update Content - it will help you to update these images that are published on older posts and pages with the newly written texts from the Media Library.
Generated text precision
We created the plugin to ensure image texts are precise and free of errors, but occasionally some may slip through. You can re-generate texts for those you don't like or where you spot mistakes.
Control image text generation by selecting images requiring texts and choosing content types for creation. Modify settings, then click "Get Image Total" to begin. Keep in mind, you can stop the process at any time.
post_content, 'accordion_shortcode')) {
wp_enqueue_script('jquery');
wp_enqueue_script('bulk-script', plugin_dir_url(__FILE__) . '../js/bulk-script.js', array('jquery'), '1.0', true);
wp_localize_script('bulk-script', 'accordion_vars', array('section_to_open' => 1));
}
}
function aiit_show_selection_cr_dropdown(){
$selection_criteria = get_option('aiit_selection_criteria');
$selected_option = "Select an option";
$dropdown = array(
array(
'value' => 'all-images',
'title' => "All images",
'description' => "Generate texts for all images in your library, regardless of their existing SEO texts",
),
array(
'value' => 'alt-text-empty',
'title' => "Images without 'ALTs'",
'description' => "Generate texts for all images that don't have ALTs yet",
),
array(
'value' => 'titles-empty',
'title' => "Images without 'Titles'",
'description' => "Generate texts for all images that don't have Titles yet",
),
array(
'value' => 'captions-empty',
'title' => "Images without 'Captions'",
'description' => "Generate texts for all images that don't have Captions yet",
),
array(
'value' => 'descriptions-empty',
'title' => "Images without 'Descriptions'",
'description' => "Generate texts for all images that don't have Descriptions yet",
)
);
if ($selection_criteria){
foreach ($dropdown as $item) {
if ($item['value'] === $selection_criteria) {
$selected_option = $item['title'];
}
}
}
echo '