Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Disable Automatic Thumbnailing of a certain format?  (Read 2957 times)

0 Members and 1 Guest are viewing this topic.

ProdigySim

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Disable Automatic Thumbnailing of a certain format?
« on: February 19, 2005, 04:30:54 am »

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.
« Last Edit: February 20, 2005, 08:06:40 pm by TranzNDance »
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Disable Automatic Thumbnailing of a certain format?
« Reply #1 on: February 19, 2005, 02:32:28 pm »

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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Disable Automatic Thumbnailing of a certain format?
« Reply #2 on: February 20, 2005, 01:21:10 am »

Great, you answered everything but my question.
(https://forum.coppermine-gallery.net/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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Disable Automatic Thumbnailing of a certain format?
« Reply #3 on: February 20, 2005, 11:12:09 am »

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

Change the entry for gif from this;

Quote
gif     image/gif     image

to something like this;

Quote
gif     image/gif     document

This will then use the 'file' generic thumbnail.
Logged
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

ProdigySim

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Disable Automatic Thumbnailing of a certain format?
« Reply #4 on: February 20, 2005, 07:52:32 pm »

Thanks!
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.