public_path(),
http://www.symfony-project.org/api/1_4/UrlHelper#method_public_path
On Fri, Mar 12, 2010 at 16:58, Luis Alberto Zarrabeitia
zarrabei...@gmail.com wrote:
Moreover, it produces the image tag, but I can't find the way to
access the url (for instance, if I want to link to it). Any
Thank you both.
I hope that'll solve my problem.
Luis.
On Fri, Mar 12, 2010 at 1:48 PM, Gábor Fási maerl...@gmail.com wrote:
public_path(),
http://www.symfony-project.org/api/1_4/UrlHelper#method_public_path
On Fri, Mar 12, 2010 at 16:58, Luis Alberto Zarrabeitia
zarrabei...@gmail.com
Why not give the following a try?
?php echo link_to(image_tag('/uploads/myimages/'.$image_name),
'/uploads/myimages/'.$image_name) ?
On Fri, Mar 12, 2010 at 5:58 PM, Luis Alberto Zarrabeitia
zarrabei...@gmail.com wrote:
On Fri, Mar 12, 2010 at 2:00 AM, Gareth McCumskey gmccums...@gmail.com
On Fri, Mar 12, 2010 at 2:00 AM, Gareth McCumskey gmccums...@gmail.com wrote:
In your template:
?php echo
image_tag($sf_config-get('sf_upload_dir').'/myImages/'.$image_name)
?
The $sf_config variable is a copy of the sfConfig object used in the actions.
Thank you, but I'm afraid that
Hello. I'm new to Symfony and I decided to learn by developing a small
web app.
Right now, I have a form that uploads an image:
'image' = new sfValidatorFile(array(
'required' =
false,
In your template:
?php echo image_tag($sf_config-get('sf_upload_dir').'/myImages/'.$image_name)
?
The $sf_config variable is a copy of the sfConfig object used in the actions.
On Fri, Mar 12, 2010 at 12:10 AM, Luis Zarrabeitia
zarrabei...@gmail.com wrote:
Hello. I'm new to Symfony and I