Disable Automatic Thumbnailing of a certain format? Disable Automatic Thumbnailing of a certain format?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Disable Automatic Thumbnailing of a certain format?

Started by ProdigySim, February 19, 2005, 04:30:54 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ProdigySim

GIF resizing/thumbnailing doesn't work very well, even though I'm using ImageMagick.
Is there any way I can create just a DEFAULT image to take place of the thumbnail, like the ones for movie files?

Thanks

EDIT: I was actually referring to animated gifs, but there's probably not a way to have it only not reisize those.

kegobeer

Animated GIFs can be resized, but they just don't animate.  Depending on the version of ImageMagick you are running, the quality may be better in a more recent version, but that's just a WAG.

GD v2.0.32 and higher supports writing animated GIF images, but I haven't experimented with it.  I don't know if there are unique commands required to check for an animated GIF and/or write one to disk.  There's a GIF mod posted that brings back GD/GIF support to Coppermine, and my resized images look pretty good.  If your have v2.0.28 or higher, you can install the mod and see if you get better results.

There are a number of issues when creating GIF images with GD (imagecreatetruecolor doesn't work with GIF images, etc), and they are addressed in the 1.4 version in development.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

ProdigySim

Great, you answered everything but my question.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fprodigysim.com%2Falbums%2Fwpw-20050218%2Fthumb_Smilebig.gif&hash=3dc0759186004b3f2c0cddb3287cdd78542d79a7)
The thumbnails animate, but they do it badly.
I want the thumbnails to NOT BE MADE AT ALL.
You told me ways I could get another application to resize them, and I don't really care about that.
I want what the topic says.
I want to Disable Automatic Thumbnailing of a certain format.
I want to disable automatic thumbnailing of gif files

Casper

Use your database tool, and browse to your filetypes table.

Change the entry for gif from this;

Quotegif     image/gif     image

to something like this;

Quotegif     image/gif     document

This will then use the 'file' generic thumbnail.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here