Re: [symfony-users] Transforming images after upload and before saving

2010-04-11 Thread Johannes Trommer
Thanks! But there are still some ambiguities. All I want to to is to generate i resized image and a thumbnail from the uploaded image. The generation of the filename, etc. should remain with the symfony function. Do you have an advice, how that can be done? Am 11.04.2010 um 01:05 schrieb

Re: [symfony-users] Transforming images after upload and before saving

2010-04-11 Thread charles
remove me On Sat, Apr 10, 2010 at 12:00 PM, Johannes Trommer johannes.trom...@gmail.com wrote: Hello, I've got a problem to solve, that I couldn't figure by myself. I've got a form with embedded forms. These embedded forms are there for uploading pictures. This works fine so far. What I

Re: [symfony-users] Transforming images after upload and before saving

2010-04-11 Thread Daniel Lohse
You'll need to send remove me in the *subject* of the message and not in the content/body. :) On 11.04.2010, at 16:33, charles wrote: remove me On Sat, Apr 10, 2010 at 12:00 PM, Johannes Trommer johannes.trom...@gmail.com wrote: Hello, I've got a problem to solve, that I couldn't

[symfony-users] Transforming images after upload and before saving

2010-04-10 Thread Johannes Trommer
Hello, I've got a problem to solve, that I couldn't figure by myself. I've got a form with embedded forms. These embedded forms are there for uploading pictures. This works fine so far. What I need to be done is resizing AND thumbnailing the pictures with the sfImageTransformPlugin before

Re: [symfony-users] Transforming images after upload and before saving

2010-04-10 Thread Alan Bem
Make it simpler - do it directly inside of forms you embed. /** * Read my comments. */ class ImageForm extends BaseImageForm { // configure() your form /** * This is hook used by Doctrine (and think Propel as well) form to modify * cleaned up (validated) values. * * This is