Author Topic: Not sure where to start...  (Read 1388 times)

barthold

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
    • View Profile
    • Email
Re: Not sure where to start...
« Reply #30 on: November 29, 2009, 12:51:13 PM »
Ok, I think I get what you are saying now. For example:  Uploading a 3kx2k image with a filesize of 3 Mb, while post_max_size is set to 2Mb and the Max Width and Max Height Quotas set to 4000 by 4000.  Because post_max_size isn't big enough the upload will hang.


Nao

  • Developer
  • Hero Member
  • *
  • Posts: 3623
  • Karma: 22
    • View Profile
    • NOISEN!
Re: Not sure where to start...
« Reply #31 on: November 29, 2009, 01:47:40 PM »
What I was saying was that, except I meant the quota filesize to be 4MB for instance. It will be accepted by SMG, but will be refused by PHP.
« Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)
Beta Tester & Translator for SMF,
Developer for Aeva Media and its Foxy! add-on.
No PM support! Or I'll eat you with salad and garlic sausage.

Mykal

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
    • View Profile
Re: Not sure where to start...
« Reply #32 on: November 29, 2009, 04:35:43 PM »
I havent tried uploading anything large yet.  I have one user that uploaded some large images and they uploaded as green blocks.  I asked him to try to upload it by itself to see if it did the same thing but he hasnt yet.

Nao

  • Developer
  • Hero Member
  • *
  • Posts: 3623
  • Karma: 22
    • View Profile
    • NOISEN!
Re: Not sure where to start...
« Reply #33 on: November 29, 2009, 06:18:28 PM »
Green blocks? Were these BMP files...?
« Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)
Beta Tester & Translator for SMF,
Developer for Aeva Media and its Foxy! add-on.
No PM support! Or I'll eat you with salad and garlic sausage.

Mykal

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
    • View Profile
Re: Not sure where to start...
« Reply #34 on: November 29, 2009, 07:07:25 PM »
LOL I didnt think to check that.  I just did and they were.

Nao

  • Developer
  • Hero Member
  • *
  • Posts: 3623
  • Karma: 22
    • View Profile
    • NOISEN!
Re: Not sure where to start...
« Reply #35 on: November 30, 2009, 04:18:43 AM »
Yeah, there's nothing surprising. GD2 doesn't support BMP files correctly. Some of them will go through, which is why it's officially accepted by SMG, but some of them won't. Integrating a third-party plugin to enable pixel-perfect import of BMP files can be done, it's in my to-do-list, but nothing urgent I'm afraid. Tell your users to convert BMP files to a better format. The best lossless format is PNG. It will divide their filesize by 2 to 5, guaranteed, with absolutely no visual loss.
« Everyone knows rock attained perfection in 1974. It's a scientific fact. » (Homer Simpson)
Beta Tester & Translator for SMF,
Developer for Aeva Media and its Foxy! add-on.
No PM support! Or I'll eat you with salad and garlic sausage.

Mykal

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
    • View Profile
Re: Not sure where to start...
« Reply #36 on: November 30, 2009, 08:12:46 AM »
Thanks for the tip on PNG's.  Good to know.