         id = @getIdPhoto()
         orientation = @collection.get(id)?.attributes.orientation
         newOrientation =
-            helpers.rotateRight orientation, $('.wrapper img.zoomable')
-        helpers.rotate newOrientation, $('.wrapper img.zoomable')
+            helpers.rotateRight orientation, $('.wrapper img')
+        helpers.rotate newOrientation, $('.wrapper img')
         @collection.get(id)?.save orientation: newOrientation,
             success : () ->
                 helpers.rotate newOrientation, $('.pbThumbs .active img')

        id = @getIdPhoto()
        orientation = @collection.get(id)?.attributes.orientation
        newOrientation =
            helpers.rotateLeft orientation, $('.wrapper img.zoomable')
        helpers.rotate newOrientation, $('.wrapper img.zoomable')
        @collection.get(id)?.save orientation: newOrientation,
            success : () ->
                helpers.rotate newOrientation, $('.pbThumbs .active img')

        else
            transform = "-webkit-transform"
        @turnLeft = $('<a id="left" class="btn left" type="button">
                     <i class="glyphicon glyphicon-share-alt glyphicon-reverted"
                      style="' + transform + ': scale(-1,1)"> </i> </a>')
            .appendTo '#pbOverlay .pbCaptionText .btn-group'
        @turnLeft.on 'click', @onTurnLeft

        # Add link to download photo
        @downloadLink = $('#pbOverlay .pbCaptionText .btn-group .download-link')
        @downloadLink.unbind 'click'
        @downloadLink.remove()
        unless @downloadLink.length
