Help to program thumbnail index html template

If you made a template for printing or HTML export, you can offer it to the others here. You can also ask here for help about these templates
Post Reply
enriquevagu
Posts: 7
Joined: 2005-03-29 21:45:39

Help to program thumbnail index html template

Post by enriquevagu »

Hi everyone!

I would like to make the following template:

Full: A table containing thumbnails of the poster of the movies (with a reasonable size, so that it can be clearly seen) and the title below it. Both of them are links to the individual movie.

Individual: The whole data for the movie.

I think that this is interesting, as the poster is the fastest way to see and select movies, and I haven't still found this in any other script. I would like to use a batch-converter image program (such as Irfanview) to generate the thumbnails of the main page.

My problem is the following one: If I want to have, let's say, five images per row, I sould insert some code after the fifth movie reference to change to the next row of the table. This, as far as I know, is not possible with AMC, as it generates the same code for all the different movies, so that you can not specify some difference for each fifth movie. Thus, the only possibility I find is to have all the movies in the same row or the same collumn. But I think that the table-view would be much clear if the amount of movies is big... :(

I am sure that there should be some simple way to solve this problem, if it isn't already solved in a previous script. I would like to make a simple page, without the need to install a PHP server.... Can anyone help me?

Thanks in advance!!!
antp
Site Admin
Posts: 9630
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Using a <table> and rows/cells it will not be possible.
But if you put all your images as floating objets in CSS, and put them in a div with a fixed width, I think that it will wrap to a new line the images when they do not fit anymore in the width of the div.
enriquevagu
Posts: 7
Joined: 2005-03-29 21:45:39

Post by enriquevagu »

it works!!

I can't program CSS, but I have found some tutorial in the web, and it works. As soon as I program the template, I will post it to the forum.

Thanks!!!

enriquevagu
Post Reply