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: Supported Image Formats  (Read 3770 times)

0 Members and 1 Guest are viewing this topic.

caliph

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Supported Image Formats
« on: February 23, 2005, 02:53:27 am »

I am trying to determine what image formats are supported by CPG. Obviously jpg works really well but I would like to store a few tiff images aswell. I tried uploading one to my album and I do not see a thumbnail of the actual image, but rather an icon for a 'file'.  Any help to get the actual thumbnails to appear would be greatly appreciated.
« Last Edit: June 30, 2005, 03:24:05 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Supported Image Formats
« Reply #1 on: February 23, 2005, 07:48:59 am »

depends on the image library you use: GD only has support for jpeg, png and (to some extent, depending on version) for gif. ImageMagick has support for more formats (at least in theory), but I haven't been testing in detail - at least this is what the filetypes table holds for images:
Quote
INSERT INTO CPG_filetypes VALUES ('jpg', 'image/jpg', 'image', '');
INSERT INTO CPG_filetypes VALUES ('jpeg', 'image/jpeg', 'image', '');
INSERT INTO CPG_filetypes VALUES ('jpe', 'image/jpg', 'image', '');
INSERT INTO CPG_filetypes VALUES ('gif', 'image/gif', 'image', '');
INSERT INTO CPG_filetypes VALUES ('png', 'image/png', 'image', '');
INSERT INTO CPG_filetypes VALUES ('bmp', 'image/bmp', 'image', '');
INSERT INTO CPG_filetypes VALUES ('jpc', 'image/jpc', 'image', '');
INSERT INTO CPG_filetypes VALUES ('jp2', 'image/jp2', 'image', '');
INSERT INTO CPG_filetypes VALUES ('jpx', 'image/jpx', 'image', '');
INSERT INTO CPG_filetypes VALUES ('jb2', 'image/jb2', 'image', '');
INSERT INTO CPG_filetypes VALUES ('swc', 'image/swc', 'image', '');
INSERT INTO CPG_filetypes VALUES ('iff', 'image/iff', 'image', '');
So, apparently: no tiff support. You shouldn't use tiff on thi internet anyway, since it's a resource eater, as it stores bitmaps uncompressed, resulting in huge files, which are hard to handle for webservers and image libraries anyway.

Joachim

Joachim
Logged

WebJorge

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Supported Image Formats
« Reply #2 on: June 17, 2005, 09:00:44 am »

I just installed the latest version of your photo gallery program, and on the Allowed image types, in the Config section, it says All for that field. But I want to specify that I only want to allowed jpg and png extions. Should I just type .jpg, .png in that field or do I have to do it in the php code!?

Also, in the same Config section, where it says All for...

Allowed movie types, Allowed audio types, and Allowed document types, I wanted to disable those three fields. Should I just type none in those fields or do I have to do it in the php code!?

~Jorge~
Logged

WebJorge

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Supported Image Formats
« Reply #3 on: June 19, 2005, 08:24:52 am »

HEY! CAN SOMEONE RESPONDED TO MY QUESTION AND GIVE ME SOME HELP OVER HERE!!!!!!!!

PLEASE!!!!!!
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Supported Image Formats
« Reply #4 on: June 19, 2005, 01:34:02 pm »

Thanks for shouting at me.  >:(  I just love that.  Rules

Have you tried searching the forums yet?  There are posts that talk about allowed file types - take a little time and look around.
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

WebJorge

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Supported Image Formats
« Reply #5 on: June 20, 2005, 06:31:37 am »

I didn't mean to be rude, but I have searched the board and found this discussion, but my question has nothing to do about which file types are allowed. If you or anybody else could please take their time to read my questions on my post and give me an answer or any kind of help at all, I would gladly be appreciated.

Thanks!
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Supported Image Formats
« Reply #6 on: June 20, 2005, 02:01:31 pm »

I did read your question.  The documentation covers allowed image/file/document types.  Have you read that yet?  Have you searched for "allowed image types" yet?

http://forum.coppermine-gallery.net/index.php?topic=18082.msg83820
http://coppermine.sourceforge.net/manual.php#config_picture_thumb_advanced
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

WebJorge

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Supported Image Formats
« Reply #7 on: June 21, 2005, 08:46:06 am »

Thanks a lot kegobeer, you where lot's of help to me!

Thanks again!

~Jorge~
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.