you could either use a templatetag or a custom-method. that said, we are just working on integrating this with the filebrowse- field. so, if you wait a couple of days it´ll be there.
here´s more information: http://code.google.com/p/django-filebrowser/issues/detail?id=63 patrick. On Jan 18, 1:52 pm, Benjamin Buch <benni.b...@gmx.de> wrote: > I'm using django-filebrowser(http://code.google.com/p/django-filebrowser/ > ) to upload and manage files within my project. > And it's working great!Filebrowseris a great app. > > The only problem I'm having is this: > I coupledfilebrowserwith on of my models ('News') and use the > FileBrowse-Field for this > (http://code.google.com/p/django-filebrowser/wiki/installationfilebrow... > ), > and I like filebrowsers' image generator and want to use it. > > But how can I access the generated images from the template? > Say I have the template variable 'news_report' in my template and want > to display the image, I would write > > <img src="{{ news_report.image }}" /> > > That would give me the original image, not the processed one. > The url for the original image is something like > > '/media/uploads/news/DSC04678.JPG', > > and the url to the processed version would be something like > > '/media/uploads/news/dsc04678_jpg_versions/cropped_DSC04678.JPG' > > Is there a way to access the url to the processed image from the > template? > > Benjamin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---