Do you have any non-Ajax documentation/example of using a Modal that: - serves as a image gallery (can be loaded via Ajax) - it will return a value (e.g. image ID) based on a user-selected image when the Modal is closed - return null or empty string when no image is selected
Unfortunately, Smarty has no plugin developed for this specific purpose.
Instead of modal, maybe there is a way you can use a dropdown? https://smarty.stepofweb.com/5.0.0/html_frontend/documentation/plugins-sow-ajax-image.html
Modal Gallery - Return Image Selected
Do you have any non-Ajax documentation/example of using a Modal that:
- serves as a image gallery (can be loaded via Ajax)
- it will return a value (e.g. image ID) based on a user-selected image when the Modal is closed
- return null or empty string when no image is selected
Unfortunately, Smarty has no plugin developed for this specific purpose.
Instead of modal, maybe there is a way you can use a dropdown?
https://smarty.stepofweb.com/5.0.0/html_frontend/documentation/plugins-sow-ajax-image.html