Skip to content

Scroll view is not showing base64 images #16695

Closed
@rjamaro

Description

@rjamaro

Is this a bug report?

Yes

Have you read the Contributing Guidelines?

Yes

Environment

Environment:
OS: Windows 10
Node: 8.4.0
Yarn: Not Found
npm: 5.3.0
Watchman: Not Found
Xcode: N/A
Android Studio: 2.3.3

Packages: (wanted => installed)
react: 16.0.0 => 16.0.0
react-native: 0.50.1 => 0.50.1

Steps to Reproduce

My application does not show base64 images inside a Scrollview

(Write your steps here:)

  1. create a new react-native project
  2. On index.js include App.js and put App being executed
  3. Add a product json file to the project with one product and a property called products where two base64 images will be stored
  4. On App.js create a function to drilll down the object and create an image array of the base64 images
  5. Add a scrollview to render function
  6. Inside the scroll view add a call to the image array

Expected Behavior

The expected behavior was for the images to be displayed in the scroll view as an image carousel allowing the user to scroll through all the images

Actual Behavior

The application does not display the images in the scrollview. As an apart the scrollview doesn't display images stored locally but that have the style property in the image tag.

capture

Reproducible Demo

ScrollImage.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions