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: GD .BMP problems...  (Read 3513 times)

0 Members and 1 Guest are viewing this topic.

mlrtime99

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
GD .BMP problems...
« on: May 26, 2005, 10:13:27 pm »

le sigh..... well I did the gif upgrade as posted elsewhere on this site so I can now display gif's BUTTTT I'm still having no luck with bmp's which should (from all of the GD info I've read) work fine.  I am however still running CPG 1.3.2 so I am about to upgrade but I thought I'd throw this problem out there for you guys to mull over while I upgrade.

I am running gd 2.0.28 compatible, as seen here > http://benmiller.servebeer.com/test/php.php

And as stated CPG 1.3.2, go ahead and try uploading .bmp if that helps.... let me know if anyone has any suggestions.
« Last Edit: May 30, 2005, 07:58:34 am by GauGau »
Logged

mlrtime99

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: GD .BMP problems...
« Reply #1 on: May 26, 2005, 11:09:06 pm »

*UPDATE* wellll upgrade to 1.3.3 didn't do anything... time to update php
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: GD .BMP problems...
« Reply #2 on: May 27, 2005, 02:46:13 am »

GD doesn't support BMP formats, that's why it doesn't work.  Upgrading to the latest PHP is always a good thing, but it still won't solve this issue.
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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: GD .BMP problems...
« Reply #3 on: May 27, 2005, 03:02:38 pm »

to add to what kegobeer says: despite everything that you might read elsewhere, GD can only work with jpeg, png and gif. If you need other file formats (like BMP), you'll have to use ImageMagick instead (which doesn't come with many shared hosting plans. I recommend not allowing bmp in the first place, as they're not suitable for web use anyway and a huge waste of bandwidth and resources.
Logged

mlrtime99

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: GD .BMP problems...
« Reply #4 on: May 27, 2005, 07:34:11 pm »

ya I assumed that's what the problem was even though on the GD site it says it supports WBMP.. switching to imagemagick
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: GD .BMP problems...
« Reply #5 on: May 27, 2005, 07:39:10 pm »

WBMP is not BMP.

WBMP = Wireless Bit Map, part of the Wireless Application Protocol
BMP = Bit Mapped Graphics format in the Windows environment
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

mlrtime99

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: GD .BMP problems...
« Reply #6 on: May 28, 2005, 04:01:54 pm »

ahhhhsoooooo, and this is why I'd be a network engineer and not an apps guy ;) I have installed ImageMagick though and specified what I thought was the directory of "convert.exe" no luck yet... time to tinker
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: GD .BMP problems...
« Reply #7 on: May 30, 2005, 07:58:18 am »

make sure that you have set permisions on the ImageMagick folder accordingly, and if you're on Windows (you seem to be), make sure your ImageMagick path doesn't contain spaces. For details, post a new thread, as this one deals with GD and therefor will be closed.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 15 queries.