This was a premature optimization.
Merge branch 'image-question'
Merge branch 'refs/heads/image-question'
Set max sizes for ImageInteractive light boxes

[#53567745] This sets the maximum size of the lightbox to 100% of the browser's height and/or width.

https://www.pivotaltracker.com/story/show/53567745
Updating colorbox plugin
Updating jquery.colorbox with minHeight/minWidth

For [#59598520], this lets us do minWidth and minHeight in the color box settings. See https://github.com/pjmorse/colorbox . This doesn't (yet) expand the actual image to fill the space yet, just the modal itself.

https://www.pivotaltracker.com/story/show/59598520
Expand photo to fill color box if minWidth is set

[#59598520] Zooms photos to fill a specified minWidth.

https://www.pivotaltracker.com/story/show/59598520
Javascript comments
Updating NewRelic gem
Put close button on the left for color box

[#59598520] When the lightbox fills the whole screen, the "saving" indicator box "covers" the close button and makes it non-functional. Rather than fight with it, I just moved the close button to the left side.

https://www.pivotaltracker.com/story/show/59598520
Adds "drawing prompt" to ImageQuestion

for [#58968130]. This adds the `drawing_prompt` field to ImageQuestions, exposes it in the ImageQuestion form for editing, and shows it in the authoring view and the activity view.

While doing this, I removed all buttons but "Done" from the question dialog (this addresses [#58992462] but we need to add a "cancel" button to finish it), and also showed the background image in the runtime view if there isn't already an annotated image (i.e. if the user hasn't given an answer yet) which covers [#59778098].

https://www.pivotaltracker.com/story/show/58968130
https://www.pivotaltracker.com/story/show/58992462
https://www.pivotaltracker.com/story/show/59778098
Tweaking layout under image for ImageQuestions.

This is the last piece for [#58968130]

https://www.pivotaltracker.com/story/show/58968130
Style fixes for new image question prompts.

[#58968130]

https://www.pivotaltracker.com/story/show/58968130
Ensuring thumbnails of defined backgrounds show

[#59778098] My previous solution was getting overridden by javascript. Here I redo it in javascript: if there's an `annotated_image_url`, we use that for the thumbnail, but if not (and `image_url` does exist) we use `image_url`.

https://www.pivotaltracker.com/story/show/59778098
Make lightbox script not resize images larger than itself.

The issue for [#53567745] was that the script which expanded the size of the image would first check if the width was smaller than the max, and scale up the image, then *also* check if the height was smaller than the max, and scale up *again*, resulting in an image which was too big. The significant change here is to check to see if the image is horizontal (width greater than height) or vertical (height greater than width) and only resize *once* based on the width or height respectively. This produces reasonably sized images.

https://www.pivotaltracker.com/story/show/53567745