Advanced search  

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

Pages: [1]   Go Down

Author Topic: .gif does't create thumb _images  (Read 14420 times)

0 Members and 1 Guest are viewing this topic.

wuguang

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
    • http://members.lycos.co.uk/wangguang/
.gif does't create thumb _images
« on: November 10, 2003, 01:08:48 pm »

I only have GD,but I want to use .gif.Maybe CPG does't create small images,only display.Thank you.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
.gif does't create thumb _images
« Reply #1 on: November 10, 2003, 02:00:56 pm »

GIF isn't supported by GD2 for legal reasons. Use Image Magick or gd1 (not recommended) if you must have gif support.
Better still: convert your GIFs to PNG (all modern browsers should have PNG-support, more or less).

GauGau
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
.gif does't create thumb _images
« Reply #2 on: November 10, 2003, 07:57:39 pm »

I would just add that GIF support will return to GD2 (and there will be real GIF support in IM) in late 2004.
Logged
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png)

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
.gif does't create thumb _images
« Reply #3 on: November 10, 2003, 09:04:58 pm »

...provided the unisys patent really runs out: I've already heard rumors that there are other parties who claim to have rights - as long as the issue isn't settled for good no freeware dev will take the risk to support gif if it's likely he's going to be sued.
Hopefully the number of installs of browsers without png support will have been reduced to nearly zero...

GauGau
Logged

wuguang

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
    • http://members.lycos.co.uk/wangguang/
I mean CPG does't create small images,and only display for .
« Reply #4 on: November 11, 2003, 09:03:15 am »

I mean CPG does't create small images,and only display for .gif.
Logged

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
.gif does't create thumb _images
« Reply #5 on: November 11, 2003, 09:13:30 am »

Yes, another point is that GD does read GIF files.. it just doesn't support creation/editing of GIF files.
Logged

gtroll

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 618
    • CPG-Nuke
.gif does't create thumb _images
« Reply #6 on: November 11, 2003, 09:23:01 am »

GIF images are not supported in coppermine at this time because the thumbnails can't be made using php.

Imagecreatefromgif is the stickler we could create jpgs or png from gif for the thumbs if we could just use that function.... is it in php5-dev? does anybody know? I didn't see it in their changlog.....

wuguang

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
    • http://members.lycos.co.uk/wangguang/
only display the bigger GIF images
« Reply #7 on: November 11, 2003, 11:36:11 am »

I mean,CPG doesn't creat thumbnails for GIF images,and only display the bigger GIF images. I think You can do that.
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
.gif does't create thumb _images
« Reply #8 on: November 11, 2003, 07:31:51 pm »

@wuguang: No, we could only convert the GIF to PNG and then create a thumbnail. You might as well do that with local computing resources.

@GauGau: The LZW patent is already dead here in the US; David Boutell and Image Magick claim they are waiting for it to expire in Europe. I haven't heard of anyone elese making claims, but it would not surprise me given the number of zombie companies in Silicon Valley. In the long run though, 17 years is 17 years, and you can't sue Father Time.
Logged
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png)

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
.gif does't create thumb _images
« Reply #9 on: November 11, 2003, 08:24:05 pm »

I don't see the point of claiming the compression rights on 7th July 2004 cos others has some benefits.

The size of a gif is not smaller then that from a png.
PNG also has transparency and other features (blending).
A jpg is smaller on large images then gif.

GIF is only usefull for animated pictures :roll: and GD doesn't support that, in my knowledge, so you will get a static thumbnail or even a half thumbnail depending on what the content of the first frame is.
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
.gif does't create thumb _images
« Reply #10 on: November 12, 2003, 03:10:56 am »

Yes, DJMaze, we could have done away with GIFs ages ago if a particular company in Redmond would put proper support for PNGs in its browser.  :D
Logged
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png)

bloodynipples

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 9
    • Emerald Bay Alumni
Re: .gif does't create thumb _images
« Reply #11 on: September 10, 2004, 11:55:03 pm »

So what is the decision?

Should we write a function that converts gif to png for processing with GD2?

Should we do nothing & force our users to convert gif to png files?

>>my users are idiots, I it's all I can do to get them to upload images the right size.

What about anamated gif files?

>> There aren't any mainstreem browsers that support MNG files.





Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: .gif does't create thumb _images
« Reply #12 on: September 11, 2004, 01:38:12 am »

If you want GIF support, search the boards.  I already posted a mod.
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
Pages: [1]   Go Up
 

Page created in 0.039 seconds with 20 queries.