SMFHacks.com

SMF Gallery Pro => Support => Topic started by: Anmer on July 26, 2021, 10:31:17 am

Title: BMP File Thumbnails
Post by: Anmer on July 26, 2021, 10:31:17 am
I just installed SMF Gallery Pro 9.0beta2f, the version available to download after I bought a licence.

I've succesfully bulk imported some .bmp files but when I view the gallery, all the thumbnails show with missing image icons.

On viewing the files, the bmp shows correctly.

Is it possible to display a thumbnail preview for bmp files?

My SMF install:

Version Information:
Forum version: SMF 2.0.18 (more detailed)
Current SMF version: SMF 2.0.18
GD version: bundled (2.1.0 compatible)
Database Server: MariaDB
MySQL version: 10.3.30-MariaDB-log-cll-lve
PHP: 7.3.29
Server version: LiteSpeed
Title: Re: BMP File Thumbnails
Post by: SMFHacks on July 26, 2021, 10:36:52 pm
Hmm, I will do some tests and get back to you.

Does it work for you with jpegs and png files?
Title: Re: BMP File Thumbnails
Post by: SMFHacks on July 26, 2021, 10:47:26 pm
Confirmed issue. Looks like need to do a patch to SMF's resize option will work on that fix.
Title: Re: BMP File Thumbnails
Post by: Anmer on July 27, 2021, 12:54:57 am
Does it work for you with jpegs and png files?

It does but my (unusual) need is only to upload small bmp files, 85 (w) x20 (h) pixels.  It's an edge case requirement within the flight tracking "hobby".  Thousands of them!

Do you have a timeframe for the patch?  Just so I can manage the project going forward.
Title: Re: BMP File Thumbnails
Post by: SMFHacks on July 27, 2021, 07:46:35 am
Should have a patch out later today.
Title: Re: BMP File Thumbnails
Post by: Anmer on July 27, 2021, 07:54:25 am
That's really helpful and much appreciated.
Title: Re: BMP File Thumbnails
Post by: SMFHacks on July 27, 2021, 03:26:14 pm
Update posted
Download at https://www.smfhacks.com/index.php/topic,9539.0.html

For bmp thumbnail generation requires a full uninstall then install gain

9.0beta3 changes
!Fixed .bmp thumbnail generation
+Searching now allows three character searching instead of greater than three
Title: Re: BMP File Thumbnails
Post by: Anmer on July 28, 2021, 02:23:14 am
Thank you.  Downloaded and both bmp thumbnail displaying and searching on three characters work.

Excellent support, thank you so much.
Title: Re: BMP File Thumbnails
Post by: Anmer on August 11, 2021, 10:54:49 am
Today I released Gallery Pro on my forum and it's had a great reception.  Thanks you for the excellent Mod and Support.

Although downloading a file respects the original file name, right mouse clicking to "Save Image As" reverts to the anon name, such as 1-100821214305-1000.bmp.

Is there an option for "Save Image As" to offer the uploaded file name?
Title: Re: BMP File Thumbnails
Post by: SMFHacks on August 11, 2021, 11:20:22 am
The save as is not possible without a large performance hit or saving the files as the original filename
Title: Re: BMP File Thumbnails
Post by: Anmer on August 11, 2021, 11:25:42 am
Thanks, it's not a show stopper for me.  Member education should get around it.