diff --git a/pandora/item/models.py b/pandora/item/models.py index 14c420089..d97de8ad3 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -451,7 +451,7 @@ class Item(models.Model): 'index': p, 'position': f['position'], 'selected': p == pos, - 'url': '/%s/frameposter%d.jpg' %(self.itemId, p), + 'url': '/%s/posterframe%d.jpg' %(self.itemId, p), 'height': f['height'], 'width': f['width'] }) diff --git a/pandora/item/urls.py b/pandora/item/urls.py index ae15116eb..c13d16906 100644 --- a/pandora/item/urls.py +++ b/pandora/item/urls.py @@ -29,10 +29,10 @@ urlpatterns = patterns("item.views", (r'^(?P[A-Z0-9].*)/icon(?P\d*)\.jpg$', 'icon'), #poster + (r'^(?P[A-Z0-9].*)/posterframe(?P\d+).jpg$', 'poster_frame'), (r'^(?P[A-Z0-9].*)/poster(?P\d+)\.jpg$', 'poster'), (r'^(?P[A-Z0-9].*)/siteposter(?P\d*)\.jpg$', 'siteposter'), (r'^(?P[A-Z0-9].*)/poster\.jpg$', 'siteposter'), - (r'^(?P[A-Z0-9].*)/frameposter(?P\d+).jpg$', 'poster_frame'), (r'^random$', 'random_annotation'), )