I've got an app with the following ini: ... [app:main] use = egg:myapp filter-with = app-prefix ... [filter:app-prefix] use = egg:PasteDeploy#prefix prefix=/myapp
I've been developing without the filter option, and now that I have it, my hard-coded image paths no longer work. (e.g. they're looking at http://127.0.0.1:5000/images/something.gif when they should be looking at http://127.0.0.1:5000/myapp/images/something.gif ) So, is there some helper (or config option that could let me write my own helper) that I can use in my templates for image urls? I wonder if a helper's the solution, though... because I reference images in my css file... and those image urls should work too. Is there a way to have requests to /images/something.gif go an get the images? Do I need to make a route, then a controller to serve up images? I'm thinking this is a common enough problem that there would be a more apparent solution. Thanks, Matt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
