Received: from mail-we0-f189.google.com ([74.125.82.189]:47623) by stodi.digitalkingdom.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) (envelope-from ) id 1SLIqc-00019u-QR; Fri, 20 Apr 2012 11:46:34 -0700 Received: by wera1 with SMTP id a1sf6393766wer.16 for ; Fri, 20 Apr 2012 11:46:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:in-reply-to:references:date :message-id:subject:from:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=XMcFzxL+VEMYJWyz2YSSaOYUvawzpvrhTx371k+9Nc0=; b=KTKS6KGuI1CFm/BcBWxBmW6u3uYCr/rwFHMx9QUmCbtoiGfvL2n2YFaoOwfhGUuU/d G6CGIIYbAQDNKOwSsX0fQM/SuJjdnx0UPNwEBL7SOJjVw4EqXBJo0JWEQrzVIPiWnyWJ BUMvFVkfIytVDliHs7Xi95gIMhh9p/zhU2ozY= Received: by 10.205.132.65 with SMTP id ht1mr558344bkc.29.1334947574952; Fri, 20 Apr 2012 11:46:14 -0700 (PDT) X-BeenThere: lojban@googlegroups.com Received: by 10.204.156.65 with SMTP id v1ls3781895bkw.4.gmail; Fri, 20 Apr 2012 11:46:14 -0700 (PDT) Received: by 10.205.123.6 with SMTP id gi6mr845647bkc.5.1334947574065; Fri, 20 Apr 2012 11:46:14 -0700 (PDT) Received: by 10.205.123.6 with SMTP id gi6mr845646bkc.5.1334947574034; Fri, 20 Apr 2012 11:46:14 -0700 (PDT) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com [209.85.217.179]) by gmr-mx.google.com with ESMTPS id a18si642135bkt.1.2012.04.20.11.46.13 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 20 Apr 2012 11:46:14 -0700 (PDT) Received-SPF: pass (google.com: domain of eyeonus@gmail.com designates 209.85.217.179 as permitted sender) client-ip=209.85.217.179; Received: by lban1 with SMTP id n1so4126250lba.38 for ; Fri, 20 Apr 2012 11:46:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.48.202 with SMTP id o10mr3475134lbn.25.1334947573563; Fri, 20 Apr 2012 11:46:13 -0700 (PDT) Received: by 10.152.44.129 with HTTP; Fri, 20 Apr 2012 11:46:13 -0700 (PDT) In-Reply-To: <28EA1BE8-FBFE-4B60-BF96-264834C67572@switchb.org> References: <28EA1BE8-FBFE-4B60-BF96-264834C67572@switchb.org> Date: Fri, 20 Apr 2012 12:46:13 -0600 Message-ID: Subject: Re: [lojban] Re: le lisxra cu fanva fo zo'oi.Ceqli. From: Jonathan Jones To: lojban@googlegroups.com X-Original-Sender: eyeonus@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of eyeonus@gmail.com designates 209.85.217.179 as permitted sender) smtp.mail=eyeonus@gmail.com; dkim=pass header.i=@gmail.com Reply-To: lojban@googlegroups.com Precedence: list Mailing-list: list lojban@googlegroups.com; contact lojban+owners@googlegroups.com List-ID: X-Google-Group-Id: 1004133512417 List-Post: , List-Help: , List-Archive: Sender: lojban@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: multipart/alternative; boundary=bcaec553ff00ea832404be20b39f X-Spam-Score: -0.7 (/) X-Spam_score: -0.7 X-Spam_score_int: -6 X-Spam_bar: / --bcaec553ff00ea832404be20b39f Content-Type: text/plain; charset=ISO-8859-1 On Fri, Apr 20, 2012 at 5:38 AM, Kevin Reid wrote: > On Apr 20, 2012, at 5:55, Jonathan Jones wrote: > > On Fri, Apr 20, 2012 at 3:21 AM, Jonathan Jones > wrote: > >> If anyone knows how to make the tiki resize the picture to fit inside > the browser window, please fix this. > >> > > And by that, I mean /relative/ resizing. so that if the size of the > browser window changes, the picture still takes up the same percentage of > the window. (So, assuming the sidebar takes up 200 pixels width and the > window is 1000 pixels wide, the picture would be 800 pixels wide. If the > window becomes 500 pixels wide, assuming the sidebar doesn't change size, > the picture would then be 300 pixels wide.) > > The proper way to do this in HTML is to use the CSS width property, like > so: > > > > (That 100% is related to the width of the current region of the page, not > the window.) The height automatically scales to match as long as you leave > it unspecified. > > HOWEVER... > > 1. I tried to get Tiki to embed that and failed; while its image syntax > claims to support a percentage, the resulting HTML has a fixed size and it > appears to be something like "percentage of original image size", not CSS > percentage. > > 2. By mucking with the HTML, I found that the wiki has a fixed-width > layout (which your original image was simply forcibly spilling out of due > to being large); this auto-resizing will simply not have any effect but > making the image fit _the wiki theme_. In order to have the image content > adapt to the window size, the wiki theme would have to be edited to itself > be adaptable. > > My recommendation would be to either construct a separate site designed > for the comics, or link to the bare image without any page around it; > modern browsers will scale the image and allow the user to zoom in and out. > > -- > Kevin Reid > > -- > You received this message because you are subscribed to the Google Groups > "lojban" group. > To post to this group, send email to lojban@googlegroups.com. > To unsubscribe from this group, send email to > lojban+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/lojban?hl=en. > > For now, I just resized the image so it fits within the tiki theme, and made it clickable so you can view it, as you say, bare. -- mu'o mi'e .aionys. .i.e'ucai ko cmima lo pilno be denpa bu .i doi.luk. mi patfu do zo'o (Come to the Dot Side! Luke, I am your father. :D ) -- You received this message because you are subscribed to the Google Groups "lojban" group. To post to this group, send email to lojban@googlegroups.com. To unsubscribe from this group, send email to lojban+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/lojban?hl=en. --bcaec553ff00ea832404be20b39f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Fri, Apr 20, 2012 at 5:38 AM, Kevin Reid <kpreid@switchb.org<= /a>> wrote:
On Apr 20, 2012, at 5:55, Jonathan Jones wrote:
> On Fri, Apr 20, 2012 at 3:21 AM, Jonathan Jones <
eyeonus@gmail.com> wrote:
>> If anyone knows how to make the tiki resize the picture to fit ins= ide the browser window, please fix this.
>>
> And by that, I mean /relative/ resizing. so that if the size of the br= owser window changes, the picture still takes up the same percentage of the= window. (So, assuming the sidebar takes up 200 pixels width and the window= is 1000 pixels wide, the picture would be 800 pixels wide. If the window b= ecomes 500 pixels wide, assuming the sidebar doesn't change size, the p= icture would then be 300 pixels wide.)

The proper way to do this in HTML is to use the CSS width property, l= ike so:

=A0 =A0<img src=3D"..." style=3D"width: 100%;"><= br>
(That 100% is related to the width of the current region of the page, not t= he window.) The height automatically scales to match as long as you leave i= t unspecified.

HOWEVER...

1. I tried to get Tiki to embed that and failed; while its image syntax cla= ims to support a percentage, the resulting HTML has a fixed size and it app= ears to be something like "percentage of original image size", no= t CSS percentage.

2. By mucking with the HTML, I found that the wiki has a fixed-width layout= (which your original image was simply forcibly spilling out of due to bein= g large); this auto-resizing will simply not have any effect but making the= image fit _the wiki theme_. In order to have the image content adapt to th= e window size, the wiki theme would have to be edited to itself be adaptabl= e.

My recommendation would be to either construct a separate site designed for= the comics, or link to the bare image without any page around it; modern b= rowsers will scale the image and allow the user to zoom in and out.

--
Kevin Reid =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0<http://swit= chb.org/kpreid/>

--
You received this message because you are subscribed to the Google Groups &= quot;lojban" group.
To post to this group, send email to lojban@googlegroups.com.
To unsubscribe from this group, send email to lojban+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/lojba= n?hl=3Den.


For now, I just resized the image so i= t fits within the tiki theme, and made it clickable so you can view it, as = you say, bare.

--
mu'o mi'e .aionys.

.i.e'ucai ko cmima lo pilno be denpa bu .i doi.luk. mi patfu do zo&= #39;o
(Come to the Dot Side! Luke, I am your father. :D )

--
You received this message because you are subscribed to the Google Groups "= lojban" group.
To post to this group, send email to lojban@googlegroups.com.
To unsubscribe from this group, send email to lojban+unsubscribe@googlegrou= ps.com.
For more options, visit this group at http://groups.google.com/group/lojban= ?hl=3Den.
--bcaec553ff00ea832404be20b39f--