Coder Social home page Coder Social logo

carverrrr / roboflow_thumbnail Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 6 KB

This Git extension introduces a dynamic and animated image overlay feature designed to enhance web interactions, making them more engaging and data-rich. By leveraging an API to fetch image URLs, the extension creates a smooth carousel animation showcasing a model dataset. This functionality adds a new level of interactivity to the user experience.

JavaScript 100.00%

roboflow_thumbnail's Introduction

Dynamic Image Carousel on Hover - Chrome Extension

This Chrome extension dynamically fetches and displays images in a carousel when hovering over thumbnails on universe.roboflow.com. The extension enhances the user experience by providing a preview of images linked from the thumbnails.

Features

  • Fetches images dynamically from linked pages.
  • Displays images in a carousel on hover.
  • Easy to install and use.

Installation

  1. Clone or Download the Repository

    Clone the repository to your local machine or download the ZIP file and extract it.

    git clone https://github.com/your-username/your-repo-name.git
    
     2.	Open Chrome and Go to Extensions

Open Chrome and navigate to chrome://extensions/. 3. Enable Developer Mode Enable “Developer mode” by toggling the switch in the top right corner. 4. Load Unpacked Extension Click “Load unpacked” and select the directory where you cloned or extracted the repository. 5. Extension Installed The extension should now be installed and active in your browser.

Usage

1.	Navigate to Roboflow Universe

Open Chrome and navigate to universe.roboflow.com. 2. Hover Over Thumbnails Hover over the thumbnails on the webpage. The extension will dynamically fetch and display images in a carousel, providing an animated preview of the linked images.

Development

Files

•	manifest.json: Defines the extension’s metadata and permissions.
•	content.js: Contains the JavaScript code that fetches and displays the images.
•	styles.css: Contains the CSS styles for the image preview container.
•	background.js: (Optional) Contains background scripts if needed.

Key Functions

•	getImages(url): Fetches images dynamically from the provided URL.
•	setupHoverActions(thumbnail): Sets up the hover actions for each thumbnail.
•	injectAnimatedThumbnail(): Injects the hover functionality into the webpage.

roboflow_thumbnail's People

Contributors

carverrrr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.