# Gallery image question

**URL:** <https://forums.realmacsoftware.com/t/gallery-image-question/47178>\
**Category:** Elements\
**Created:** [April 15, 2025, 7:27pm UTC](https://forums.realmacsoftware.com/t/gallery-image-question/47178 "2025-04-15T19:27:34Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Godber](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/godber/32/26521_2.png) [@Godber](https://forums.realmacsoftware.com/u/Godber)\
**Post date:** [April 15, 2025, 7:27pm UTC](https://forums.realmacsoftware.com/t/gallery-image-question/47178/1 "2025-04-15T19:27:34Z")

</div>

ive used squash to make all my images the same size and dpi etc and they all show ok in the gallery but is there a way to make them bigger…in my published site as I drag the screen in they get a little bigger then gradually smaller again but I would like em a little bigger to start with n the widest page…I can make em smaller but never bigger  
TIA

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [April 16, 2025, 7:34am UTC](https://forums.realmacsoftware.com/t/gallery-image-question/47178/2 "2025-04-16T07:34:01Z")

</div>

The Gallery ensures that images are displayed as large as possible while maintaining their original aspect ratio and adapting to the viewport size - so that no part of the image is cropped.

It also adds a small amount of padding around the images to make sure they don’t overlap with the navigation or close buttons.

So your images are being shown at the largest size possible within those three constraints. Hope that helps! 🙂

---

<div class="post-metadata">

**Author:** ![Godber](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/godber/32/26521_2.png) [@Godber](https://forums.realmacsoftware.com/u/Godber)\
**Post date:** [April 16, 2025, 7:40am UTC](https://forums.realmacsoftware.com/t/gallery-image-question/47178/3 "2025-04-16T07:40:54Z")

</div>

thanks but yes and no…the images get bigger as I drag the side of the browser in and as I get to the smaller size the buttons DO overlap the image.as seen here,  
I guess its a browser thing but maybe the spacing on the widest breakpoint is to much?

 ![Screenshot 2025-04-16 at 8.38.43 am](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/1/2/1222ce23b1ac9c8bc493d70b5298af53db62395c.jpeg)  
 ![Screenshot 2025-04-16 at 8.38.58 am](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/4/7/47491cdce4a4241633f3018ce2517dd14d5d8069.jpeg)  
 ![Screenshot 2025-04-16 at 8.39.23 am](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/0/4/04b94e28d47f85e444f1f02edb5ea650b48e7901.jpeg)

---

<div class="post-metadata">

**Author:** ![upssjw](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/upssjw/32/26063_2.png) [@upssjw](https://forums.realmacsoftware.com/u/upssjw)\
**Post date:** [April 16, 2025, 8:08am UTC](https://forums.realmacsoftware.com/t/gallery-image-question/47178/4 "2025-04-16T08:08:15Z")

</div>

gallery changes as I change screen size

---

<div class="post-metadata">

**Author:** ![Godber](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/godber/32/26521_2.png) [@Godber](https://forums.realmacsoftware.com/u/Godber)\
**Post date:** [April 16, 2025, 8:14am UTC](https://forums.realmacsoftware.com/t/gallery-image-question/47178/5 "2025-04-16T08:14:59Z")

</div>

so does mine but look at the images…starts of at a size gets bigger then smaller . and at the widest break point even on your video try and make em slightly bigger…you cant I have 3 copies of the same image all different sizes but all appear as 1 size in the browser..

> **[Shop](https://morris56.uk/page-4/)**

---

<div class="post-metadata">

**Author:** ![upssjw](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/upssjw/32/26063_2.png) [@upssjw](https://forums.realmacsoftware.com/u/upssjw)\
**Post date:** [April 16, 2025, 8:18am UTC](https://forums.realmacsoftware.com/t/gallery-image-question/47178/6 "2025-04-16T08:18:32Z")

</div>

same for me

---

<div class="post-metadata">

**Author:** ![Godber](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/godber/32/26521_2.png) [@Godber](https://forums.realmacsoftware.com/u/Godber)\
**Post date:** [April 16, 2025, 8:20am UTC](https://forums.realmacsoftware.com/t/gallery-image-question/47178/7 "2025-04-16T08:20:11Z")

</div>

so why cant the bigger size be the default…thats what id prefer

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [April 16, 2025, 8:23am UTC](https://forums.realmacsoftware.com/t/gallery-image-question/47178/8 "2025-04-16T08:23:52Z")

</div>

In the last screenshot the image can’t get any bigger due to it needing to maintain the original image aspect ratio whilst also adapting to the viewport size.

---

<div class="post-metadata">

**Author:** ![upssjw](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/upssjw/32/26063_2.png) [@upssjw](https://forums.realmacsoftware.com/u/upssjw)\
**Post date:** [April 16, 2025, 8:24am UTC](https://forums.realmacsoftware.com/t/gallery-image-question/47178/9 "2025-04-16T08:24:09Z")

</div>

not sure, Elements only works upto 2xl I believe?, cant define bigger screen sizes, you can in Tailwind, I am probably wrong here, perhaps image is set for max 2xl, or you may be talking about something else, then I have no idea  
2xl: 1536px

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [April 16, 2025, 8:28am UTC](https://forums.realmacsoftware.com/t/gallery-image-question/47178/10 "2025-04-16T08:28:06Z")

</div>

I have actually just checked the code again, and I think I can improve on one thing that could keep the image at a larger size.

I won’t go in to code details, as I’m not sure it’s relevant for this thread, but I’ll see if we can get an update in to the next beta that should at least improve the sizing at certain screen sizes 🙂

---

<div class="post-metadata">

**Author:** ![Godber](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/godber/32/26521_2.png) [@Godber](https://forums.realmacsoftware.com/u/Godber)\
**Post date:** [April 16, 2025, 8:29am UTC](https://forums.realmacsoftware.com/t/gallery-image-question/47178/11 "2025-04-16T08:29:08Z")

</div>

not trying to define bigger screen…just needs less spacing round the gallery items I think. doesnt even need scroll arrows on a mobile as most people scroll with their fingers.

---

<div class="post-metadata">

**Author:** ![Godber](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/godber/32/26521_2.png) [@Godber](https://forums.realmacsoftware.com/u/Godber)\
**Post date:** [April 16, 2025, 8:33am UTC](https://forums.realmacsoftware.com/t/gallery-image-question/47178/12 "2025-04-16T08:33:54Z")

</div>

cheers ben for even looking at it.

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [April 22, 2025, 12:38pm UTC](https://forums.realmacsoftware.com/t/gallery-image-question/47178/13 "2025-04-22T12:38:23Z")

</div>

Just a quick update: this one has been fixed and will be included in an upcoming beta 🙂

---

<div class="post-metadata">

**Author:** ![Godber](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/godber/32/26521_2.png) [@Godber](https://forums.realmacsoftware.com/u/Godber)\
**Post date:** [April 22, 2025, 12:38pm UTC](https://forums.realmacsoftware.com/t/gallery-image-question/47178/14 "2025-04-22T12:38:59Z")

</div>

brilliant  
thanks
