logo

dmpop

Aircraft photography, spaghetti code, half-baked thoughts

Guestbook Reads
Currently reading: Gli occhi di Venezia, Alessandro Barbero


Pellicola: Easter egg to rebuild tims

It would have made sense to implement Pellicola's first ever Easter egg during the Easter break, but the idea for it occurred to me only recently. Anyway, after a new photo has been uploaded to Pellicola, the application automatically generates a tim (tiny image aka thumbnail) for it when the photo is viewed for the first time.

However, viewing the photo before it has been fully uploaded results in a corrupted tim. Also, if you uploaded a new version of the photo, the old tim remains in place. In both situations, you'd want to rebuild the tim, and that's exactly what the Easter egg does. Append &t=1 to the URL of the currently viewed photo as follows:

https://hello.xyz/index.php?file=70686f746f732f3343363531392e6a7067&t=1

Press Enter to reload the page and rebuild the tim. Done!


Published: 2024-05-30Reads: 240
Back
dmpop

dmpop

Linux user, amateur photographer, aviation enthusiast, clueless developer of ADS-B station, Pellicola and Tinble, author of a bunch of books. I can mix a decent Negroni, too. You can reach me at me@dmpop.xyz