-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Animated Gif preview not animated. Possible issues regarding url not including file extension #9857
Comments
@skjnldsv Didn't you also wanted to add a nice hash to the share URLs to represent the kind of file? |
@MorrisJobke that ring a bell yes, but I don't fully recall what was the whole point in there :p |
This has not yet been fixed? I personally upload many many gifs and also wan't to share them. It would be nice, if shared gifs would finally be animated and also embedable. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@jearton no eta at the moment :) |
This comment has been minimized.
This comment has been minimized.
When this issue is solved, will the animated gifs will work automatically? |
It's been over a year, so I thought I would put a little status update in here: This is in regards to Nextcloud 17.0.2 Non-preview/ non-direct link animated .gif files show the animation and transparency, but the direct-link version still only shows the first frame without transparency. If you embed the direct-link preview it WILL show transparency, but it will only show the first frame of the animation. (weird) If you embed the normal, non-direct/ non-preview link, it will act like you're linking to a file and not an image. Here's an updated example: Here's the exact same file uploaded to my Nextcloud install: Here's the exact same file using the preview-url: Here's a screenshot (animated .gif) of how the links embed in Discord: This applies to like 99% of applications that involve embedding images via url. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Let me add a statement about this. If you want to embed the file directly, you want the straight-to-the-file link, aka https://cloud.chillstice.com/s/Afe6YEicx2cJxWi/download: |
For the issue about having the file name in the url instead of |
Discord user here still having issues with this. Trying to get any animated gif to preview the animated gif on discord, but no matter what version of the link I use ( |
@BetaLeaf no, we'll see with #5475 if discords likes it better |
Ever since you put the /download url in your comment, github has been embedding the image and every time someone visits this page it makes a request to my nextcloud instance. I'm getting so much traffic from this page lol. Oh, and it still doesn't work with some apps like discord. |
lol having the same issue still |
Still same issue, has not been fixed yet |
Also having this issue, /download and /preview don't embed properly. |
-->
Steps to reproduce
Expected behaviour
The url should point directly to the animated .gif file including the extension so that it can be parsed by other programs and browsers properly. The .gif file should play the animation in browser and when embedded in other applications via the url.
Actual behaviour
The .gif file does not play the animation. The url does not have the file extension. When the /preview url is embedded in another application the .gif animation does not play. Some applications have a hard time parsing the url because it does not have the file extension.
Explaination
When creating share links with NextCloud 13.0.2 - by default - the link looks like this:
https://cloud.chillstice.com/s/HQTipEKtdcGskrM
(test file)/preview can be added to the end of the url to make the file display in a basic form. Just the file, no extra elements. This breaks .gif animations.
Perhaps it would be best to include an option that allows admins to toggle to a new type of share url.
For example:
https://cloud.chillstice.com/s/HQTipEKtdcGskrM.png
For sharing pictures via url online, this makes the url appear to be more trustworthy and gives an impression of what the url will link to before it is clicked. Also, some services parse the url, determine what it links to, and create previews. Some of these services expect a file extension in the url.
Server configuration
Operating system: Linux 3.10.0-714.10.2.lve1.4.79.el7.x86_64
Web server: Apache 2.4.33
Database: MySQL
PHP version: 7.2
Nextcloud version: 13.0.2
Updated from an older Nextcloud/ownCloud or fresh install: Fresh Install
Where did you install Nextcloud from: the website
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: nope
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Firefox Nightly 62.0a1 (2018-06-12) (64-bit)
Operating system: Windows 10 Pro (64-bit) Build 17137
The text was updated successfully, but these errors were encountered: