Still working on image preview

This commit is contained in:
vrde 2015-06-04 17:17:39 +02:00
parent 13caad7794
commit ff6855970e
1 changed files with 5 additions and 1 deletions

View File

@ -15,7 +15,11 @@ import InjectInHeadMixin from '../../mixins/inject_in_head_mixin';
let Image = React.createClass({
render() {
return (<img src={this.props.preview} />);
return (
<a href={this.props.url} target="_blank" >
<img src={this.props.preview} />
</a>
);
}
});