Hi, i'm getting a problem on the images source.

Here: http://localhost/frontend_dev.php/settings - My image works
fine.

Here: http://localhost/frontend_dev.php/settings/edit - My image
doesn't work fine.



The problem is that he looks to the action like a folter and the
source should be

<img src="../users/avatars/image.jpg"/> instead of <img src="users/
avatars/image.jpg"/>


The source from the image is coming from:
<img src="<?php echo $sf_user->getAvatar() ?>" />

The getAvatar() method have the folowing code:
public function getAvatar(){
   ....
   return sfConfig::get('app_upload_avatars').$get_users->getFirst()-
>getAvatar();
   ...
}

Any help please?

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

Reply via email to