OFFIMG Gallery? Anyone?

Library of images to use as OFFIMG screens on the DM41X and DM42
Forum rules
Do you have a creative streak? Post your OFFIMG photos here.

Images MUST be in Windows-NT .bmp format at a resolution of 400x240 pixels and 1-bit colour depth or they will not be displayed by the DM42. Images that do not meet this requirement will be removed from the forum :)
User avatar
rudi
Posts: 413
Joined: Wed Nov 03, 2021 9:03 am
Location: Denmark
Contact:

OFFIMG Gallery? Anyone?

Post by rudi »

Anyone got the skills and time to put together some php code, that can crawl OFFIMG forum, all posts, finding all 1bpp BMP files with dim 400x240, and list them on one page, with url's to the posts containing the OFFIMG's? I could do it, but I do not have the time for such project for the time being.

Such a gallery here on the forum would be very nice, since it takes quite some time, to scan through all posts and all replies, searching for OFFIMG's.

I will be willing to donate a small ammount, say 10 bucks, to anyone who want to take on this task. If more would donate, perhaps this would motivate someone to do it ,-)
/Rudi

DM-42 (s/n 06999), HP-42S, HP-35s, HP-11c, HP-32SII (ex HP-41CV, ex HP-75C, ex HP-48G + a lot, really lot of a accessories)
Denmark
User avatar
sigma
Posts: 3
Joined: Wed Oct 18, 2023 4:08 am
Contact:

Re: OFFIMG Gallery? Anyone?

Post by sigma »

I don't know PHP, so this probably can't be part of the forum or anything, but I really like this idea of being able to view all the off-images posted here. So I made a web scraper and little website in a few hours. You can check out the website here: https://connorcode.com/r/offimg-gallery and the source code is available on GitHub if you are interested: https://github.com/Basicprogrammer10/offimg_gallery.

Image
User avatar
dalremnei
Posts: 43
Joined: Thu Dec 10, 2020 11:32 am
Location: Scotland

Re: OFFIMG Gallery? Anyone?

Post by dalremnei »

sigma wrote:
Thu Oct 19, 2023 4:49 am
I don't know PHP, so this probably can't be part of the forum or anything, but I really like this idea of being able to view all the off-images posted here. So I made a web scraper and little website in a few hours. You can check out the website here: https://connorcode.com/r/offimg-gallery and the source code is available on GitHub if you are interested: https://github.com/Basicprogrammer10/offimg_gallery.

Image
Thank you this is really helpful! :D
SwissMicros DM42, DM16L, HP 12c Platinum, Prime G2 CASIO fx-9750gii, fx-991ex classwiz, fx-CG50, TEXET fx1500, TI nspire CX II-T
User avatar
Walter
Posts: 3070
Joined: Tue May 02, 2017 11:13 am
Location: On a mission close to DRS, Germany

Re: OFFIMG Gallery? Anyone?

Post by Walter »

Thanks for compiling! Is this collection updated automatically?
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
User avatar
Jaymos
Posts: 1634
Joined: Sun Nov 04, 2018 7:03 pm
Location: Cape Town

Re: OFFIMG Gallery? Anyone?

Post by Jaymos »

sigma wrote:
Thu Oct 19, 2023 4:49 am
I don't know PHP, so this probably can't be part of the forum or anything, but I really like this idea of being able to view all the off-images posted here. So I made a web scraper and little website in a few hours. You can check out the website here: https://connorcode.com/r/offimg-gallery and the source code is available on GitHub if you are interested: https://github.com/Basicprogrammer10/offimg_gallery.

Image
Great idea,

I am sure in the beginning the formats were a problem on the forum and we used zips to bundle offimgs. Have you accounted for zip files posted, or links there-of ?
Jaco Mostert
Elec Eng, South Africa
https://47calc.com C47 (s/n 03818 & 06199), WP43 (0015). In box: HP42S, HP32Sii, WP34S&C, HP28C, HP35s, EL-506P, EL-W506, PB700; ex: FX702P, 11C, HP67 & HP85; iOS: 42s Byron, Free42+, WP31S/34S, HCalc.
User avatar
rudi
Posts: 413
Joined: Wed Nov 03, 2021 9:03 am
Location: Denmark
Contact:

Re: OFFIMG Gallery? Anyone?

Post by rudi »

Wau!!!
Nice work indeed @sigma!

Thanks a lot!
/Rudi

DM-42 (s/n 06999), HP-42S, HP-35s, HP-11c, HP-32SII (ex HP-41CV, ex HP-75C, ex HP-48G + a lot, really lot of a accessories)
Denmark
User avatar
sigma
Posts: 3
Joined: Wed Oct 18, 2023 4:08 am
Contact:

Re: OFFIMG Gallery? Anyone?

Post by sigma »

Walter wrote:
Thu Nov 02, 2023 7:55 pm
Thanks for compiling! Is this collection updated automatically?
Right now it doesn't update automatically. It makes a lot of requests to recurse every post in the board, and I didn't want to load the server with all that too frequently, especially with how infrequently off images are posted. I could just set up a cron job to re-run the scraper every so often. How frequently do you think it should update? Maybe monthly?
Last edited by sigma on Sat Nov 04, 2023 9:29 pm, edited 1 time in total.
User avatar
sigma
Posts: 3
Joined: Wed Oct 18, 2023 4:08 am
Contact:

Re: OFFIMG Gallery? Anyone?

Post by sigma »

Jaymos wrote:
Fri Nov 03, 2023 11:05 am
sigma wrote:
Thu Oct 19, 2023 4:49 am
I don't know PHP, so this probably can't be part of the forum or anything, but I really like this idea of being able to view all the off-images posted here. So I made a web scraper and little website in a few hours. You can check out the website here: https://connorcode.com/r/offimg-gallery and the source code is available on GitHub if you are interested: https://github.com/Basicprogrammer10/offimg_gallery.

Image
Great idea,

I am sure in the beginning the formats were a problem on the forum and we used zips to bundle offimgs. Have you accounted for zip files posted, or links there-of ?
I'm very new to this form and had no idea that there were some offimages in zips. I just updated my scraper to support links to zip files. The website has 167 more offimages now!
User avatar
Jaymos
Posts: 1634
Joined: Sun Nov 04, 2018 7:03 pm
Location: Cape Town

Re: OFFIMG Gallery? Anyone?

Post by Jaymos »

sigma wrote:
Fri Nov 03, 2023 10:57 pm

I'm very new to this form and had no idea that there were some offimages in zips. I just updated my scraper to support links to zip files. The website has 167 more offimages now!
Well done
Jaco Mostert
Elec Eng, South Africa
https://47calc.com C47 (s/n 03818 & 06199), WP43 (0015). In box: HP42S, HP32Sii, WP34S&C, HP28C, HP35s, EL-506P, EL-W506, PB700; ex: FX702P, 11C, HP67 & HP85; iOS: 42s Byron, Free42+, WP31S/34S, HCalc.
BruceH
Posts: 82
Joined: Sat May 06, 2017 2:39 am

Re: OFFIMG Gallery? Anyone?

Post by BruceH »

sigma wrote:
Fri Nov 03, 2023 6:07 pm
Walter wrote:
Thu Nov 02, 2023 7:55 pm
Thanks for compiling! Is this collection updated automatically?
Right now it doesn't update automatically. It makes a lot of requests to recuse every post in the board and I didn't want to load the server with all that too frequently, especially with how infrequently off images are posted. I could just set up a cron job to re-run the scraper every so often. How frequently do you think it should update? Maybe monthly?
Monthly sounds fine to me. Impatient people can look for themselves in the forum!
Post Reply