title: React-Native image viewer with zoom and swiper
body: <p>I have an array of images in a Swiper, where I can swipe through them, and when I click in on of them it open on a Modal (using Lightbox). But Lightbox doesn't have Pinch-to-Zoom or swiping.</p>
  
  <p>So im looking for a solution to this. I already have a swiper, but when I open an image, I want to still be able to swipe through all the images (just like Facebook, you can view all the photos, or open one and swipe through them). In addition to this I need to be able to Pinch-to-Zoom.</p>
  
  <p>Right now this is my code:</p>
  
  <p>(Relevant code)</p>
  
  <pre><code>      &lt;Swiper
          styles={{flex: 1}}
          height={250}
          renderPagination={this.renderPagination}
          paginationStyle={{
            bottom: -23, left: null, right: 10
          }} loop={false}&gt;
            {this.state.imagens.map((item, index) =&gt; {
              return(
                &lt;NetworkImage
                  source={{uri: `URL/${item.Ficheiro}`, height:250, width: Dimensions.get('window').width}}&gt;
                  &lt;Lightbox navigator={this.props.navigator}&gt;
                    &lt;Image
                      style={{ height: 300 }}
                      source={{ uri: `URL/${item.Ficheiro}` }}
                    /&gt;
                  &lt;/Lightbox&gt;
                &lt;/NetworkImage&gt;
              );
            })}
        &lt;/Swiper&gt;
  </code></pre>
  
  <p>Im using this library for the swiper <a href="https://github.com/leecade/react-native-swiper" rel="noreferrer">https://github.com/leecade/react-native-swiper</a> and I saw it has a PhotoView, but I couldn't get it to work.</p>