Thumbnail not created - bmp

Found a bug? Tell us!!
Post Reply
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Thumbnail not created - bmp

Post by Don Chambers »

s9y 1.3.1 - just added a bmp image to the media library and it did not create a thumbnail. Is this an oversight for bitmap file types, or deliberate?

File is here: http://www.optional-necessity.com/uploa ... eworks.bmp
=Don=
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Thumbnail not created - bmp

Post by garvinhicking »

Hi!

Converting files is dependent on your PHP GD lib or Imagemagick only. if it doesn't convert, it's not because of s9y but because your converter does not support that firmat.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

Thanks Garvin - I tried this image on 4 different servers - all using GD - and none of them created the thumbnail.... I can always convert it to jpg using photoshop, just thought I would ask. Seems wierd that it would not resize the image just because it is a bitmap.
=Don=
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Historically, bitmaps have little support on browsers/webpages. Since PHP was optimized for web-usage, als the GDLib did not really take bitmaps into consideration.

So, usually on the web, remember to not use bitmaps. They are too large and too unsupported.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply