How do I make a image gallery/modal for my real estate listing app?
Hey, I am trying to make a rails app for real estate listing, however, I am stuck in the images section.
The users on the website can upload images on the website along with the properties which I want to be able to dislpayed like this: https://www.nobroker.in/property/3-BHK-apartment-for-rent-in-Hadapsar-pune-for-rs-50000/ff8081815847c301015847f5e9d70b74/detail
Basically it shows small thumbnails of the initial few images, which when clicked on opens a modal to display the entire gallery.
Can someone point me to the right direction? thanks.
Hey Vendant...check out Active Storage and the tutorial below. Active Storage allows you to attach files to your Active Record model, such as images.