Loading...
 
Skip to main content

gif images not properly handled in dev.t.o

Status
Open
Subject
gif images not properly handled in dev.t.o
Version
23.x
24.x
Category
  • Conflict of two features (each works well independently)
  • Consistency
  • Usability
  • Dogfood on a *.tiki.org site
  • Support request
Feature
File Gallery (elFinder or standard UI)
Resolution status
New
Submitted by
Xavier de Pedro
Keep informed
Marc Laporte
Lastmod by
Xavier de Pedro
Rating
(0)
Description

Uploading an animaged gif image file that shows a bug reproduced is not an easy task tin dev.t.o.
I had to do that because the record rtc feature is not usable yet, and I wanted to reproduce the issue visually. I did that in an animated gif. I edited the corresponding bug report, and uploaded the gif file throught the toolbar icon to "Choose or upload images".
I got the image uploaded (to the default location, I didn't change it, expecting "happy path"), but the wiki syntax automatically inserted seems to not be adapted to displaying gif images.
I recall that any plugin img param that attempts to resize the image converts it to png (or Tiki used to do so years ago), so that I removed the param to make a zoombox, I just left the param to indicate the fileId. But nothing was displayed in the parsed textarea of the tracker item once saved.

Similarly, going to the view file (icon shown from the since last visit module) showed nothing, which might trigger the falsse sensation that the file upload failed.
https://dev.tiki.org/file1?fileId=1562&view=page

But it didn't fail.
If you use the oldish syntax to display the image as an image, then it displays properly, as it can be reproduced here:
https://dev.tiki.org/item7795-Cannot-use-Record-RTC-page-self-refreshed-before-accepting-perm-to-record

Couldn't we get that plugin img when using fileId param to automati8cally display the gif image as image when the plugin notices that it's a gif image indeed?
Somehow...
HTH

Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7797
Created
Monday 02 August, 2021 16:41:47 UTC
by Xavier de Pedro
LastModif
Monday 02 August, 2021 16:41:47 UTC


Show PHP error messages