Showing 1 – 2 of 2 replies
aluura

Modal Gallery - Return Image Selected

aluura PURCHASED
2 years ago
Dorian,

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
stepofweb
stepofweb SELLER
2 years ago
Hello aluura,

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
aluura
aluura PURCHASED
2 years ago
I'd like to replicate the Wordpress gallery, injecting the selected image into one of the editors. Can you plan for this in the next patch?