If you look at the big panel, it displays multiple boxes each containing images/boxes with different shapes and sizes. Now designing this won’t be an issue in terms of CSS, but trying to administer this in the back-end to update them if necessary seems to look quite a challenge…
Can anyone advise as to how i should go about doing this? The images needs to spread across the whole page like this:
Well basically there are 4 different types of boxes. Each have different shapes and sizes…
I was thinking of having a table with the following fields:
ID, image, description, link, type
So depending on which “type” the box is, the rows will contain information like so:
1, image1.jpg, NULL, abc.php, 1
1, image2.jpg, NULL, abc.php, 1
1, image3.jpg, NULL, abc.php, 2
1, image4.jpg, This is the description, NULL, 3
So you see in the image the first 3 boxes are just images, but the fourth box contains information (i.e. the big yellow one), which i would need to administer as i don’t want all images as it won’t be good for SEO.
If your groups of 4 small images or 2 small one wide/long were each to be solidified as a a single image, lets say 200px square, then this would be a whole lot easier.
But you are still going to be reliant upon letting HTML do its own thing, in reordering the boxes as the browser window changes depending on the user.
Given that the client is governing this, I can’t see a reason not to use Mason.
It might be worth testing Mason and seeing how it does not do what you want.
The BEST thing would be to have it randomized using RAND() i assume? making sure there are no white spaces in between so having all the images stuck to one another.
IF thats not really possible, we can forget about the random thing and just always have the same layout, and always have the boxes in the same place.
The layout will be elastic, as my client is using a 17inch screen whilst i have a 15, so i will need to have the ability to administer ALL of the images, text etc and just have them adding on at the end of fit in place somehow… On my screen it should sort of look like this:
Everything seems to be either 1 square (small image) 2 squares ( long and wide images) or 4 squares ( blocks).
I imagine that the juxtaposition of each box to its neighbour is deliberate, or it is supposed to be random?
If its random, then it might be possible to work out an algorithm, but I rather fear that the ( (blocks) of 4 square text are a) not images and b) not to be randomly placed.
Plus, is the page fixed width or is it supposed to be elastic?