Actual Photos

Goal

The goal for today was comparatively extremely simple: make the app show actual pictures in the grid of 25 cells:

Grid of 25 photos

And clicking the cells should show the full preview:

Lighbox view of one of the 25 photos

Approach

The Perplexity.ai Pro came through big time this time, and without too many hiccups I got to:

  • Serving the photo thumbnails directly from the assets/ folder, just by resizing them to fill the cell square (this will have to be improved rather soon!).
  • Having a lightbox-style component vue-easy-lightbox that really delivered on its name this time (after the previous disappointment in the PrimeBlocks).
  • Overall just having this up and running in like 90 minutes total - including picking the 25 photos, which was probably the hardest part.

Check out the commit I guess, the change is really very small.

New problems introduced!

The fact that we don’t have any real thumbnails shown now means that anyone who visits the page now, even before clicking any of the cells, will have to load all the pictures in full. This would be very inefficient and, to the largest extent applicable in this context, also rude. It would also mean more data transfers from the future file storage, so, you know, let’s be frugal about this. So, onto an implicit TODO this goes.

The larger problem right now is that I don’t fully understand the code that I am taking from the LLM, trying out, fine-tuning (but again with the help of the AI), and then pushing to the repository. I mean, I understand the code, but I would not be able to write it on my own. It feels different from learning - even the fact that I progress rather fast and don’t get stuck too much means my brain has not much chance to burn anything in. This will get way better on the backend. But for the moment, I must think whether I am powering through to get to the product goals, or slowing down and actually learning.

Direction for the next time

Speaking of the product goals, it’s important to stay focused now. Looking at the current status of the page my mind starts wandering immediately:

  • Dark theme?
  • Mouse hover effect - gentle zoom in?
  • Header/footer?
  • Captions for the images?
  • (Well, solve the thumbnails, at least statically?)

But none of that is important. I have essentially reached the Milestone 2 and must start gearing towards having the pictures in S3 and a proper backend that will send the list of pictures over an API.

That’s for the next time!

2025

Upload works!

4 minute read

I re-did the attempts from the last time in a less ambitious way, leading paradoxically to a working upload mechanism that allows me to replace the images in...

What Now?

5 minute read

The time, energy and motivation I can muster for the project in the past weeks is dwindling, which is probably obvious also from the gap since the last blog ...

Vue.js Build System

3 minute read

Let’s face it, the CI/CD we set up last time was pretty lame, in that it did absolutely no building and just published a static HTML. So the goal today is to...

Toward Milestone 1

3 minute read

The goal today is to reach Milestone 1, in other words, have a trivial HTML file in my repository, and a hosting set up to receive it via a CI/CD process.

The blog is up!

4 minute read

As you can plainly see, the blog is available online on blog.twentyfive.tech! It’s been that way since yesterday, and it was mostly smooth sailing to get her...

Back to Top ↑

2024

AI

2 minute read

This blog & project x AI

The Problem

less than 1 minute read

A.k.a., what are we even trying to solve, and why?

About

less than 1 minute read

Welcome to this blog! It started out in December 2024 as a way to write technically about a pet project to sharpen some of my skills.

Back to Top ↑