Rafał Całka
Forum Replies Created
-
By default, the plugin generates alt text in the site’s language. In the Media Library there is a quick action for simple, one‑click generation.
If you need more control, you can use the bulk generator (also for a single image). It allows you to provide a custom prompt, for example to generate alt text in a different language or with specific requirements.
Forum: Plugins
In reply to: [AI Image Alt Text Generator with OpenAI Vision Models] Adjust text lengthThanks for reporting, and sorry for the late reply. I’ll add a default 125‑character limit in v3.0.0.
It doesn’t seem to be an issue with my plugin’s implementation – the
extend()is done correctly and works fine when Smush is not active. From what I see, Smush overrideswp.media.view.Attachment.Detailsin a way that bypasses any previously-extendedrender()methods. This means my code never runs even though it’s added properly.While Smush is popular, popularity doesn’t always guarantee compatibility. In this case, their override approach might be the cause of the conflict. I’d suggest reporting this to the Smush developers so they can ensure their extension preserves previous modifications. For reference, here’s my code that hooks into the media modal: https://github.com/android-com-pl/wp-ai-alt-generator/blob/main/src/media/media-modal.ts
- This reply was modified 8 months, 3 weeks ago by Rafał Całka.
Forum: Plugins
In reply to: [LiteSpeed Cache] v7 – Multiple CSS file path errorsYes, my site works, but I’m seeing over 100 warnings in Query Monitor and Sentry that weren’t there before updating to version 7.0. The key issue appears to be that the plugin is using
is_file()on URLs likehttps://eeeee.aaaaaa.com/…and CSS content, which will naturally fail withopen_basedirrestrictions since they aren’t valid server file paths.Forum: Plugins
In reply to: [LiteSpeed Cache] v7 – Multiple CSS file path errors@litetim I think there’s a misunderstanding about the problem. The issue isn’t that
open_basediris too restrictive – it’s that the plugin is trying to use file contents as file paths, which is incorrect behavior. This is a bug in how the plugin is handling file references in version 7.0. Disablingopen_basedirwould just hide the symptoms without fixing the actual problem. Could you please fix how the plugin processes CSS file references rather than asking users to disable important security features?Forum: Reviews
In reply to: [AI Image Alt Text Generator with OpenAI Vision Models] Great pluginWe plan to implement this functionality in a future update.
In the meantime, if you’re comfortable with some basic coding, there’s a workaround you can use. You can add the following code to your theme’s functions.php file or another file that you control:
add_filter('acpl/ai_alt_generator/user_prompt', function($user_prompt, $attachment_id, $locale, $language) {
if( empty($user_prompt) ) {
$user_prompt = 'Your Custom Prompt here...';
}
return $user_prompt;
}, 10, 4);Replace ‘Your Custom Prompt here…’ with the prompt you want to use by default.
This code will use your custom prompt only when the custom prompt field is left empty during generation.
Forum: Plugins
In reply to: [AI Image Alt Text Generator with OpenAI Vision Models] GPT 4o Mini?Option to select GPT model added in v2.5.0.
https://github.com/android-com-pl/wp-ai-alt-generator/releases/tag/v2.5.0
- This reply was modified 1 year, 7 months ago by Rafał Całka.
- This reply was modified 1 year, 7 months ago by Rafał Całka.
Forum: Plugins
In reply to: [Simple Local Avatars] Gravatar avatars not workingexpected result is that the Gravatar would be displayed
Yes, but the default Gravatar is displayed instead of the Gravatar set by the user.
Let me try to explain with an example:
This is your Gravatar, and it is displayed when you have not set your custom one with SLA (2.7.7):
But after upgrading to 2.7.8, this one is displayed:
The only difference is the version of the plugin. The rest of the setup is the same.
- This reply was modified 1 year, 11 months ago by Rafał Całka.
- This reply was modified 1 year, 11 months ago by Rafał Całka.
- This reply was modified 1 year, 11 months ago by Rafał Całka.
Forum: Plugins
In reply to: [Simple Local Avatars] Gravatar avatars not workingSame problem. After upgrading to 2.7.8, when a user does not have a local avatar but uses Gravatar, the default Gravatar avatar is displayed instead of the user’s avatar, as if the user had no avatar set. The ‘Local Avatars Only ’ option is disabled.
After rollback to 2.7.7 this works correctly.
- This reply was modified 1 year, 11 months ago by Rafał Całka.
- The option to generate alts in bulk is now available: https://github.com/android-com-pl/wp-ai-alt-generator/releases/tag/v2.1.0
Forum: Reviews
In reply to: [AI Image Alt Text Generator with OpenAI Vision Models] Excellent Plugin!The option to generate alts in bulk is now available: https://github.com/android-com-pl/wp-ai-alt-generator/releases/tag/v2.1.0
- This is planned for the next version. https://github.com/android-com-pl/wp-ai-alt-generator/issues/1
- Nice idea!
Both things will be added when I find some time.
Forum: Plugins
In reply to: [LiteSpeed Cache] Plugin update has reset image optimization data@qtwrk Sorry for the late response. Clearing the Cloudflare cache helped previously. I’m now on version 5.7.0.1, but the optimization issue persists and hasn’t improved much. Currently, only 34% (22% was 3 month ago – see first post) of the images have been optimized over these three months. At this rate, it will take years to optimize them all. Something still seems off. Is there a way to fix this? Before version 5.4, I had 100% of my images optimized. It would be ideal to somehow restore the optimization data that was reset, rather than re-optimizing everything from scratch
I’ve noticed a problem in the database table
wp_litespeed_img_optm. There are numerous empty records withpost_id0 and emptysrc:
There are about 15,241,411 of these on a total of 15,246,335 correct ones. Should I delete them?
There are also images that have
srcset but thepost_idis 0:
Additionally, in the
wp_litespeed_img_optmingtable, I see records with emptyserver_info. Should these be removed as well?Report number: UJGRYHQP
- This reply was modified 2 years, 5 months ago by Rafał Całka.
Forum: Plugins
In reply to: [LiteSpeed Cache] Plugin update has reset image optimization dataI have installed version 5.5.1 and now I have thousands of such errors:
Failed to download original images
Images have changed since the original optimization request in node 81.31.156.245. 6 images in total, sample URLs: https://static.**************- This reply was modified 2 years, 9 months ago by Rafał Całka.
Forum: Plugins
In reply to: [LiteSpeed Cache] Plugin update has reset image optimization dataThe problem occurs on the production site, so I will wait until the stable version comes out.