forked from 0x2620/pandora
/ID/frameposterX.jpg should be /ID/posterframeX.jpg, fixes #663
This commit is contained in:
parent
ef3c63badc
commit
c7ad68cab9
2 changed files with 2 additions and 2 deletions
|
@ -451,7 +451,7 @@ class Item(models.Model):
|
||||||
'index': p,
|
'index': p,
|
||||||
'position': f['position'],
|
'position': f['position'],
|
||||||
'selected': p == pos,
|
'selected': p == pos,
|
||||||
'url': '/%s/frameposter%d.jpg' %(self.itemId, p),
|
'url': '/%s/posterframe%d.jpg' %(self.itemId, p),
|
||||||
'height': f['height'],
|
'height': f['height'],
|
||||||
'width': f['width']
|
'width': f['width']
|
||||||
})
|
})
|
||||||
|
|
|
@ -29,10 +29,10 @@ urlpatterns = patterns("item.views",
|
||||||
(r'^(?P<id>[A-Z0-9].*)/icon(?P<size>\d*)\.jpg$', 'icon'),
|
(r'^(?P<id>[A-Z0-9].*)/icon(?P<size>\d*)\.jpg$', 'icon'),
|
||||||
|
|
||||||
#poster
|
#poster
|
||||||
|
(r'^(?P<id>[A-Z0-9].*)/posterframe(?P<position>\d+).jpg$', 'poster_frame'),
|
||||||
(r'^(?P<id>[A-Z0-9].*)/poster(?P<size>\d+)\.jpg$', 'poster'),
|
(r'^(?P<id>[A-Z0-9].*)/poster(?P<size>\d+)\.jpg$', 'poster'),
|
||||||
(r'^(?P<id>[A-Z0-9].*)/siteposter(?P<size>\d*)\.jpg$', 'siteposter'),
|
(r'^(?P<id>[A-Z0-9].*)/siteposter(?P<size>\d*)\.jpg$', 'siteposter'),
|
||||||
(r'^(?P<id>[A-Z0-9].*)/poster\.jpg$', 'siteposter'),
|
(r'^(?P<id>[A-Z0-9].*)/poster\.jpg$', 'siteposter'),
|
||||||
(r'^(?P<id>[A-Z0-9].*)/frameposter(?P<position>\d+).jpg$', 'poster_frame'),
|
|
||||||
|
|
||||||
(r'^random$', 'random_annotation'),
|
(r'^random$', 'random_annotation'),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue