[X] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
Description
Dependencies
Testing?
Add this field to Definition field in Trait content type.
Move the this field out of disabled fields list in Manage Display. Click Save.
The fieldgroup/Tripal Pane should contain this class 'ap-phenotype-image'. This will allow
the JS to account for other element when positioning left or right. To update class list, click cog icon of fieldgroup/tripal pane
then update the Extra CSS classes and add ap-phenotype-image. Click save.
The field has its own settings. Clicking the cog will show options for stacking order of image as well as the position. Select configuration options and click save.
Load Tripal 3 page for a specific trait with image.
Examples:
Top to Bottom, Float Left
Left to Right, Float Right
Left to Right, No position
NOTE: When set to position none, the order with which the field appears in the manage fields is the order it will show in the frontend. For example, If phenotype image field was listed before Definition field, It will show the Image above the Definition text.
Content, image and text-image ratio will adjust as window resizes.
This field assumes that you are adding this field to a fieldgroup that has another field that has element where the value/content was entered through Drupal Textarea field.
This PR will implement a Tripal 3 field that will fetch trait image/photo uploaded in Upload data functionality of this module.
Metadata
Documentation:
Description
Dependencies
Testing?
Examples: Top to Bottom, Float Left
Left to Right, Float Right
Left to Right, No position
NOTE: When set to position none, the order with which the field appears in the manage fields is the order it will show in the frontend. For example, If phenotype image field was listed before Definition field, It will show the Image above the Definition text.
Content, image and text-image ratio will adjust as window resizes.
This field assumes that you are adding this field to a fieldgroup that has another field that has element where the value/content was entered through Drupal Textarea field.