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

Image Manipulation #2

Closed
ranafaraz opened this issue Mar 18, 2018 · 4 comments
Closed

Image Manipulation #2

ranafaraz opened this issue Mar 18, 2018 · 4 comments
Assignees
Labels
enhancement New feature or request Functional Requirement This issue refers to some functional requirements Non-Functional Requirements This issue refers to some non functional requirements

Comments

@ranafaraz
Copy link
Owner

ranafaraz commented Mar 18, 2018

Details:

  • The HTML element being used to upload an image shouldn't act as a required field.
  • All the images being uploaded from HTML forms, shall be resized before saving to the directory.
  • The thumbnails of the images shall also be resized according to appropriate dimension in contrast to the content & layout of the page.
  • The application shouldn't ask for all three images while updating any record.
@ranafaraz ranafaraz changed the title Resize image thumbnails Image Manipulation Mar 18, 2018
@ranafaraz ranafaraz assigned GullNadia and unassigned GullNadia Mar 18, 2018
@GullNadia
Copy link
Collaborator

image manipulation issues resolved
Now we can upload all the 3 images r may skip any one of these

@GullNadia
Copy link
Collaborator

Add a rule for image size like this:
[['adv_Photo'], 'image', 'extensions' => 'png, jpg',
'minWidth' => 100, 'maxWidth' => 200,
'minHeight' => 100, 'maxHeight' => 300,],

@ranafaraz
Copy link
Owner Author

ranafaraz commented Mar 25, 2018

A sample image portraying, how the uploaded images are supposed to be displayed on the Advocate's profile page.

Image Size of CNIC & License - 300 x 200.

profile-cnic-license

@ranafaraz
Copy link
Owner Author

ranafaraz commented Mar 25, 2018

An issue encountered while updating the profile of an advocate.

The HTML Elements to upload a file(image) are flashed and do not have last inserted value in them. It means the user has to insert all three images again upon each update. Screenshot is attached.

image

@ranafaraz ranafaraz added enhancement New feature or request Functional Requirement This issue refers to some functional requirements Non-Functional Requirements This issue refers to some non functional requirements labels Mar 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Functional Requirement This issue refers to some functional requirements Non-Functional Requirements This issue refers to some non functional requirements
Projects
None yet
Development

No branches or pull requests

2 participants