Just one point I didn’t test.
Flags don’t have all the same dimensions. SUI is a square, BEL is 7/6 ratio, several are 3/2 (AUT, FRA, RUS,…), others are 2/1 (GBR, CAN, LAT,…), GER 1s 5/3, I’be also found 7/5 (POL).
In most of the results displayed I find a ratio 3/2 for all, as a Belgian, I don’t find it nice. Further, if constant height is applied, then I am jealous as GBR is much larger than BEL, twice the area of SUI…
If width is a constant, then SUI seems 2 times larger than CAN.
For personal applications, I started from the standard flags, constant height 30 pixels from Money mini-flags (33 pixels for USA), the ratio is saved in a database, and they are displayed as constant area width=(area*ratio)^0.5 and height=(area/ratio)^0.5. File names are given using the 3 letter-code of the country, easy to automate display (takes the first 3 characters of sail number, adds ‘.gif’)
See example on http://www.microclass.org/results/main.html or http://www.microclass.org/nations.html, in this last page, flag area is reduced in second table, then further reduced in third table. Ooops, forgotten to add Moldova, coming soon.
If found convenient, you should add this function in SW…
Phil
···
----- Original Message -----
From:
Colin Jenkins
To: sailwave@yahoogroups.com
Sent: Wednesday, August 19, 2009 10:16 AM
Subject: Re: [sailwave] Re: Getting graphics (burgees) to show up on the web
Exactly right. We put all our images on the website and just point at them from various sources, including Sailwave - then ,as long as you are connected to the internet, the HTML is then essentially portable. Alternatively if one wants real portability just print to a PDF ‘printer’ (I use PrimoPDF - free) which will embed the images; PDF standing for Portable Document Format…
I’ve spent quote a few hours investigating embedding images in HTML but the inadequacy of Microsoft’s IE keeps me from doing it at present. IE8 was supposed to fix it but has not from my experiments.
CJ
fairwindrt wrote:
Finally, something I understand. Nic's right that graphics images are not an intrinsic part of a HTML (web) file; the HTML file contains only a command to display the image and the reference to its location (path). the command looks something like this: <img src="burgee.gif">. (Here, the image is in the same folder as the HTML file; height & width specs deleted for simplicity.) When the file goes from your computer to your friend's to the website server, the graphics file doesn't go with it. Nor, would the path from the HTML file to the graphic necessarily be the same on the website as on your 'puter. This leaves your HTML file without a graphic to display or unable to find it. Presumably, it's a club website and the manager has put all the images in a sub-folder named "/images", possibly further sub-divided. The manager may not appreciate you cluttering up his/her organization scheme with multiple copies of the club burgee. I'd suggest letting the web person edit the image command to the path standard for the site. At minimum, you both need to have a conversation about how to handle the question.
-rt_/)
------------------------------------
-!- [http://www.yachtsandyachting.com/](http://www.yachtsandyachting.com/) -!- [http://www.sailing.org/](http://www.sailing.org/) -!- [http://www.sailwave.com/](http://www.sailwave.com/) -!- On-Line Sailwave help...http://sailwave.com/help/HTML ~ Mark Thompson's Sailwave User Manual is available from [http://www.abyc.org/upload/Sailwave_ABYC_User_Guide.pdf](http://www.abyc.org/upload/Sailwave_ABYC_User_Guide.pdf) ~ Convert to daily digest of emails send blank email to sailwave-digest@yahoogroups.com ~ To unsubscribe from the SUG please send blank email to sailwave-unsubscribe@yahoogroups.com Yahoo! Groups Links
<*> To visit your group on the web, go to:
[http://groups.yahoo.com/group/sailwave/](http://groups.yahoo.com/group/sailwave/)
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
[http://groups.yahoo.com/group/sailwave/join](http://groups.yahoo.com/group/sailwave/join)
(Yahoo! ID required)
<*> To change settings via email:
mailto:sailwave-digest@yahoogroups.com
mailto:sailwave-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
sailwave-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
[http://docs.yahoo.com/info/terms/](http://docs.yahoo.com/info/terms/)
---
No virus found in this incoming message.
Checked by AVG - [www.avg.com](http://www.avg.com)
Version: 8.5.409 / Virus Database: 270.13.60/2311 - Release Date: 08/18/09 06:03:00