I've been working with CoPilot all morning on some new amazing code. The app shutFUp has now become a template for any site, to create big beautiful slide shows of high quality images, in a low bandwidth way, with fades and continuous playback.

I used to have to include the exact names of each image including their path, that I wanted to use, inside the main web page. A real total non flexible pain.

Before that, I had to take all of the 3200x3200 images I created with openAI, convert them down in resolution to a usable size. In the process I was losing the deep amazing quality the AI provided.

Then, for each AI compressed generated name like QW9Y31fB.jpg, I had to rename it into something simple, like slide01.jpg. And then each name had to be typed into the code.

So I first asked Co this morning, how could I convert big images into smaller ones, without losing quality.

He recommended a Windows command line app install called magick, that I can run from the command line, and convert all of those big .jpg images, into the .webp format, which reduces size significantly with no loss of quality.

We got it working great and now I've got a new set of sweet images that need to go up onto the server, with the still stupid name.

So I told Co what I wanted and we modified the main app to get every image that's in a server directory, whatever the name, and skip all the inline code bullshit.

We also had to come up with a PHP program that sits inside the image directory and supplies a .json feed of all image file names, even if they were just generated and uploaded, back to my app, when it asks.

I know all that stuff, so Co and I worked together and came up with something very cool.

I can now add any number of big beautiful AI generated images immediately up into this directory, with no resizing, or renaming, or coding, and get higher quality images.

I just converted and uploaded all the new shutFUp images I created last night, and they slid right in.

In fact, I'm being totally entertained with the app open on my desktop, as I write this. Click the shot below to check out my new work.

I'll add a Space Bar pause function next...