Ask Your Question

Animated GIFS don't work after HTML export, work arounds? [closed]

asked 2013-06-06 04:32:36 +0200

libratus gravatar image

updated 2015-11-02 18:29:31 +0200

Alex Kemp gravatar image

I have animated GIFs in my Impress document.

The animations are lost when exporting to HTML. (Yes, even if I specify "GIF" in the HTML Export "Save graphics as".)

Curiously GIF animations are shown fine on screen in LO 4.0, even in editing mode (more than Powerpoint manages...).

How do I circumvent this problem? The conversion is otherwise pretty good but this is a "show stopper" literally!!!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-11-02 18:29:54.661344


@oweng: thanks, I tried XHTML as you suggested but it looses formatting and does not provide a slide viewer experience. @sbloom85: yeah, I could fiddle with the produced HTML. Probably I should just bite the bullet and work directly in html/ jquery framework.

libratus gravatar imagelibratus ( 2013-06-06 15:02:42 +0200 )edit

Yeah, this is true (about the format) they are different approaches to presenting the content. That is the best solution I can think of though short of scripting something (as you indicate).

oweng gravatar imageoweng ( 2013-06-06 15:56:36 +0200 )edit

4 Answers

Sort by » oldest newest most voted

answered 2013-06-06 05:00:41 +0200

oweng gravatar image

updated 2013-06-17 04:15:21 +0200

It sounds to me like you are using the "HTML Document (Impress)" file format when exporting. This method exports each entire slide as a graphic, thus any animations are going to be lost. The "XHTML" file format simply exports a webpage with the slide objects embedded as-is i.e., any animations are maintained.

In order to obtain the type of behaviour you require, you are probably going to need to file an enhancement request. Please provide as much information as possible. Don't forget to mark your bug as an 'enhancement'. The QA team will be happy to help you triage your feature request in the bugtracker.

Please post a link to any bugs you file in a comment below using the format "fdo#123456".


edit flag offensive delete link more

answered 2013-06-16 14:16:46 +0200

m.a.riosv gravatar image

I have done a try with a sample gif, exporting as XHML as Oweng have explain, and seems works. (Menu/File/Export - select type XHTML).

LibreOffice Version;O=D

edit flag offensive delete link more

answered 2013-06-16 13:42:53 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

So, the answer is that there is really no way of circumventing this problem without editing the produced HTML code -- way above normal user skill level. I should file it as a bug report I guess.

edit flag offensive delete link more


I have updated my answer to include enhancement request information. I think this is likely the only way. Embedding an animated GIF within another graphic would seem to be the functionality you require. I imagine this would be done by: a) resizing the canvas of the animated GIF; b) placing a copy of the surrounding slide content on each frame of the newly expanded GIF (how to do this?); c) re-save the newly expanded GIF as the animated thumbnail slide image.

oweng gravatar imageoweng ( 2013-06-17 04:21:30 +0200 )edit

answered 2013-06-06 05:28:06 +0200

sbloom85 gravatar image

Use your operating system's text editor (HTML knowledge required) or go with an open source WYSIWYG web editor.

edit flag offensive delete link more

Question Tools


Asked: 2013-06-06 04:32:36 +0200

Seen: 1,305 times

Last updated: Jun 17 '13