Member
Member
illspirit   2011-04-16, 06:43
#1

How can I make an animated gifs animated in image view?

Administrator
Administrator
acrylian   2011-04-16, 08:38
#2

You have to modify your theme to show the full iamge directly. All other images are processed via the GDlib which "kills" animated gifs somehow. If your server supports you may try Imagemagick instead (although I don't know if it preseverses animated gifs).

Member
Member
illspirit   2011-04-16, 20:00
#3

I am using Imagemagcik.

Do I have ta change something here in image.php?

`

Member
Member
illspirit   2011-04-17, 08:03
#4

Is there I way I can replace with ? Or something similar? Also I'd really want this to only work for GIF files... all other files can use default size...

Any help is appreciated.

Thanks!

Administrator
Administrator
acrylian   2011-04-17, 08:50
#5

Yes, please read the theming tutorial and visit the functions documentation.

Member
Member
illspirit   2011-04-17, 21:00
#6

I got something working... if anyone needs support for animated gif this is one work around.

In the template-functions.php I added:
function getAlName() { return getAlbumTitle(); }
In my template's image.php I replaced:
`

Member
Member
ayutheos   2013-12-17, 05:00
#7

I'm also interested in displaying animated gifs.

How do I modify the above code to display full animated gifs when tagged with 'animated' in image.php? I was thinking of putting the code in the gallery codeblocks.

Currently only colorbox slideshow shows the animated gifs. I would like to have the image page itself showing the original gif image.

Member
Member
sbillard   2013-12-17, 05:18
#8

The GD library does not process animated GIFs, so you have to have available and enabled the Imagick library and handler. If you have not option for selecting Imagick then your server does not have support for it.

Your other option is to load the images in the exact size that would be cached for the image page. Then the image will be copied rather than resized.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.