File galley page view's maximum-width form produces broken results
- Status
- Closed
- Subject
- File galley page view's maximum-width form produces broken results
- Version
- 30.x
31.x (future, currently trunk)
master - Category
- Usability
- Feature
- File Gallery (elFinder or standard UI)
- Resolution status
- Fixed or Solved
- Submitted by
- Gary Cunningham-Lee
- Volunteered to solve
- Espoir Baraka
- Lastmod by
- luci
- Rating
- Description
On tiki-list_file_gallery.php?view=page, the file image initially appears with the dimensions of width=300px and max-width=100%. (I don't know how the image's proportions are kept correct as I can't find any height setting.) There is a form input to change the image maximum width, but when I enter, for example, 400 (the input has "pixels" appended so no need to input that), the page refreshes and the image isn't 400px wide, it's 100% wide and overflowing out of its containing div and into the right column of the page. And the maximum width form input contains the figure "4", not "400" as I input, so two indications here that the code to change the image size is broken.
The code on this and other gallery pages looks ancient and should be replaced with something modern. I understand there is an Avantech task to revamp the file galleries. I wonder if a short-term solution would be to at least do a mini-revamp of the image displays by switching to Bootstrap-type code.
If that mini-revamp isn't possible, maybe the maximum-width gadget should be commented out in the template. There's no point in having it there if it produces broken results, and there is a "Display" item in the popup if the user wants to see a larger version of the image.
- Solution
- https://gitlab.com/tikiwiki/tiki/-/merge_requests/10039
- Workaround
- Importance
- 7
- Easy to solve?
- 8
- Priority
- 56
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 8904
- Reviewed by Wishlist Team On
- 13 Jan 26 22:00 UTC
- Created
- Monday 12 January, 2026 09:32:22 UTC
by Gary Cunningham-Lee - LastModif
- Wednesday 29 April, 2026 15:41:00 UTC