Linking to images from static sites

Jim Byrne Manila-Newbies@userland.com
Tue, 30 Apr 2002 10:31:03 +0100


Try this,

Use your pictures menu to 'Add a new picture' - add the picture again giving
it a new name. Copy the title you give it - press 'Post New Picture'; your
image will be uploaded and a shortcut created automatically. Don't do
anything else - just proceed to the next step.

Paste the new title you have just copied into your pictureRef() macro.

Do you still get the same error message?

All the best,
Jim

on 30/4/02 10:20 am, Bob Kemp at robert.kemp@strath.ac.uk wrote:

> 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
> 
> 

 
-- 
Jim Byrne Project Director, The Making Connections Unit, Glasgow Caledonian
University, Glasgow G4 OBA, 0141 331 3893

Everything you need to know about publishing accessible information on the
Web.

Services: Website Accessibility Audits, Accessible Web design, Accessible
Website Management Training.

The Making Connections Unit: http://www.mcu.org.uk/
Scottish Disability Information Mailing list:
http://www.mcu.org.uk/mailinglists/