# Continuation of previous thread: Hugo +photoswipe needs an update

**URL:** <https://discourse.gohugo.io/t/continuation-of-previous-thread-hugo-photoswipe-needs-an-update/46568>\
**Category:** support\
**Created:** [October 7, 2023, 3:14pm UTC](https://discourse.gohugo.io/t/continuation-of-previous-thread-hugo-photoswipe-needs-an-update/46568 "2023-10-07T15:14:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gora](https://avatars.discourse-cdn.com/v4/letter/g/ba8739/32.png) [@gora](https://discourse.gohugo.io/u/gora)\
**Post date:** [October 7, 2023, 3:14pm UTC](https://discourse.gohugo.io/t/continuation-of-previous-thread-hugo-photoswipe-needs-an-update/46568/1 "2023-10-07T15:14:31Z")

</div>

Continuing the discussion from [Hugo+Ananke+PhotoSwipe](https://discourse.gohugo.io/t/hugo-ananke-photoswipe/36638):

this project needs and upgrade to use version 5 of photoswipe. and solve the 1 long standing issue that I am facing which is to use Hugo to product multiple responsive sizes and webp format and open the image` <a href="{{ .Permalink }}` to apropriate image size and supported image format.

Thanks

---

<div class="post-metadata">

**Author:** ![chrillek](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/chrillek/32/19797_2.png) [@chrillek](https://discourse.gohugo.io/u/chrillek)\
**Post date:** [October 7, 2023, 4:01pm UTC](https://discourse.gohugo.io/t/continuation-of-previous-thread-hugo-photoswipe-needs-an-update/46568/2 "2023-10-07T16:01:38Z")

</div>

The code is there. Why not modify it so that it does what you need?

---

<div class="post-metadata">

**Author:** ![gora](https://avatars.discourse-cdn.com/v4/letter/g/ba8739/32.png) [@gora](https://discourse.gohugo.io/u/gora)\
**Post date:** [October 7, 2023, 4:46pm UTC](https://discourse.gohugo.io/t/continuation-of-previous-thread-hugo-photoswipe-needs-an-update/46568/3 "2023-10-07T16:46:08Z")

</div>

???

where??? there is no code which make use of Hugo image processing and open the apropriate image in photoswipe they are al opening single image without the webp format or multiple sizes. only thumbnails are being resized.

But have not found a way to server responsive images in photswipe using Hugo image processing when gallery is opened.
