1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-06 03:50:04 +02:00

Implement AI image generation feature and enhance image handling in video library

This commit is contained in:
Daniel Neto 2025-06-25 10:52:14 -03:00
parent 0f6b38e7c7
commit 9b438e96e5
17 changed files with 403 additions and 79 deletions

View file

@ -154,7 +154,11 @@ $croppieFilesAdded = 1;
$('#library-btn<?php echo $uid; ?>').off('click');
$('#library-btn<?php echo $uid; ?>').on('click', function(ev) {
avideoModalIframe(webSiteRootURL + 'view/list-images.php?uid=<?php echo $uid; ?>');
var url = webSiteRootURL + 'view/list-images.php?uid=<?php echo $uid; ?>';
if (typeof mediaId == 'number' && !empty(mediaId)) {
url = addQueryStringParameter(url, 'videos_id', mediaId);
}
avideoModalIframe(url);
});
@ -208,4 +212,4 @@ $croppieFilesAdded = 1;
}
});
}
</script>
</script>