We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f09541 commit 9b9db6cCopy full SHA for 9b9db6c
ext/automatic1111_tagger/main.php
@@ -55,7 +55,7 @@ public function onPageRequest(PageRequestEvent $event): void
55
if ($event->page_matches("automatic1111_tagger/get_rating/{post_id}")) {
56
$post_id = $event->get_iarg('post_id');
57
$image_obj = Post::by_id_ex($post_id);
58
- $image_contents = $image_obj->get_media_filename()->get_contents();
+ $image_contents = $image_obj->get_thumb_filename()->get_contents();
59
$image_data = base64_encode($image_contents);
60
$payload = [
61
"image" => $image_data,
0 commit comments