{"repo":"humanmade/smart-media","free":true,"listed":false,"github":"https://github.com/humanmade/smart-media","clone":"git clone https://github.com/humanmade/smart-media.git","description":"Smart Media enhancements for WordPress","language":"PHP","stars":89,"topics":["aws-rekognition","wordpress","machine-learning"],"license":null,"category":"machine-learning","readme_excerpt":"Smart Media Enhanced media library features for WordPress. A Human Made project. Maintained by @roborourke. Smarter media features for WordPress. Some features in this plugin will work on their own however some are designed to augment the existing tools we use such as Tachyon. Features Justified media library The media library shows square thumbnails by default which can make it harder to find the right image. This feature makes the thumbnails keep their original aspect ratio, similar to the UI of Flickr. To disable the feature add the following: Image editor This feature overrides the built in WordPress image editing experience and gives you control over the crops of individual thumbs. There are also some UX improvements meaning there are fewer clicks required to make edits. To disable the feature add the following: The image cropping UI provides support for updating Gutenberg block attributes based on the current selection using the following filters: - smartmedia.cropper.updateBlockAttributesOnSelect. - smartmedia.cropper.selectSizeFromBlockAttributes. In the above filters should be replaced a dot separated version of your block name, for example core/image becomes core.image . The core image block attributes are mapped by default. Mapping the selected image to block attributes: Update the cropping UI selected size based on selected block attributes: The function takes 2 parameters: - block : The name of the block to map attributes for - callback : A function that accepts ","default_branch":null,"files":null,"tree":[],"storefront":"/r/humanmade","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/humanmade/smart-media/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}