Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 2BA57B5DC04 for ; Sun, 16 Oct 2011 19:04:19 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 92560-02 for ; Sun, 16 Oct 2011 22:04:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by mail.postgresql.org (Postfix) with ESMTP id 6E471B5DBCE for ; Sun, 16 Oct 2011 19:04:12 -0300 (ADT) Received: by pzk4 with SMTP id 4so13091307pzk.3 for ; Sun, 16 Oct 2011 15:04:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=L7DyTAFllToa9YxjwHaYEUFR1XXwv4V4mvXzGFpMJMo=; b=jf749g4we8qUStsxLNQ7vIohJ19COW8TwJz4QkHV1EkXVT3WeWGl+rwbVD6L0TOBkE d3GosvNqvpK3yfjgu8bm4q2FEOCFSvaNoOd3MEhJwLhet/FD92by7kg9KXSNh88U1jqc WBZJACEhQqr8FAoSGJMOx6yYhUXO20wuJpRH0= Received: by 10.68.7.132 with SMTP id j4mr34056910pba.102.1318802650530; Sun, 16 Oct 2011 15:04:10 -0700 (PDT) Received: from [192.168.14.150] (ppp59-167-129-67.static.internode.on.net. [59.167.129.67]) by mx.google.com with ESMTPS id o6sm51509848pbb.1.2011.10.16.15.04.07 (version=SSLv3 cipher=OTHER); Sun, 16 Oct 2011 15:04:08 -0700 (PDT) Message-ID: <4E9B54CC.1000408@gmail.com> Date: Mon, 17 Oct 2011 09:03:56 +1100 From: Chris User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110922 Thunderbird/3.1.15 MIME-Version: 1.0 To: pgsql-php@postgresql.org Subject: Re: Introduction, and help request References: <4e97f850.039bec0a.7128.ffffdc77SMTPIN_ADDED@mx.google.com> In-Reply-To: <4e97f850.039bec0a.7128.ffffdc77SMTPIN_ADDED@mx.google.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.889 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, T_TO_NO_BRKTS_FREEMAIL=0.01 X-Spam-Level: X-Archive-Number: 201110/2 X-Sequence-Number: 4218 > After this transaction is complete, I delete the temporary files, > everything seems fine – BUT the image in the table looks like broken. > When I want to display it, sometimes the small one (50x50), or the > medium one (128x128) looks like, which is broken at the half of the > image upload, or ¾ of the image upload. I checked the temporary files > before I delete it, they are ok, so the problem is not with the image > manipulation. You could try the suggestions mentioned here: http://www.php.net/manual/en/function.pg-escape-bytea.php#89036 -- Postgresql & php tutorials http://www.designmagick.com/