Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Display animated gif #202

Closed
mejo- opened this issue Jul 22, 2021 · 6 comments
Closed

Display animated gif #202

mejo- opened this issue Jul 22, 2021 · 6 comments
Milestone

Comments

@mejo-
Copy link
Member

mejo- commented Jul 22, 2021

In GitLab by @Hanskes on Jul 22, 2021, 09:39

We use a wordpress site next to our nextcloud for the company documentation. We would love to use collective for this purpose. However, there are a few things that we use a lot that I don't think work (yet) within collective. For example, we often use animated gif files to make certain actions transparent and we use interactive diagrams from draw.oi to show processes, which are placed as html fields in articles.

planning

In other words, is it or will it be possible in the near future to insert html blocks and watch animated gif files directly?

@mejo-
Copy link
Member Author

mejo- commented Jul 26, 2021

In GitLab by @azul on Jul 26, 2021, 10:29

Hello @Hanskes,

Thanks a lot for your feedback. I'm looking into animated gif support in the text app and collectives. I hope we will be able to ship this in the next versions.

Inserting html code directly sounds like a lot of complexity to handle - both in terms of the code and the user interface. I don't see any way how we could do that with our current approach. For draw.io diagrams i suggest exporting them to svg, png or jpeg and then adding the resulting image to the page.

I'll rename this issue and focus on the gif part for now. If you'd like to continue discussing the draw.io aspect please open another issue for it.

@mejo-
Copy link
Member Author

mejo- commented Jul 26, 2021

In GitLab by @Hanskes on Jul 26, 2021, 13:48

Thanks Azul! The disadvantage of a static image is that the tooltips of the diagram do not work. Would it be possible to ad a link to an image, so that by clicking on the image you are redirected to another page or document?

@mejo-
Copy link
Member Author

mejo- commented Jul 30, 2021

In GitLab by @azul on Jul 30, 2021, 16:07

nextcloud/text#1800 is a first attempt at rendering animated gifs in the editor.

@mejo-
Copy link
Member Author

mejo- commented Jul 30, 2021

In GitLab by @azul on Jul 30, 2021, 16:57

@Hanskes I tried the following:

  • Insert an image into a page
  • Select the image and it's title below - worked best by dragging it a bit and letting go
  • click the Add Link in the bubble menu.

That linked the image to a file or even a url.

link-image

@mejo-
Copy link
Member Author

mejo- commented Jul 30, 2021

In GitLab by @azul on Jul 30, 2021, 17:03

!354 Fixes the display of animated gifs in the page read only view. For the editor we'll have to wait for the next text release and nextcloud/text#1800.

@mejo-
Copy link
Member Author

mejo- commented Aug 2, 2021

In GitLab by @Hanskes on Aug 2, 2021, 11:12

@azul Linking to an external website works fine. When I link to a local file nothing happens.

@mejo- mejo- closed this as completed Dec 13, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant