In my app, I’m using the ‘Image - Multiple’ option along with ‘Image #1, #2, #3 & Image Array’ to limit users to uploading only three images. I wanted to verify if, in my attempt to save storage space on my Glide account and prevent users from uploading an excessive number of photos, I inadvertently ended up tripling the number of images (duplicates) stored in the database. I’ve attached a screenshot for your reference.
I also considered using three single image components alongside an image array, but I was concerned that this approach might clutter the app with too many image components.
Additionally, if Glide is handling the image configuration after they’re uploaded, how many images can be stored per gigabyte?
That’s not quite true.
Each of the IMAGE/1,2,3 columns and the Array column are computed columns that reference the Multiple Image column. There is no duplication of the images, because those columns are computed.
How are you actually applying the limit of 3?
I can’t see anything in your screen shot that would be doing this - unless you are using the Array column in an action to save only the first 3 images?
Thank you, Darren Murphy, for your response. To limit the number of images being uploaded, I used the ‘Item Click’ feature and created an action with ‘Set Column Values.’ This way, even if a user attempts to upload 5, 10, or 15 images, only the first three will be accepted. Additionally, I’ll display ‘UP TO 3 IMAGES’ next to the component. - In response, Yes, I’m using the Array column to save only the first 3 images.
That sounds like the correct approach to me, though if I understand it right, if they upload 3+ images and you use set column to remove anything that is more than 3, it would still take a few weeks for the removed images to not be counted towards your storage.
I’ve only been using Glide for three months, so I apologize if I’m missing something. I placed the Image Picker - Multiple inside a Container to apply custom CSS. However, I’m not entirely sure what needs to go inside the CSS class to link it with the Custom CSS in the Appearance section of the settings.