[symfony-users] Re: Hosting images on a separate domain

2008-10-12 Thread Sumedh
I don't see sf_image_dir_name in constants.php??? I searched for it in the whole symfony code base but don't see any reference to it... On Oct 12, 2:55 pm, lionslair <[EMAIL PROTECTED]> wrote: > You > > On Oct 11, 2:57 pm, Sumedh <[EMAIL PROTECTED]> wrote: > > > > > Thanks guys... > > > Lion

[symfony-users] Re: Hosting images on a separate domain

2008-10-12 Thread Kiril Angov
Eno, the whole point of the image_tag helper is to be able easily to relocate images to another dir/domain. If you use a STATIC variable to put that in every invocation of the image_tag helper, then why do you even bother using the helpers. I think an HTML autocomplete IDE would do better job. For

[symfony-users] Re: Hosting images on a separate domain

2008-10-12 Thread lionslair
You On Oct 11, 2:57 pm, Sumedh <[EMAIL PROTECTED]> wrote: > Thanks guys... > > Lionslair, how do I override the sf_image_path? > > On Oct 10, 2:16 pm, lionslair <[EMAIL PROTECTED]> wrote: > > > Maybe just app the path in your app folder.  Or over-ride the > > sf_image_path > > > On Oct 10, 1:24 p

[symfony-users] Re: Hosting images on a separate domain

2008-10-11 Thread gestadieu
I would simply rewrite the image_tag helper to automatically add the complete url. With this solution you will use your helper the exact same way as before...provided that all your images are on your new subdomains. On Oct 10, 8:03 pm, Eno <[EMAIL PROTECTED]> wrote: > On Thu, 9 Oct 2008, Sumedh w

[symfony-users] Re: Hosting images on a separate domain

2008-10-10 Thread Sumedh
Thanks guys... Lionslair, how do I override the sf_image_path? On Oct 10, 2:16 pm, lionslair <[EMAIL PROTECTED]> wrote: > Maybe just app the path in your app folder.  Or over-ride the > sf_image_path > > On Oct 10, 1:24 pm, Sumedh <[EMAIL PROTECTED]> wrote: > > > Hi friends, > > > I have been us

[symfony-users] Re: Hosting images on a separate domain

2008-10-10 Thread Eno
On Thu, 9 Oct 2008, Sumedh wrote: > But now I want to use a separate domain for images > (images.example.com)...I'll continue to host them on same sever, but > just configure the DNS for a separate images subdomain... > > Is there a ready made way to do this in symfony? Is image_path() > helper

[symfony-users] Re: Hosting images on a separate domain

2008-10-10 Thread lionslair
Maybe just app the path in your app folder. Or over-ride the sf_image_path On Oct 10, 1:24 pm, Sumedh <[EMAIL PROTECTED]> wrote: > Hi friends, > > I have been using web/images folder so far for storing images... > > But now I want to use a separate domain for images > (images.example.com)...I'll

[symfony-users] Re: Hosting images on a separate domain

2008-10-10 Thread Alex
i think you just need to write absolute path... On Oct 10, 9:24 am, Sumedh <[EMAIL PROTECTED]> wrote: > Hi friends, > > I have been using web/images folder so far for storing images... > > But now I want to use a separate domain for images > (images.example.com)...I'll continue to host them on sa