Received: from mail-pz0-f61.google.com ([209.85.210.61]:55520) by stodi.digitalkingdom.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) (envelope-from ) id 1SLCAg-00057V-RI; Fri, 20 Apr 2012 04:38:45 -0700 Received: by dado14 with SMTP id o14sf9806191dad.16 for ; Fri, 20 Apr 2012 04:38:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:subject:from:in-reply-to:date :message-id:references:to:x-mailer: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 :content-transfer-encoding; bh=SNevwftkS0GvtFATtHYV/4jJtlyTfWYjIhNGidskzzM=; b=rL2KjnlFYUZw7MW+oAgATZw83LM2C8VrhOeKo9g213bRe2moSJ6xdVN5VHRrAGO2rq nrFBG0mGoPwmPTwkl2FBFQ5LgtQTJzh2AXZAquyGxhHfD+rBJ5IUcmQ7f0HNyNbQXu6B Qe7nttmbyDWVrlE4MM0fcP7jkD6KcvSHlNBlA= Received: by 10.50.57.135 with SMTP id i7mr1410579igq.0.1334921912511; Fri, 20 Apr 2012 04:38:32 -0700 (PDT) X-BeenThere: lojban@googlegroups.com Received: by 10.50.77.137 with SMTP id s9ls1002028igw.3.canary; Fri, 20 Apr 2012 04:38:31 -0700 (PDT) Received: by 10.50.76.133 with SMTP id k5mr3662392igw.2.1334921911394; Fri, 20 Apr 2012 04:38:31 -0700 (PDT) Received: by 10.50.76.133 with SMTP id k5mr3662391igw.2.1334921911381; Fri, 20 Apr 2012 04:38:31 -0700 (PDT) Received: from li60-119.members.linode.com (linode.feoh.org. [97.107.130.119]) by gmr-mx.google.com with ESMTPS id no9si1236334igc.0.2012.04.20.04.38.30 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 20 Apr 2012 04:38:30 -0700 (PDT) Received-SPF: neutral (google.com: 97.107.130.119 is neither permitted nor denied by best guess record for domain of kpreid@switchb.org) client-ip=97.107.130.119; Received: from localhost ([127.0.0.1] helo=[IPv6:::1]) by li60-119.members.linode.com with esmtp (Exim 4.71) (envelope-from ) id 1SLCAX-0007LP-TN for lojban@googlegroups.com; Fri, 20 Apr 2012 11:38:29 +0000 Mime-Version: 1.0 (Apple Message framework v1257) Subject: Re: [lojban] Re: le lisxra cu fanva fo zo'oi.Ceqli. From: Kevin Reid In-Reply-To: Date: Fri, 20 Apr 2012 07:38:28 -0400 Message-Id: <28EA1BE8-FBFE-4B60-BF96-264834C67572@switchb.org> References: To: lojban@googlegroups.com X-Mailer: Apple Mail (2.1257) X-Original-Sender: kpreid@switchb.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 97.107.130.119 is neither permitted nor denied by best guess record for domain of kpreid@switchb.org) smtp.mail=kpreid@switchb.org 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: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Spam_score: -0.7 X-Spam_score_int: -6 X-Spam_bar: / 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 th= e browser window, please fix this. >>=20 > And by that, I mean /relative/ resizing. so that if the size of the brows= er window changes, the picture still takes up the same percentage of the wi= ndow. (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 beco= mes 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 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", not CSS perc= entage. 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. --=20 Kevin Reid --=20 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.