forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: neis on November 08, 2010, 05:29:17 pm

Title: Problem with gifs
Post by: neis on November 08, 2010, 05:29:17 pm
Hi,
When I upload photos with the .gif format it creates a thumbnail. That thumbnail it's not a static photo it is a .gif
So my question is: is there any way to upload a .gif photo and make a jpg thumbnail from it?

My website: http://gifs.bixsex.com (http://gifs.bixsex.com) WARNING: Adult Content
Title: Re: Problem with gifs
Post by: Αndré on November 08, 2010, 06:59:21 pm
My gallery creats unanimated thumbnails. Maybe it's because I'm using GD2? Are you using GD2 or ImageMagick for picture resizing?
Title: Re: Problem with gifs
Post by: neis on November 08, 2010, 08:12:21 pm
My gallery creats unanimated thumbnails. Maybe it's because I'm using GD2? Are you using GD2 or ImageMagick for picture resizing?

I'm using ImageMagick, but I thought GD2 didn't work with .gif, is that rigth?
Title: Re: Problem with gifs
Post by: Αndré on November 08, 2010, 08:15:22 pm
GD2 cannot handle animated gifs. I always uses the first frame and creates a new gif file. If you set your gallery in a way it never touches the original images but only has to create the thumbnails. That would be the easiest way without any code changes.
Title: Re: Problem with gifs
Post by: neis on November 08, 2010, 10:07:45 pm
GD2 cannot handle animated gifs. I always uses the first frame and creates a new gif file. If you set your gallery in a way it never touches the original images but only has to create the thumbnails. That would be the easiest way without any code changes.

Do you know how to do it? Is there any settings to do that?
Title: Re: Problem with gifs
Post by: Αndré on November 08, 2010, 10:47:33 pm
Yes: http://documentation.coppermine-gallery.net/en/configuration.htm#admin_picture_thumb_advanced_resize_method
Title: Re: Problem with gifs
Post by: neis on November 08, 2010, 11:59:51 pm
I read the documentation but it does not say how to do this:

If you set your gallery in a way it never touches the original images but only has to create the thumbnails. That would be the easiest way without any code changes.

Title: Re: Problem with gifs
Post by: Αndré on November 09, 2010, 09:50:09 am
Disable http://documentation.coppermine-gallery.net/en/configuration.htm#admin_picture_thumbnail_auto-resize and http://documentation.coppermine-gallery.net/en/configuration.htm#admin_picture_thumbnail_intermediate_toggle
Additionally you have to adjust http://documentation.coppermine-gallery.net/en/configuration.htm#admin_picture_thumbnail_max_upload_dimension to your needs.
Title: Re: Problem with gifs
Post by: neis on November 09, 2010, 11:32:13 am
Disable http://documentation.coppermine-gallery.net/en/configuration.htm#admin_picture_thumbnail_auto-resize and http://documentation.coppermine-gallery.net/en/configuration.htm#admin_picture_thumbnail_intermediate_toggle
Additionally you have to adjust http://documentation.coppermine-gallery.net/en/configuration.htm#admin_picture_thumbnail_max_upload_dimension to your needs.

Thank you very much!! It worked
Title: Re: Problem with gifs
Post by: Αndré on November 09, 2010, 11:39:34 am
Thank you very much!! It worked
Marking accordingly. In the future you can do this yourself as described here (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631).
Title: Re: Problem with gifs
Post by: neis on November 09, 2010, 11:48:15 am
Marking accordingly. In the future you can do this yourself as described here (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631).

Sorry, I was looking for that option but didnt find it.

I have a quick question. I there any way to water mark a .gif file??
Title: Re: Problem with gifs
Post by: Αndré on November 09, 2010, 12:42:37 pm
I have a quick question. I there any way to water mark a .gif file??
We have a "one question per thread rule". But afaik Coppermine isn't able to watermark animated gif files.