 						storyLink.append($('<div class="caption">)').append($('<h5>').text(story.name))) 
 					storyCover.append(storyLink)
 					storyLink.click({album: singleAlbum, story: story}, (event) =>
+						$.ajax({
+							method: 'POST',
+							cache: false,
+							url: jsRoutesStoryController.com.ctrengine.photostash.controllers.api.StoryController.resizeStoryPhotographs(event.data.story.storyId, PHOTO_THUMBNAIL_SIZE).url,
+							dataType: 'json'
+						})
 						@displayPhotographs(event.data.album, event.data.story)
 						history.pushState({album: event.data.album, story: event.data.story}, null, '#storyId='+event.data.story.storyId)
 					)

		# Setup HTML5 Browser Buttons for Single Page
		window.addEventListener("popstate", (event) =>
			console.log(event)
			if event.state?
				if event.state.album?
					if event.state.story?

class @Browser
	PHOTO_THUMBNAIL_SIZE = 360

	constructor: ->
		@breadcrumb = $('#photostash-breadcrumb')
		@breadcrumbHome = $('#photostash-breadcrumb-home')
