On Tuesday 22 April 2008 09:03, Alexey Feldgendler wrote: > On Tue, 22 Apr 2008 08:29:17 +0200, Andy Powell <[EMAIL PROTECTED]> > > wrote: > > #!/bin/bash > > > > echo "" >index.html > > for i in *.jpg > > do > > > > convert -thumbnail x230 $i thumb_$i > > echo "<a href='$i' target='_new$i'><img src='thumb_$i'</a>" > > > > >>index.html > > > > done > > The <img> tag is missing the right angle bracket,
I don't know where it went, it's in my actual script. > and the target attribute is evil. > Whoever wants to open it in a new window, will use the browser's > features to do so, but please don't decide for the user. I wrote it with *my* preferences. I have ff configured to open in a new tab so the script does exactly what I wanted. If you don't like it change it - you have the source. -- Andy / ScaredyCat _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community