This repository was archived by the owner on Mar 1, 2020. It is now read-only.
Open
Conversation
Implements the Image Upload in species
Add field for file upload
This column saves the image file
Added a function showImage on Image.php that shows a html images on view. Receiving html class , a row and an alt as parameters. Changed systematics_taxonomists to work with image_content Changed taxonomists and taxonomists_cards to use showImage function
Try importing this sql file in phpmyadmin.
Added image preview inside Media component.
Image upload binary
Added Image_Content Row in the systematics_species, systematics_taxa and systematics_taxa_types
Now every image that gets uploaded is saved inside 'admin/images' folder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added image saving functionality to save inside database, as binary, and inside admin/image folder as a local file.
Created an HTML function to show binary images from database ( showImage function - inside libraries/HTML/Image.html )
Updated core_install.sql as core_install_image_test.sql to create ImageContent row inside Systematics Species, Taxa, TaxaTypes and Taxonomists.