Changeset 3319599
- Timestamp:
- 06/29/2025 10:08:09 PM (9 months ago)
- Location:
- bilder-alt/trunk
- Files:
-
- 4 edited
-
assets/bilder-alt-media-bulk.js (modified) (2 diffs)
-
assets/bilder-alt.js (modified) (2 diffs)
-
bilder-alt.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bilder-alt/trunk/assets/bilder-alt-media-bulk.js
r3319557 r3319599 32 32 var processImage = function (index) { 33 33 if (index >= images.length) { 34 location.reload(); 34 35 return; 35 36 } … … 40 41 model.set('uploading', true); 41 42 42 // 4) API-Aufruf mit Callbacks43 43 bilderAltGenerate( 44 44 id, 45 function onSuccess() { 45 function onSuccess(altText) { 46 model.set('uploading', false); 46 47 }, 47 function onFailure() { 48 function () { 49 model.set('uploading', false); 48 50 }, 49 51 function onAlways() { 50 model.set('uploading', false);51 52 processImage(index + 1); 52 53 } -
bilder-alt/trunk/assets/bilder-alt.js
r3319557 r3319599 7 7 `); 8 8 jquery('#wpbody-content').prepend($notice); 9 // Automatisch ausblenden nach 5s 10 setTimeout(() => $notice.fadeOut(500, () => $notice.remove()), 5000); 9 setTimeout(() => $notice.fadeOut(500, () => $notice.remove()), 4000); 11 10 } 12 11 … … 18 17 }).done(function (res) { 19 18 bilderAltShowNotice('success', `✅ Alt-Text erfolgreich erstellt: <strong>${res.altText}</strong>`); 19 20 20 if (typeof callbackSuccess === "function") { 21 callbackSuccess( )21 callbackSuccess(res.altText) 22 22 } 23 23 }).fail(function (err) { 24 24 const msg = err.responseJSON?.error || 'Unbekannter Fehler bei der Alt-Text-Erstellung.'; 25 25 26 bilderAltShowNotice('error', `❌ Fehler: ${msg}`); 27 26 28 if (typeof callbackFailure === "function") { 27 29 callbackFailure() -
bilder-alt/trunk/bilder-alt.php
r3319575 r3319599 5 5 * Plugin URI: https://app.bilder-alt.de/ 6 6 * Description: Erstelle automatisch SEO-optimierte Alt-Texte für deine Bilder – direkt in WordPress. Das Plugin „Bilder Alt“ nutzt künstliche Intelligenz, um passende Bildbeschreibungen zu generieren, die sowohl für Suchmaschinen als auch für Nutzer verständlich sind. Spare Zeit, verbessere deine Barrierefreiheit und steigere deine Sichtbarkeit in der Google-Bildersuche. Die Nutzung erfordert einen kostenlosen API-Zugang unter https://app.bilder-alt.de 7 * Version: 1.0. 17 * Version: 1.0.2 8 8 * Author: Lukas Beck <[email protected]> 9 9 * Author URI: https://www.bluebranch.de/ -
bilder-alt/trunk/readme.txt
r3319575 r3319599 6 6 Tested up to: 6.8 7 7 Requires PHP: 7.4 8 Stable tag: 1.0. 18 Stable tag: 1.0.2 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 74 74 == Changelog == 75 75 76 = 1.0.2 = 77 * Fix missing reload files after bulk edit 78 79 = 1.0.1 = 80 * Add new image formats and assets for the plugin 81 76 82 = 1.0.0 = 77 83 * Initial release
Note: See TracChangeset
for help on using the changeset viewer.