jyotiverma0310 / burningimage

Automatically exported from code.google.com/p/burningimage
0 stars 0 forks source link

Image-Path with alias from <bi:img> does not work in grails 1.3.7 #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install and configure the burningimage plugin for file-saving in filesystem 
with alias like this:
outputDir: 
['path':'/Users/username/Documents/sts-workspace/project/target/upload/', 
'alias':'/upload/'],

2. Upload some Images.
3. Display the images using <bi:img> tag in a view.

What is the expected output? What do you see instead?
Expected: Image
Instead: Error because there is no image or the path isn't correct.

What version of the product are you using? On what operating system?
grails 1.3.7, burningimage 0.5.0

Are there some workarounds or solutions for that problem? See screenshots for 
the content <bi:img> generates.

Original issue reported on code.google.com by whiten...@googlemail.com on 4 Jul 2011 at 10:02

Attachments:

GoogleCodeExporter commented 9 years ago
PS. images are correctly uploaded into filesystem (i can see them via 
Finder/explorer in my os).

Original comment by whiten...@googlemail.com on 4 Jul 2011 at 10:04

GoogleCodeExporter commented 9 years ago
I'm using Mac OS X Snow Leopard.

Original comment by whiten...@googlemail.com on 4 Jul 2011 at 10:45

GoogleCodeExporter commented 9 years ago
It will not work that way. File is saved in specified directory but it should 
be served not by Grails but any other server. Check this article: 
http://blog.burningice.pl/2009/07/26/prepare-grails-hosting-apache-tomcat/

Original comment by gdula.pawel@gmail.com on 19 Sep 2011 at 9:54