Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rich Text - Smaller Images are enlarged to fill the field #4420

Closed
githubbob42 opened this issue Jan 13, 2017 · 3 comments
Closed

Rich Text - Smaller Images are enlarged to fill the field #4420

githubbob42 opened this issue Jan 13, 2017 · 3 comments

Comments

@githubbob42
Copy link
Owner

Mingle Card: 4758
Steps to Reproduce

| | |
|-|-|
|**Version #**|4.0.1.pr2202 (4.0.1.br371)|
|**Hardware**|Surface Pro 3|
|**OS**|Windows 10 Pro|
|**Browser**|Chrome 55.0.2883.87 m (64-bit)|
|**URL**|[https://fxqa2.herokuapp.com](https://fxqa2.herokuapp.com) |
|**Admin User**|[email protected] / computer45|
|**Field User**|[email protected] / computer45|
|ORG ID| |
|User ID| |
|RayGun Error ID| |
  
 

  1. Log in to FieldFX Mobile with the ‘QA Field’ user.
  2. Click Tickets, select the ‘Rich Text Field’ Ticket, and then click ‘Forms’.
  3. Create a new ‘Inspection’ form and add an image to any Rich Text field that’s smaller than 1396x296 – I used a 256x256 image (attached)

Expected Result

  • The image is displayed at 256x256 pixels.

Actual Result

  • The image is enlarged to 1355x1360 pixels and thus becomes very grainy and distorted.

Analysis

Related Cards

Test Plan

@githubbob42
Copy link
Owner Author

Related Story: #4381 Support large image uploads in Rich Text Fields (Mingle)

@githubbob42
Copy link
Owner Author

Pull Request #2207

@githubbob42
Copy link
Owner Author

Matthew Todd : 01/13/2017 15:00 CST
Test Result: Passed PR Build: 4.0.1.pr2207 Admin User: [email protected] Field User: [email protected] Hardware: Surface Pro 3 | iPad Air 2 OS: Windows 10 Pro | iOS 10.2 Browser: Chrome 55.0.2883.87 m (64-bit) | Safari URL: https://hunterpeak.herokuapp.com Test Case: Rich Text Fields - Add Image from Mobile (4718, 4747, 4758) Test Notes: When adding smaller images to a rich text field, they're no longer expanding and filling up the size of the field - they'll stay at their correct size and will shrink down as the field gets smaller, but will never exceed the size of the field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant