Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TrxK4-0007IW-Dt for pgsql-www@arkaria.postgresql.org; Sun, 06 Jan 2013 21:00:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TrxK3-0002ph-EU for pgsql-www@arkaria.postgresql.org; Sun, 06 Jan 2013 20:59:59 +0000 Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TrxK2-0002pb-NA for pgsql-www@postgresql.org; Sun, 06 Jan 2013 20:59:58 +0000 Received: from mail-ia0-f177.google.com ([209.85.210.177]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TrxJz-0008Ft-S8 for pgsql-www@postgresql.org; Sun, 06 Jan 2013 20:59:57 +0000 Received: by mail-ia0-f177.google.com with SMTP id u21so15573361ial.22 for ; Sun, 06 Jan 2013 12:59:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=GdUO/V6eHSWXKDaFPb76exsKsY1m4vepj8+ivEgjQmQ=; b=NgJQD3cP3XeR5wofQBw6RgS7+VgRc805PICUvC8TNxIcJQBP2dSBSr3L0RH4wImOMy nVpp9WS/1m7LyXNqGiJCfFFOlmonfBPv/4cE0z1skc0XIbiQI8nmhfh6AxyLagT5vwC7 8De2oDlyycRkayNzrWAf09RSOygS1Vw5aa5qGS6mM5LdF4B2kXgN1tgdWVCK9aW5jjPC ppnDZYdrvEbAKJ5qPtyECQFRZu9OUaQ/LqVKj7yNdUsD5C9iB31SghnQdi/Emf3Ta5oI a0veiVwHI7+lr5F3Z0roHUyHffPkQe9lMusygN3CBbwCDqhI/aT55iF1F9EMyonmg8xr 0mLw== Received: by 10.50.203.74 with SMTP id ko10mr4061200igc.26.1357505993858; Sun, 06 Jan 2013 12:59:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.119.69 with HTTP; Sun, 6 Jan 2013 12:59:13 -0800 (PST) In-Reply-To: References: <18383.1357499527@sss.pgh.pa.us> From: Greg Stark Date: Sun, 6 Jan 2013 20:59:13 +0000 X-Google-Sender-Auth: UzpYC-S3nHWeK6yU9MPn8fgjLTM Message-ID: Subject: Re: New archives for testing To: Magnus Hagander Cc: Peter Geoghegan , Tom Lane , PostgreSQL WWW Content-Type: text/plain; charset=ISO-8859-1 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-www Precedence: bulk Sender: pgsql-www-owner@postgresql.org On Sun, Jan 6, 2013 at 8:53 PM, Magnus Hagander wrote: > Well, that's what I'm considering, but inlining screenshots at high > resolutions is going to look Really Bad... But yes, the idea would be > to parse out the resolution from the metadata somehow. I would be more concerned with the file size. You don't want someone to be able to make an archive page send a hapless viewer a 100M image file. Luckily file size doesn't require parsing the meta data. Can you not deal with the image size by just sticking a css attribute for max-height and max-width on the inlined image? -- greg -- Sent via pgsql-www mailing list (pgsql-www@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-www