How can I make this effect to use this image
I have to use this effect on many images so I can't use white effect image.
And it is possible or not?
How can I make this effect to use this image
I have to use this effect on many images so I can't use white effect image.
And it is possible or not?
You can try after or before Pseudo Elements to make this.
.pillar:after, .pillar:before {
position: absolute;
content: '';
height: 350px;
width: 64px;
top: 16px;
left: 70px;
background-image: url(http://www.indonesia.travel/public/media/images/upload/poi/Danau%20Segara%20Anak%20-%20Gallery.jpg);
}
yes, it is possible
here you can download the plugin: http://almogbaku.github.io/imageMask/
Create image element
<img src="image.jpg" class="mySelector" />
Create mask image(black will keep stay, and the transparent will cutted of) mask
Add imageMask query to the ready event. use function .imageMask(path_to_mask)
$( document ).ready( function() {
$( ".mySelector" ).imageMask( "mask.png" );
} );
You can add some callback handler
$( document ).ready( function() {
$( ".mySelector" ).imageMask( "mask.png", function( $canvas ) {
console.log( 'Do something here!', $canvas );
} );
} );
DONE!
It is basically possible in many ways.
The easiest, I think, is to create a "mask" with all the white lines, and using a transparent background. Then simply put your mask on top of your image, and voila.
EDIT
Here's your mask : Click !
EDIT 2
If you want to protect your image against copy, maybe it's better to not upload it, and just showing modified img online =)