Hi,
You can write your own class extending the sfValidatedFile class and put
your code in it.
You can found an concrete example on the excellent "Symfony in the
Cloud" slides from Kris Wallsmith at sfLive2010
http://www.slideshare.net/kriswallsmith/symfony-in-the-cloud (class
example at slide 64)
Antoine Delorme wrote:
Hi there,
I got a problem, i'm trying to do a resize on images while I upload
them. My problem there is i don't know where do I put my code to
resize the picture, and how to save the caption in the db.
I Already got the code for the resize and it work (it's from an old
website of mine).
I was thinking do it by widget and validator, but even with the "more
with symfony" book, i don't really understand how to do it.
Could someone help me please?
If you need part of my code i will be happy to give it!
--
You received this message because you are subscribed to the Google Groups "symfony
users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en.