Your view take your image in your upload folder so it normal you will get
all images :
INDEX VIEW
{{extend 'layout.html'}}
{{=crud.create(db.blogpost)}}
{{=crud.create(db.image)}}
</br>
</br>
{{for blog in blogpost:}}
<h2>{{=blog.title}}</h2>
<div>{{=blog.post}}
{{for pic in images:}}
<div><img width="200px"
src="{{=URL('download', args=pic.image.file)}}" /></div>
{{pass}}
</br>
<ul>
<li>{{=blog.author}}</li>
<li>{{=blog.datetime}}</li>
<li>{{=A('comment',_href=URL("show", args=blog.id))}}</li>
{{db(db.blogcomments.comment).count()}}</li>
</ul>
</div>
On Wed, Jul 27, 2011 at 10:50 AM, Web2Py Freak
<[email protected]>wrote:
> i tryed it , its the same it gets me all the images