Collection-fs get url to copies of img


#1

Hey,

i have a FS.Collection with 3 stores
1 stores the normal img
2 stores a large copy
3 stores a thumb

with img.url() i get the url of the normal img but how can i get the thumb?
i see a copies object with all 3 stores but i cant get the url…


#2

Just pass the store name like so:

img.url({store: 'thumb'})
img.url({store: 'large'})

Hope that helps


#3

thx !

i found that right now by reading the source because i can not find a api documentation…