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: Can .gifs be uploaded in Coppermine (v.1.3)  (Read 9394 times)

0 Members and 1 Guest are viewing this topic.

starberry

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Can .gifs be uploaded in Coppermine (v.1.3)
« on: October 30, 2004, 10:53:07 am »

Hi, sorry if this has been answered before (I have read the rules and looked at several topics, but as I am new didn't especially know what I was looking for), but I have .gifs that I want to upload and always get this message:

Error Report
The following uploads encountered errors: 
URI/URL Uploads: 
File Name/URL Error Message
1. [my url here]/HappyHalloweenNicki.gif Not a GD extension.

It happens with every .gif and I wondered whether there was a way I could rectify this, or whether .gifs just don't work.

Thanks for any time spent in replying,

- Nicki
« Last Edit: October 31, 2004, 09:38:13 am by GauGau »
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Can .gifs be uploaded in Coppermine (v.1.3)
« Reply #1 on: October 30, 2004, 03:15:52 pm »

Have you read the documentation that comes with Coppermine yet?  They explain what formats Coppermine supports (in section Accepted file extensions for uploaded pictures).
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

starberry

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Can .gifs be uploaded in Coppermine (v.1.3)
« Reply #2 on: October 30, 2004, 10:18:15 pm »

I did not install Coppermine, so I haven't got the files, will ask the person who did though for them. Thanks for your help :)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Can .gifs be uploaded in Coppermine (v.1.3)
« Reply #3 on: October 31, 2004, 07:37:59 am »

you can look this up without downloading the coppermine package, using the "documentation" link at the top of this screen.

Joachim
Logged

starberry

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Can .gifs be uploaded in Coppermine (v.1.3)
« Reply #4 on: October 31, 2004, 09:30:25 am »

Oh, thanks a lot, sorry I am just new to Coppermine :)
Logged

Celtic

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 2
Re: Can .gifs be uploaded in Coppermine (v.1.3)
« Reply #5 on: November 06, 2004, 04:56:40 pm »

Have you read the documentation that comes with Coppermine yet?  They explain what formats Coppermine supports (in section Accepted file extensions for uploaded pictures).
Well I have read the documentation and still am not sure about the answer to this question - and it's the same question I have.

The documentation starts out saying that it only accepts JPG and PNG, but then a little later on says some of the file types that can be uploaded are BMP and TIF as well... so which is it? All I want to do is upload some GIFs but it seems as if that's not possible. Any one care to help me out if it is, or answer with a simple "No, GIFs are not allowed" if it isn't? Thanks!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Can .gifs be uploaded in Coppermine (v.1.3)
« Reply #6 on: November 06, 2004, 05:39:36 pm »

You can use the image file types that are supported by your image library - either GD or ImageMagick

  • GD1 supports jpeg, png and gif (rudimentary) - drawback: limited color depth
  • GD2 (versions 2.0.0 to 2.0.27) supports jpeg and png (for legal reasons no gif support)
  • GD2 (versions 2.0.28 or higher) comes with PHP4.3.9 or higher supports jpeg, png, gif (gif support has returned, as the patent has expired, although some changes in coppermine needed to make gif support work)
  • ImageMagick - supports jpeg, png, bmp, tif and others. Supports gif (without compression though, as the gif patent was on compressed gifs; results in ridiculously high file sizes for intermediate sized pics and thumbnails for GIFs, making gif unusable)
I hope this makes it clear: it's not up to coppermine to determine what image file types can be used, but up to the image library that exists on your server. In theory, you could use bmp and tif, but those formats are not fit for being published on the internet, as they are uncompressed, reulting in file sizes that are way to high for proper use on the internet.
None of the image libraries can deal with animated gifs properly, which is the main advantage of gifs (if you need transparency, you can easily convert your gifs to png). In fact the format gif should only exists for miniature graphics and navigation elements, but should not be used for actual larger images anyway.

Joachim
Logged

Celtic

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 2
Re: Can .gifs be uploaded in Coppermine (v.1.3)
« Reply #7 on: November 06, 2004, 05:53:01 pm »

The images I'm trying to upload are small little 50x50 animated GIF avatars.

All the other images I have uploaded I just converted to JPG, as it wasn't worth the hassle to try and figure out how to get GIFs to upload, but the animated avatars can't be converted so now I'm at a standstill and was wondering if there was anything I could do.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Can .gifs be uploaded in Coppermine (v.1.3)
« Reply #8 on: November 06, 2004, 07:21:46 pm »

you can set coppermine to allow the download of nearly every file format - you will only get thumbnails from those file types that coppermines "knows" and works with (as written above). Since none of the image libraries can deal with animated gifs anyway, why don't you just let users download the gifs and create custom thumbnails for the avatars? Sounds complicated? It'll get even easier if you package the gifs up (into zip files) for a start and then try to come up with a custom thumbnail (read that up in the documentation). Once you understood the concept of that, you could go even further and not zip the gifs up, but add them to the list of allowed file types (needs some fiddling with the database settings though).
If this all sounds too complicated for you, then you will have to live with what you've got: you can't have gif support "out of the box" on your server using coppermine. Sue unisys, blame the coppermine dev team for being stupid, but that's it.

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.