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:
parent
0f6b38e7c7
commit
9b438e96e5
17 changed files with 403 additions and 79 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue