Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jithu ThomasPosted Mar 16, 2024, 6:39 AM
To achieve displaying multiple images from URLs stored in a database in a single popup when a link button is clicked, you can use JavaScript to create a popup and dynamically load the images into it. Here's how you can do it:
GetDocumentUrlsis a server-side method that retrieves document URLs from the database and formats them as a JavaScript array.LoadDocumentsPopupis a JavaScript function that creates a popup window and writes HTML to display the images.LoadDocumentsPopupfunction is called with the array of document URLs as a parameter.Make sure to replace
GetDocumentUrlswith your server-side method that retrieves document URLs from the database. Also, ensure that the URLs retrieved from the database are properly formatted and accessible.