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: Working for 6 months now not  (Read 2951 times)

0 Members and 1 Guest are viewing this topic.

Stewwake

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Working for 6 months now not
« on: May 13, 2007, 01:34:29 pm »

Hi there hope you can help,
I have been through the reccommeded docs & checked permissions & set file uploads to 1.

I get the following error when trying to upload:

Critical error
The file 'albums/userpics/10015/wake1.bmp' can't be inserted in the album

The image you have uploaded is corrupted or can't be handled by the GD library

File: /home/www/wakeboar/wakeboarding-photos/db_input.php - Line: 402 



File sizes of, for example, 791kb wont upload, but very very small small files of say 5kb work fine.
I have asked the webhost if they have canged anything with GD but they said no. I tried using GD1 & imagemaick (path from webhost wont work with IM) but more errors.

Everything was working ok until now?
« Last Edit: May 14, 2007, 09:42:17 pm by Nibbler »
Logged

Stewwake

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Test account:
« Reply #1 on: May 13, 2007, 01:45:16 pm »

test account:

http://www.wakeboardinguk.co.uk/wakeboarding-photos/


user: test
pass: coppermine
Logged

Nibbler

  • Guest
Re: Working for 6 months now not
« Reply #2 on: May 13, 2007, 02:27:41 pm »

Works fine for me. If it's just that file then it probably is corrupted. Don't upload .bmp files to the web anyway - convert to jpg or png as appropriate.
Logged

Stewwake

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Working for 6 months now not
« Reply #3 on: May 13, 2007, 05:20:09 pm »

Yes seems to work fine when a jpg file, it seems users were trying to upload bmp's at the same time I came across the error - & it looks as though that is the problem,
Is there any plans for coppermine/gd to cope with bmp's in the furure?

Thanks for the help, much appreciated
Logged

Nibbler

  • Guest
Re: Working for 6 months now not
« Reply #4 on: May 13, 2007, 05:35:44 pm »

If you need BMP support try using imagemagick instead.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Working for 6 months now not
« Reply #5 on: May 14, 2007, 04:31:17 pm »

As Nibbler suggested: don't use BMPs on the internet. They are not suitable for use on the web. Imo you can ask from your users to understand that. Teach them to use the "save as..." dialog of MS Paint and save their pics as JPEGs instead of BMP.
Logged

Stewwake

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Working for 6 months now not
« Reply #6 on: May 14, 2007, 08:25:06 pm »

Hi Guys thanks for getting back - I think the problem is solved now..

I have made a note in the upload section to convert and BMPs to JPGs - seems to be working A OK!

Cheers  ;)
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.