pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sári Csaba <sari.csaba@wishdoo.com>
To: 'Chris' <dmagick@gmail.com>
To: pgsql-php@postgresql.org
Subject: Re: Introduction, and help request
Date: Mon, 17 Oct 2011 13:37:46 +0200
Message-ID: <008101cc8cc1$312b7490$93825db0$@csaba@wishdoo.com> (raw)
In-Reply-To: <4E9B54CC.1000408@gmail.com>
References: <4e97f850.039bec0a.7128.ffffdc77SMTPIN_ADDED@mx.google.com>
	<4E9B54CC.1000408@gmail.com>

Dear Chris,

thank you for your response, buti t wasn't the right solution :-(... First,
I just reconfigured the postgre server, with more memory, buffers, etc, and
than I just lowered the image resolutions with GD, and now it's working. My
idea was this: somewhere a buffer (or something like this, OR there is a
timeout somewhere, but I changed all related apache and PHP settings) is
small, to accept all the image datas from the client (???), and if I make
smaller pictures, it could be ok. And it's works now fine. 

Thank you all the suggestions. 

Regards,
Csaba

-----Original Message-----
From: pgsql-php-owner@postgresql.org [mailto:pgsql-php-owner@postgresql.org]
On Behalf Of Chris
Sent: Monday, October 17, 2011 12:04 AM
To: pgsql-php@postgresql.org
Subject: Re: [PHP] Introduction, and help request


> 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/


-- 
Sent via pgsql-php mailing list (pgsql-php@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-php




view thread (3+ messages)

Message-ID: <008101cc8cc1$312b7490$93825db0$@csaba@wishdoo.com>
Permalink:  ../008101cc8cc1$312b7490$93825db0$@csaba@wishdoo.com/
Also on:    postgresql.org/message-id/008101cc8cc1$312b7490$93825db0$@csaba@wishdoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: sari.csaba@wishdoo.com, dmagick@gmail.com
  Subject: Re: Introduction, and help request
  In-Reply-To: <008101cc8cc1$312b7490$93825db0$@csaba@wishdoo.com>
  References: <4e97f850.039bec0a.7128.ffffdc77SMTPIN_ADDED@mx.google.com> <4E9B54CC.1000408@gmail.com> <008101cc8cc1$312b7490$93825db0$@csaba@wishdoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox