Closed N3MIS15 closed 12 years ago
thanks for this. I believe this will fix the path for windows installs too. will review it as soon as i have some time...
@gugahoi @N3MIS15
Hi,
I tested it, and it seems to work fine... (In Chrome, Safari (desktop and mobile)... Firefox works but the images don't really allign... I'm not going to touch IE)
Thanks!
best regards, Mark
I added this as 2 functions because passing the full url included the username and password. Doing it this way also lets it check unix/windows file paths which i believe is the issue @mvanderberg is experiencing. I have tested this with Maraschino running on windows and couchpotato running on both ubuntu and windows.
Im not sure if i caught all the images in the templates (the info view seems to grab them from the web).
Use {{ img_path|cp_img }} to cache the image.