# Increasing number of images in the Koenig gallery component

**URL:** <https://forum.ghost.org/t/increasing-number-of-images-in-the-koenig-gallery-component/54071>\
**Category:** Self-hosting\
**Created:** [January 6, 2025, 6:06pm UTC](https://forum.ghost.org/t/increasing-number-of-images-in-the-koenig-gallery-component/54071 "2025-01-06T18:06:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hnarayanan](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/hnarayanan/32/19009_2.png) [@hnarayanan](https://forum.ghost.org/u/hnarayanan)\
**Post date:** [January 6, 2025, 6:06pm UTC](https://forum.ghost.org/t/increasing-number-of-images-in-the-koenig-gallery-component/54071/1 "2025-01-06T18:06:07Z")

</div>

I am running the latest version of Ghost on my self-hosted personal blog. I use it primarily to share photos with family.

As I do this, I frequently run into the 9 photo limit on the Koenig gallery component. I sometimes get away with more than one gallery, but in general I do not wish to do this as it arbitrarily breaks up the story.

I’ve poked into the source code a little and [see where it seems to be set](https://github.com/TryGhost/Koenig/blob/main/packages/koenig-lexical/src/hooks/useGalleryReorder.js#L6).

Do you see any drawback in me significantly increasing this number (e.g. to 81)? I understand it must’ve been set initially with some bandwidth or performance considerations in mind. Also, there might be some need for it to be a multiple of 3 (or similar going on) because of how it tries to show 3 images per line.

Please let me know if you think this is a really bad idea. Already I can see I am now going to have to maintain my own built version of Koenig and manually update it alongside standard Ghost updates.
