Mailinglist Archive: opensuse (924 mails)

< Previous Next >
Re: [opensuse] bash script to build html gallery
  • From: Eric Gunther <egunther@xxxxxxxxxxx>
  • Date: Thu, 04 Oct 2012 13:40:21 -0400
  • Message-id: <1349372421.3538.32.camel@linux-hq44>
On Thu, 2012-10-04 at 18:26 +0200, Per Jessen wrote:
Eric Gunther wrote:

<tr>
<a href="image"> <img src="small_image" alt="image"/></a>
</tr>

What this yields is a page full of the name of the image as a link
to the large image. I assume this behavior with the "alt" field
being shown is because there is an underscore in the "img src" field.

The contents of the "alt" attribute is shown when the image cannot be
found.

Yes, and the reason the image is not found is because the path is
wrong... the reason the path is wrong is because "small_image" was not
replaced.


[snip]
Thanks for any help,


Eric, it's a fairly simple programming problem you got here, whether you
do it in bash, simula2 or lisp. There are plenty of people here who
can whip up a script for you in no time, but is that what you really
want? It might better with soe more specific questions.

I appreciate that, and also I appreciate the frank response. But in
reality I actually just want to get to the html page, then the upload
and convert script, and then move on to better things. You see, I take
nice pictures and I am sort of artistically inclined so I: 1.) Have
trouble parsing the man pages and associated information. I have, in
fact, spent hours trying to get this idea to work, with sed, and have
gotten starts and stops but no success.
2.) Would like a simple stable script with which to display them,
preferably one which I have written so that I can fix it or change it as
the demand changes.

I have seen other things in the man pages about prompting and things of
an interactive nature that I may put in later in sooner but that is not
what I am working on.


I feel somewhat exposed but,
that's more or less it,
thanks,

-e




--
Per Jessen, Zürich (16.4°C)



--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups