# Next image button preview is not working in nested folders when shared as public share

**URL:** <https://help.nextcloud.com/t/next-image-button-preview-is-not-working-in-nested-folders-when-shared-as-public-share/233250>\
**Category:** ℹ️ Support\
**Tags:** github\_issue\_exists, nc31, aio\
**Created:** [September 30, 2025, 5:48pm UTC](https://help.nextcloud.com/t/next-image-button-preview-is-not-working-in-nested-folders-when-shared-as-public-share/233250 "2025-09-30T17:48:39Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![a.minaiev](https://help.nextcloud.com/letter_avatar/a.minaiev/32/5_5575768a8748004e209b776fc1b2916d.png) [@a.minaiev](https://help.nextcloud.com/u/a.minaiev)\
**Post date:** [September 30, 2025, 5:48pm UTC](https://help.nextcloud.com/t/next-image-button-preview-is-not-working-in-nested-folders-when-shared-as-public-share/233250/1 "2025-09-30T17:48:40Z")

</div>

Next button (in images preview) is not working in nested folders with images in carousel when shared as public share but works when user opens after login  
Also, it works in flat shared folders

**AIO version 31.0.9**

Is it expected or bug?

Such errors in console

> Viewer.vue:681 Could not open file /Comfy/248х440\_comfy.jpg TypeError: Cannot read properties of undefined (reading ‘filename’)  
> at Viewer.vue:800:1  
> at Array.findIndex ()  
> at s.openFileInfo (Viewer.vue:800:1)  
> at async s.openFile (Viewer.vue:670:1)  
> vue.runtime.esm.js:3065 TypeError: Cannot read properties of undefined (reading ‘mime’)  
> at s.openFileFromList (Viewer.vue:818:1)  
> at s.next (Viewer.vue:1085:1)

---

<div class="post-metadata">

**Author:** ![TSilvo](https://help.nextcloud.com/user_avatar/help.nextcloud.com/tsilvo/32/66561_2.png) [@TSilvo](https://help.nextcloud.com/u/TSilvo)\
**Post date:** [October 10, 2025, 5:05am UTC](https://help.nextcloud.com/t/next-image-button-preview-is-not-working-in-nested-folders-when-shared-as-public-share/233250/2 "2025-10-10T05:05:41Z")

</div>

Hi, I have same problem

---

<div class="post-metadata">

**Author:** ![a.minaiev](https://help.nextcloud.com/letter_avatar/a.minaiev/32/5_5575768a8748004e209b776fc1b2916d.png) [@a.minaiev](https://help.nextcloud.com/u/a.minaiev)\
**Post date:** [October 22, 2025, 1:44pm UTC](https://help.nextcloud.com/t/next-image-button-preview-is-not-working-in-nested-folders-when-shared-as-public-share/233250/3 "2025-10-22T13:44:07Z")

</div>

Hello, have you found any solution?

---

<div class="post-metadata">

**Author:** ![TSilvo](https://help.nextcloud.com/user_avatar/help.nextcloud.com/tsilvo/32/66561_2.png) [@TSilvo](https://help.nextcloud.com/u/TSilvo)\
**Post date:** [October 22, 2025, 5:05pm UTC](https://help.nextcloud.com/t/next-image-button-preview-is-not-working-in-nested-folders-when-shared-as-public-share/233250/4 "2025-10-22T17:05:28Z")

</div>

Hi, no, still not working.

It’s Bug. [https://github.com/nextcloud/server/issues/55721](https://github.com/nextcloud/server/issues/55721)

---

<div class="post-metadata">

**Author:** ![Tareon](https://help.nextcloud.com/letter_avatar/tareon/32/5_5575768a8748004e209b776fc1b2916d.png) [@Tareon](https://help.nextcloud.com/u/Tareon)\
**Post date:** [November 12, 2025, 4:28pm UTC](https://help.nextcloud.com/t/next-image-button-preview-is-not-working-in-nested-folders-when-shared-as-public-share/233250/5 "2025-11-12T16:28:18Z")

</div>

Hello, I have the same problem. Can you tell me what to do?

Viewer.vue:681 Could not open file /test/test.jpg TypeError: Cannot read properties of undefined (reading ‘filename’)

---

<div class="post-metadata">

**Author:** ![JimmyKater](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jimmykater/32/4850_2.png) [@JimmyKater](https://help.nextcloud.com/u/JimmyKater)\
**Post date:** [November 12, 2025, 4:32pm UTC](https://help.nextcloud.com/t/next-image-button-preview-is-not-working-in-nested-folders-when-shared-as-public-share/233250/6 "2025-11-12T16:32:56Z")

</div>

as there was a bug reported on Github there’s nothing we can do from our side.

so you need to wait for the next version of your server (whichever version that might be, you didn’t tell) to get that issue fixed

@Tareon

---

<div class="post-metadata">

**Author:** ![Tareon](https://help.nextcloud.com/letter_avatar/tareon/32/5_5575768a8748004e209b776fc1b2916d.png) [@Tareon](https://help.nextcloud.com/u/Tareon)\
**Post date:** [November 12, 2025, 4:36pm UTC](https://help.nextcloud.com/t/next-image-button-preview-is-not-working-in-nested-folders-when-shared-as-public-share/233250/7 "2025-11-12T16:36:08Z")

</div>

I updated to version 32.0.1 and this error appeared, and the photos on my phone also don’t open through the app. Is this related to the same error?

---

<div class="post-metadata">

**Author:** ![JimmyKater](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jimmykater/32/4850_2.png) [@JimmyKater](https://help.nextcloud.com/u/JimmyKater)\
**Post date:** [November 12, 2025, 4:42pm UTC](https://help.nextcloud.com/t/next-image-button-preview-is-not-working-in-nested-folders-when-shared-as-public-share/233250/8 "2025-11-12T16:42:14Z")

</div>

> [@Tareon](#):
>
> Is this related to the same error

maybe so. I dunno.

anyways: as already said before: you need to wait for x.0.2 to have that one fixed.. at least that’s what they say over there at that github-issue

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [November 20, 2025, 4:43pm UTC](https://help.nextcloud.com/t/next-image-button-preview-is-not-working-in-nested-folders-when-shared-as-public-share/233250/9 "2025-11-20T16:43:03Z")

</div>

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.
