A LIST Apart: For People Who Make Websites

No. 219

Discuss: Automatic Magazine Layout

Pages

« First  <  2 3 4

31 Thank you

I love the script! I was looking for an interesting way to put some photos on my site. I’ve modified the script slightly so that it picks images at random from a directory, and I modified image.php to use caching. I like it so much I’ve put it on the home page

posted at 05:00 pm on August 22, 2006 by Tom Brown

32 Constrain both by width and height?

I’ve found this very useful and i’d certainly never in a million years (with my single gcse in maths )have come up with the algebra for this myself. It’d be handy if it could be reversed so that one could specify the max height rather than the width, or possiblly both. I think the former could be achieved very easily if only i could get my head round the maths. it’s be a simple matter of reversing the formula, right?

Should have paid more attention in school. Algebra IS usefull, who knew it?

posted at 06:16 pm on September 20, 2006 by jamie thompson

33 Possible even in Classic ASP!

This script is great! So great that my own CMS had to have one… only it’s an ASP cms, and ASP 3.0 doesn’t have facilities to read/write image dimensions! Anyway, I collected a couple of scripts from third-parties, and here it is: a [url=“http://www.magic-cms.net/multimage_class.zip” title=“Download zipped multimage class – 8Kb”]fully working magazine layout in Classic ASP[/url] (ASP 3.0)!, under the form of a simple ASP class. It doesn’t include any “resize image” script, but this can easily be done with an external resize.PHP or .ASPX script.

posted at 04:50 pm on September 25, 2006 by Eugenio Zaffagnini

34 A Recursive Algorithm

Outstanding work; however, I wanted to suggest an even more general solution, capable of arranging arbitrarily many images, using recursion. Any possible arrangement can be derived from two basic layouts: vertical (v) and horizontal (h). For example, the layout you call “3a” could be achieved with h(h(i1, i2), i3). Similarly, “3b” is h(v(i1, i2), i3). “4a” could be derived a number of ways, one of them being h(h(i1, i2), h(i3, i4)).

The algorithm would randomly divide the set of images into smaller and smaller subsets, then work its way back up, applying one of the two layouts to the intermediate results. At each level, it could either choose the layout randomly, resulting in some interesting patterns, or using some aesthetic rules based on the portrait/landscape orientation of the subresults.

posted at 12:37 pm on September 30, 2006 by Joshua Bandur

35 Automatic Magazine Layout implementation

This is a wonderful, insightful and uplifting case of a revealing infrastructure Automatic Magazine Layout implementation. Keep up these useful pieces. Your help would be appreciated.
Thanks.

posted at 07:31 pm on November 15, 2006 by Alan Buses

Pages

« First  <  2 3 4

Discussion Closed

New comments are not being accepted, but you are welcome to explore what people said before we closed the door.

Got something to say?

Discuss this article. We reserve the right to delete flames, trolls, and wood nymphs.

Create a new account or sign in below if you’d like to leave a comment.

Remember me

Forgot your password?

Subscribe to this article's comments: RSS (what’s this?)