Dan ha scritto:
> I'm very new to turbogears but i'm finding my way through it and have
> been able to create a subdirectory.  It references '../master.kid'
> which has images that are in the static folder, however as the browser
> is now in the subdirectory it can't find the pictures.  I've edited
> the master.kid file so that the images are always referenced as ''../
> static/etc/etc/etc.jpg" so the images show up properly but i'm
> wondering if this has any adverse affects on pages in the root.  It
> doesn't seem to in firefox but i don't know how every browser would
> handle it.  Is there a better way to do this?  i'd rather not have to
> make a 'submaster.kid' file and update the image references every time
> i update master.kid
>
> thanks :)
>
>   

we have trayed a lot of Browser, never appened nothing of strange for this.


But anyway if you must handle this information frequenlty:
you can pass Image Obj from controller,
or you can use abs path of img, something like this i think
"<your Prj name>/static/bla.jpg"


Gla


-- 
+------------------------------------------------------------+
                                  Glauco Uri - Programmatore
                                    glauco(at)allevatori.com 
                               
  Sfera Carta Software®      [EMAIL PROTECTED]
  Via Bazzanese,69  Casalecchio di Reno(BO) - Tel. 051591054 
+------------------------------------------------------------+



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to