I’ve been thinking about setting up a image grid similar to milliondollarhomepage for a small domestic hobby idea , it would be dynamic. The grid would be around 500×500, I am wondering the best way to code this up, It can’t be slow.
I am thinking it will work like this:
- Users choose their place on the grid and upload their image.
- The image is stored in the DB in a image type column
- On rendering the page to the public,
.NETcycles through all the uploaded images from the DB and dynamically creates the image based on each DB rows data & stored place in the square
The thing is I am not sure if this is a silly way to do it?
What do you guys think?
Thanks!
You’re better off just recreating the image whenever somebody uploads a change. Assuming there will be far more visitors than contributors it would be wasteful to recreate the image for every request.