Linking to images from static sites

Bob Kemp Manila-Newbies@userland.com
Tue, 30 Apr 2002 10:20:53 +0100


Hi all,

I've used the pictureRef macro in my template, and rather than getting the 
expected picture I got this error message in its place:

"Macro error: Can't include picture "circlelogo" because the image tag in 
the shortcuts table is not well-formed."

The picture is imported, and the shortcut works as a conventional shortcut. 
I currently have a shortcut to an image called 'circlelogo' and the url:

http://130.159.238.185:8080/DIO/pictures/viewer$75

Can anyone suggest how to fix this?

Cheers,

Bob

At 06:55 PM 4/26/02 +0100, James Byrne wrote:
>on 26/4/02 4:12 pm, David A. Bayly at dbayly@udena.ch wrote:
>
> > Just type "circlelogo" once you have created the shortcut (by however 
> method).
>
>And if you want to get really fancy, use the PictureRef() macro, e.g.
>
>{pictureRef("nameofshortcut",  "descriptive label", align: "left", hspace:
>"20", vspace: "20", title: "Check out this groovy picture of...", glossRef:
>"shortcutofpagetolinktoifyouwanttomakeitalink")}
>
>All the best,
>Jim
> >
> >> I tried the first option, and found that
> >>
> >> <a href="http://130.159.238.185:8080/DIO/"><img src="circlelogo"
> >> height="88" width="88" border="0" alt="DIO home page"></a>
> >>
> >> didn't work. I assumed that was because the shortcut "circlelogo"
> >> still needed to be inside the html quotation marks, as in
> >>
> >> <img src=""circlelogo"" height="88" width="88" border="0" alt="DIO home
> >> page">
> >>
> >> - but that didn't work either.
> >>
> >> Any ideas?
> >>
> >> Bob
> >>
> >> At 03:28 PM 4/26/02 +0100, David A. Bayly wrote:
> >>> Load it as  a picture and use a shortcut. The url would then point
> >>> to your dynamic site.
> >>>
> >>>
> >>> Or
> >>>
> >>> Place it on disk in your webserver folder. Whatever userl you use
> >>> to access it normally, just enter a short cut in your website .
> >>>
> >>> mylogo  <imng src = 'htpp://; ..../images/mylogo.gif' alt = 'logo'
> >>> width = '123' height = '123'>   etc
> >>>
> >>> That's all
> >>>
> >>>> Hi all,
> >>>>
> >>>> Thanks to your contributions I now have a working static site. I
> >>>> have one small problem. The dynamic site has a logo on each page
> >>>> which links to the home page. This .gif file resides in Frontier,
> >>>> and I link to it via an 'img src="' etc. in my template - possibly
> >>>> not the most elegant way, but it works fine.
> >>>>
> >>>> In order to reproduce the dynamic setup,  where should I put the
> >>>> image, and how should I to link to it?
> >>>>
> >>>> Thanks again,
> >>>>
> >>>> Bob
> >>>
> >>>
> >>> --
> >>>
> >>> - David Bayly.       Programmer and digest reader.     dbayly at 
> udena dot
> >>> ch
> >>> Digest Readers do it once a day.
> >
>
>
>
>Glasgow West End: Pat's Guide: http://www.glasgowwestend.co.uk
>
>Guide to all that's best in Glasgow's West End: What's On, Eating Out,
>Shopping, Flat Hunting, Local Characters, Classified Ads., Community
>Pinboard, Art for Sale and Free Photographs to download.
>
>ScotConnect: http://www.scotconnect.com
>
>A smooth transition to providing accessible information on the Internet.
>Quick to load, accessible Web sites - built with the minimum of fuss.
>
>ScotConnect A reliable and fast WEB HOSTING - it's good value for your
>money.
>
>Jim and Pat Byrne
>Tel: +44(0)141 334 1650