java - Open google cloud image on new tab when right click - open in new tab -


       $mddialog.show(         {             clickoutsidetoclose: true,             scope: scope,             preservescope: true,             template: '<md-dialog ng-mouseleave="closedialog()" aria-label="image dialog">' +             '  <md-dialog-content layout-align="center center">' +             '<img ng-src="' + imageurl + '" alt="" error-src="content/images/no_image_icon.gif">' +             '  </md-dialog-content>' +             '</md-dialog>',             controller: function imagedialogcontroller($scope, $mddialog) {                 $scope.closedialog = function () {                     $mddialog.hide();                 };             }         }     ); } 

this dialog shown when image zoomed.

if image has external url, can opened in new tab when right click - open in new tab.

but when google cloud image (we keep images there), downloaded when clicked right click - open in new tab.

is possible this?

   images = images.stream().map(image -> image.substring(image.indexof(userimagespath) + userimagespath.length()))                     .collect(collectors.tolist()); 

this spring side


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -