Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.
PHP ai-agentsblueskyfacebookinstagramlaravellinkedinmastodonmcpmcp-serveropen-sourcerest-apiself-hostedsocial-mediasocial-media-managementsocial-media-schedulerthreadstiktokvuejsxyoutube
Show the alt text on the thumbnail and drop the file-size badge
Paulo Castellano797750a1c835
diff --git a/lang/ar/posts.php b/lang/ar/posts.phpindex 49321ed8f..365d124d9 100644--- a/lang/ar/posts.php+++ b/lang/ar/posts.php@@ -383,7 +383,6 @@ return ['edit' => 'تحرير النص البديل','placeholder' => 'صف هذه الصورة للأشخاص الذين يستخدمون برامج قراءة الشاشة','hint' => 'يُنشر على المنصات التي تدعم أوصاف الصور.',- 'badge' => 'ALT','save' => 'حفظ',],diff --git a/lang/de/posts.php b/lang/de/posts.phpindex 6fc1d0489..c70ce333a 100644--- a/lang/de/posts.php+++ b/lang/de/posts.php@@ -385,7 +385,6 @@ return ['edit' => 'Alternativtext bearbeiten','placeholder' => 'Beschreibe dieses Bild für Menschen, die Screenreader verwenden','hint' => 'Wird auf Plattformen veröffentlicht, die Bildbeschreibungen unterstützen.',- 'badge' => 'ALT','save' => 'Speichern',],diff --git a/lang/el/posts.php b/lang/el/posts.phpindex 0b6c8133e..991273b6b 100644--- a/lang/el/posts.php+++ b/lang/el/posts.php@@ -383,7 +383,6 @@ return ['edit' => 'Επεξεργασία εναλλακτικού κειμένου','placeholder' => 'Περιγράψτε αυτήν την εικόνα για άτομα που χρησιμοποιούν προγράμματα ανάγνωσης οθόνης','hint' => 'Δημοσιεύεται σε πλατφόρμες που υποστηρίζουν περιγραφές εικόνων.',- 'badge' => 'ALT','save' => 'Αποθήκευση',],diff --git a/lang/en/posts.php b/lang/en/posts.phpindex 87a0af789..508226826 100644--- a/lang/en/posts.php+++ b/lang/en/posts.php@@ -383,7 +383,6 @@ return ['edit' => 'Edit alt text','placeholder' => 'Describe this image for people using screen readers','hint' => 'Published to platforms that support image descriptions.',- 'badge' => 'ALT','save' => 'Save',],diff --git a/lang/es/posts.php b/lang/es/posts.phpindex e73b1afe7..abf2bd310 100644--- a/lang/es/posts.php+++ b/lang/es/posts.php@@ -383,7 +383,6 @@ return ['edit' => 'Editar texto alternativo','placeholder' => 'Describe esta imagen para las personas que usan lectores de pantalla','hint' => 'Se publica en las plataformas que admiten descripciones de imágenes.',- 'badge' => 'ALT','save' => 'Guardar',],diff --git a/lang/fr/posts.php b/lang/fr/posts.phpindex 79a251d1d..dd1e1ad92 100644--- a/lang/fr/posts.php+++ b/lang/fr/posts.php@@ -383,7 +383,6 @@ return ['edit' => 'Modifier le texte alternatif','placeholder' => 'Décrivez cette image pour les personnes utilisant un lecteur d\'écran','hint' => 'Publié sur les plateformes qui prennent en charge les descriptions d\'images.',- 'badge' => 'ALT','save' => 'Enregistrer',],diff --git a/lang/it/posts.php b/lang/it/posts.phpindex 504c60cd9..744504294 100644--- a/lang/it/posts.php+++ b/lang/it/posts.php@@ -383,7 +383,6 @@ return ['edit' => 'Modifica testo alternativo','placeholder' => 'Descrivi questa immagine per le persone che usano screen reader','hint' => 'Pubblicato sulle piattaforme che supportano le descrizioni delle immagini.',- 'badge' => 'ALT','save' => 'Salva',],diff --git a/lang/ja/posts.php b/lang/ja/posts.phpindex 5b76fec0a..7be94ef16 100644--- a/lang/ja/posts.php+++ b/lang/ja/posts.php@@ -383,7 +383,6 @@ return ['edit' => '代替テキストを編集','placeholder' => 'スクリーンリーダーを使用する人のためにこの画像を説明してください','hint' => '画像の説明に対応しているプラットフォームに公開されます。',- 'badge' => 'ALT','save' => '保存',],diff --git a/lang/ko/posts.php b/lang/ko/posts.phpindex dc7932ae5..d79c8d182 100644--- a/lang/ko/posts.php+++ b/lang/ko/posts.php@@ -383,7 +383,6 @@ return ['edit' => '대체 텍스트 편집','placeholder' => '화면 낭독 프로그램을 사용하는 사람들을 위해 이 이미지를 설명하세요','hint' => '이미지 설명을 지원하는 플랫폼에 게시됩니다.',- 'badge' => 'ALT','save' => '저장',],diff --git a/lang/nl/posts.php b/lang/nl/posts.phpindex d76ddba10..0967738de 100644--- a/lang/nl/posts.php+++ b/lang/nl/posts.php@@ -383,7 +383,6 @@ return ['edit' => 'Alt-tekst bewerken','placeholder' => 'Beschrijf deze afbeelding voor mensen die schermlezers gebruiken','hint' => 'Wordt gepubliceerd op platforms die afbeeldingsbeschrijvingen ondersteunen.',- 'badge' => 'ALT','save' => 'Opslaan',],diff --git a/lang/pl/posts.php b/lang/pl/posts.phpindex 162fd3e0e..e07f03619 100644--- a/lang/pl/posts.php+++ b/lang/pl/posts.php@@ -383,7 +383,6 @@ return ['edit' => 'Edytuj tekst alternatywny','placeholder' => 'Opisz ten obraz dla osób korzystających z czytników ekranu','hint' => 'Publikowany na platformach obsługujących opisy obrazów.',- 'badge' => 'ALT','save' => 'Zapisz',],diff --git a/lang/pt-BR/posts.php b/lang/pt-BR/posts.phpindex b0d4adbba..8c4cdeea5 100644--- a/lang/pt-BR/posts.php+++ b/lang/pt-BR/posts.php@@ -383,7 +383,6 @@ return ['edit' => 'Editar texto alternativo','placeholder' => 'Descreva esta imagem para pessoas que usam leitores de tela','hint' => 'Publicado nas plataformas que oferecem suporte a descrições de imagem.',- 'badge' => 'ALT','save' => 'Salvar',],diff --git a/lang/ru/posts.php b/lang/ru/posts.phpindex 4d101e1ec..febab44f1 100644--- a/lang/ru/posts.php+++ b/lang/ru/posts.php@@ -383,7 +383,6 @@ return ['edit' => 'Изменить альтернативный текст','placeholder' => 'Опишите это изображение для людей, использующих программы чтения с экрана','hint' => 'Публикуется на платформах, поддерживающих описания изображений.',- 'badge' => 'ALT','save' => 'Сохранить',],diff --git a/lang/tr/posts.php b/lang/tr/posts.phpindex acba24a4b..7d499c6f0 100644--- a/lang/tr/posts.php+++ b/lang/tr/posts.php@@ -385,7 +385,6 @@ return ['edit' => 'Alternatif metni düzenle','placeholder' => 'Ekran okuyucu kullanan kişiler için bu görseli açıklayın','hint' => 'Görsel açıklamalarını destekleyen platformlarda yayınlanır.',- 'badge' => 'ALT','save' => 'Kaydet',],diff --git a/lang/zh/posts.php b/lang/zh/posts.phpindex 81d23064b..77df4cfe9 100644--- a/lang/zh/posts.php+++ b/lang/zh/posts.php@@ -383,7 +383,6 @@ return ['edit' => '编辑替代文本','placeholder' => '为使用屏幕阅读器的用户描述此图片','hint' => '发布到支持图片描述的平台。',- 'badge' => 'ALT','save' => '保存',],diff --git a/resources/js/components/posts/editor/PostEditorComposer.vue b/resources/js/components/posts/editor/PostEditorComposer.vueindex c190c6c68..8c21232fd 100644--- a/resources/js/components/posts/editor/PostEditorComposer.vue+++ b/resources/js/components/posts/editor/PostEditorComposer.vue@@ -23,7 +23,6 @@ import MediaPickerDialog from '@/components/posts/MediaPickerDialog.vue';import SignaturesModal from '@/components/posts/SignaturesModal.vue';import { Popover, PopoverAnchor, PopoverContent } from '@/components/ui/popover';import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '@/components/ui/tooltip';-import { formatBytes } from '@/composables/useMedia';import { getPlatformLabel, getPlatformLogo } from '@/composables/usePlatformLogo';import date from '@/date';import { classify, isDocument, isImage, isVideo, MediaType } from '@/lib/mediaType';@@ -283,7 +282,7 @@ const onAltTextSave = (value: string): void => {<div class="pointer-events-none absolute inset-x-0 bottom-0 h-12 bg-gradient-to-t from-black/60 to-transparent opacity-0 transition-opacity group-hover:opacity-100" />- <div class="absolute bottom-1.5 left-1.5 flex flex-col items-start gap-1 text-[10px] font-medium text-white">+ <div class="pointer-events-none absolute inset-x-1.5 bottom-1.5 flex flex-col items-start gap-1 text-[10px] font-medium text-white"><spanv-if="isVideo(item) && item.meta?.duration"class="inline-flex items-center gap-0.5 rounded-md bg-black/65 px-1.5 py-0.5 backdrop-blur-sm"@@ -291,18 +290,13 @@ const onAltTextSave = (value: string): void => {<IconVideo class="size-2.5" />{{ date.formatClock(item.meta.duration) }}</span>- <span- v-if="item.size"- class="inline-flex rounded-md bg-black/65 px-1.5 py-0.5 backdrop-blur-sm"- >- {{ formatBytes(item.size) }}- </span><spanv-if="isImage(item) && item.meta?.alt_text"- class="inline-flex rounded-md bg-black/65 px-1.5 py-0.5 font-bold tracking-wider backdrop-blur-sm"+ class="inline-flex max-w-full items-center gap-0.5 rounded-md bg-black/65 px-1.5 py-0.5 backdrop-blur-sm"data-testid="alt-text-badge">- {{ $t('posts.edit.alt_text.badge') }}+ <IconAlt class="size-2.5 shrink-0" />+ <span class="truncate">{{ item.meta.alt_text }}</span></span></div>