Welde Tekle

Welde Tekle

1604231580

Knowledge sharing platform for each major and field of expertise, Major-Ring

Team logo

Major-Ring_Presentation-01

Team introduction and project explanation video

Major-Ring_Presentation Material-02 Watch the video

Why did you make it?

Major-Ring_Presentation Material-03 Major-Ring_Publication-04 Major-Ring_Presentation Material-05 Major-Ring_Presentation Material-06 Major-Ring_Publication-07 Major-Ring_Presentation-08 Major-Ring_Presentation-09 Major-Ring_Presentation Material-10 Major-Ring_Presentation Material-11 Major-Ring_Presentation Material-12

Features of Major-Ring

Major-Ring_Presentation-13 Major-Ring_Presentation-14 Major-Ring_Presentation Material-15 Major-Ring_Presentation Material-17

Technology Stack (Technique Used)

Major-Ring_Presentation Materials-16

Installation process

$ git clone https://github.com/osamhack2020/WEB_Major-Ring_5mA.git
$ yarn or npm install
$ pip install flask
$ flask run

How to use the project (Getting Started)

* login

login

* Main page

Main page

  1. You can check information for each major
  2. When hovering over, you can check the deadline, eligibility and number of participants at a glance
  3. Quick notice check through the top slide
  4. You can check only the information you want through the filter

* notice board

notice board

  1. Grid arrangement to understand the posting date, title, and content at a glance
  2. Free communication between the same majors
  3. Check the major interests of the same majors through the hot bulletin board

* Bulletin board details

Bulletin board details

Team Information

Computer Configuration / Prerequisites Guide (Prerequisites)

  • Using a browser that supports ECMAScript 6
  • Recommended: Google Chrome version 77 or higher

Copyright and license information (Copyleft / End User License)

Download Details:

Author: osamhack2020

Source Code: https://github.com/osamhack2020/WEB_Major-Ring_5mA

#deno #node #nodejs #javascript

What is GEEK

Buddha Community

Knowledge sharing platform for each major and field of expertise, Major-Ring

Platform App Design | Cross-Platform Development Services

Cross-Platform Development Services

With the development in mobile app technology, a huge time saver as well as the quality maintainer technology is Cross-Platform App development. The development of an app that takes less time to develop as well as uses one technology to develop an app for both android and iOS is game-changing technology in mobile app development.

Want to develop or design a Cross-platform app?

With the successful delivery of more than 950 projects, WebClues Infotech has got the expertise as well as a huge experience of cross-platform app development and design. With global offices in 4 continents and a customer presence in most developed countries, WebClues Infotech has got a huge network around the world.

Want to know more about our cross-platform app designs?

Visit: https://www.webcluesinfotech.com/cross-platform-design/

Share your requirements https://www.webcluesinfotech.com/contact-us/

View Portfolio https://www.webcluesinfotech.com/portfolio/

#cross-platform development services #cross platform mobile app development services #cross-platform mobile app development services #cross platform app development services #hire cross platform app developer #hire cross-platform app developer india usa,

Upload, Preview & Download Images using JavaScript & PHP

In this guide, you’ll learn how to Upload, Preview & Download Images using JavaScript & PHP.

To create Upload, Preview & Download Images using JavaScript & PHP. First, you need to create two Files one PHP File and another one is CSS File.

1: First, create a PHP file with the name of index.php

 

<?php
//if download button clicked
if(isset($_POST['downloadBtn'])){
    //getting the user img url from input field
    $imgURL = $_POST['file']; //storing in variable
    $regPattern = '/\.(jpe?g|png|gif|bmp)$/i'; //pattern to validataing img extension
    if(preg_match($regPattern, $imgURL)){ //if pattern matched to user img url
        $initCURL = curl_init($imgURL); //intializing curl
        curl_setopt($initCURL, CURLOPT_RETURNTRANSFER, true);
        $downloadImgLink = curl_exec($initCURL); //executing curl
        curl_close($initCURL); //closing curl
        // now we convert the base 64 format to jpg to download
        header('Content-type: image/jpg'); //in which extension you want to save img
        header('Content-Disposition: attachment;filename="image.jpg"'); //in which name you want to save img
        echo $downloadImgLink;
    }
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Image Download in PHP | Codequs</title>
    <link rel="stylesheet" href="style.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"/>
    <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
</head>
<body>
    <div class="wrapper">
        <div class="preview-box">
            <div class="cancel-icon"><i class="fas fa-times"></i></div>
            <div class="img-preview"></div>
            <div class="content">
                <div class="img-icon"><i class="far fa-image"></i></div>
                <div class="text">Paste the image url below, <br/>to see a preview or download!</div>
            </div>
        </div>
        <form action="index.php" method="POST" class="input-data">
            <input id="field" type="text" name="file" placeholder="Paste the image url to download..." autocomplete="off">
            <input id="button" name="downloadBtn" type="submit" value="Download">
        </form>
    </div>
    <script>
        $(document).ready(function(){
            //if user focus out from the input field
            $("#field").on("focusout", function(){
                //getting user entered img URL
                var imgURL = $("#field").val();
                if(imgURL != ""){ //if input field isn't blank
                    var regPattern = /\.(jpe?g|png|gif|bmp)$/i; //pattern to validataing img extension
                    if(regPattern.test(imgURL)){ //if pattern matched to image url
                        var imgTag = '<img src="'+ imgURL +'" alt="">'; //creating a new img tag to show img
                        $(".img-preview").append(imgTag); //appending img tag with user entered img url
                        // adding new class which i've created in css
                        $(".preview-box").addClass("imgActive");
                        $("#button").addClass("active");
                        $("#field").addClass("disabled");
                        $(".cancel-icon").on("click", function(){
                            //we'll remove all new added class on cancel icon click
                            $(".preview-box").removeClass("imgActive");
                            $("#button").removeClass("active");
                            $("#field").removeClass("disabled");
                            $(".img-preview img").remove();
                            // that's all in javascript/jquery now the main part is PHP
                        });
                    }else{
                        alert("Invalid img URL - " + imgURL);
                        $("#field").val('');//if pattern not matched we'll leave the input field blank
                    }
                }
            });
        });
    </script>
    
</body>
</html>

 

2: Second, create a CSS file with the name of style.css

 

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
html,body{
    display: grid;
    height: 100%;
    place-items: center;
}
::selection{
   color: #fff;
   background: #4158d0;    
}
.wrapper{
    height: 450px;
    width: 500px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
}
.wrapper .preview-box{
    position: relative;
    width: 100%;
    height: 320px;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    border: 2px dashed #c2cdda;
}
.preview-box.imgActive{
    border: 2px solid transparent;
}
.preview-box .cancel-icon{
    position: absolute;
    right: 20px;
    top: 10px;
    z-index: 999;
    color: #4158d0;
    font-size: 20px;
    cursor: pointer;
    display: none;
}
.preview-box.imgActive:hover .cancel-icon{
    display: block;
}
.preview-box .cancel-icon:hover{
    color: #ff0000;
}
.preview-box .img-preview{
    height: 100%;
    width: 100%;
    position: absolute;
}
.preview-box .img-preview img{
    height: 100%;
    width: 100%;
    border-radius: 5px;
}
.wrapper .preview-box .img-icon{
    font-size: 100px;
    background: linear-gradient(-135deg, #c850c0, #4158d0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.wrapper .preview-box .text{
    font-size: 18px;
    font-weight: 500;
    color: #5B5B7B;
}
.wrapper .input-data{
    height: 130px;
    width: 100%;;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
}
.wrapper .input-data #field{
    width: 100%;
    height: 50px;
    outline: none;
    font-size: 17px;
    padding: 0 15px;
    user-select: auto;
    border-radius: 5px;
    border: 2px solid lightgrey;
    transition: all 0.3s ease;
}
.input-data #field.disabled{
    color: #b3b3b3;
    pointer-events: none;
}
.wrapper .input-data #field:focus{
    border-color: #4158d0;
}
.input-data #field::placeholder{
    color: #b3b3b3;
}
.wrapper .input-data #button{
    height: 50px;
    width: 100%;
    border: none;
    outline: none;
    color: #fff;
    font-weight: 500;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    opacity: 0.5;
    pointer-events: none;
    background: linear-gradient(-135deg, #c850c0, #4158d0);
    transition: all 0.3s ease;
}
.input-data #button.active{
    opacity: 1;
    pointer-events: auto;
}
.input-data #button:active{
    transform: scale(0.99);
}

Now you’ve successfully created a How to Upload, Preview & Download Image using JavaScript & PHP.

Welde Tekle

Welde Tekle

1604231580

Knowledge sharing platform for each major and field of expertise, Major-Ring

Team logo

Major-Ring_Presentation-01

Team introduction and project explanation video

Major-Ring_Presentation Material-02 Watch the video

Why did you make it?

Major-Ring_Presentation Material-03 Major-Ring_Publication-04 Major-Ring_Presentation Material-05 Major-Ring_Presentation Material-06 Major-Ring_Publication-07 Major-Ring_Presentation-08 Major-Ring_Presentation-09 Major-Ring_Presentation Material-10 Major-Ring_Presentation Material-11 Major-Ring_Presentation Material-12

Features of Major-Ring

Major-Ring_Presentation-13 Major-Ring_Presentation-14 Major-Ring_Presentation Material-15 Major-Ring_Presentation Material-17

Technology Stack (Technique Used)

Major-Ring_Presentation Materials-16

Installation process

$ git clone https://github.com/osamhack2020/WEB_Major-Ring_5mA.git
$ yarn or npm install
$ pip install flask
$ flask run

How to use the project (Getting Started)

* login

login

* Main page

Main page

  1. You can check information for each major
  2. When hovering over, you can check the deadline, eligibility and number of participants at a glance
  3. Quick notice check through the top slide
  4. You can check only the information you want through the filter

* notice board

notice board

  1. Grid arrangement to understand the posting date, title, and content at a glance
  2. Free communication between the same majors
  3. Check the major interests of the same majors through the hot bulletin board

* Bulletin board details

Bulletin board details

Team Information

Computer Configuration / Prerequisites Guide (Prerequisites)

  • Using a browser that supports ECMAScript 6
  • Recommended: Google Chrome version 77 or higher

Copyright and license information (Copyleft / End User License)

Download Details:

Author: osamhack2020

Source Code: https://github.com/osamhack2020/WEB_Major-Ring_5mA

#deno #node #nodejs #javascript

Top Cross-Platform App Developers in USA

Are you looking for the best Cross-Platform app developers in USA? AppClues Infotech has the best expertise to create mobile app on Android & iOS platform. Get in touch with our team for the right Cross-Platform app development solution.

For more info:
Website: https://www.appcluesinfotech.com/
Email: info@appcluesinfotech.com
Call: +1-978-309-9910

#cross-platform app development #cross-platform framework development #cross-platform mobile app development #top cross platform app developers in usa #top cross platform app developers in usa #develop a cross-platform mobile app

Cross Platform Mobile App Development Company in USA

AppClues Infotech is a top-notch cross platform mobile app development company in USA. With strong mobile app designers & developers team that help to create powerful cross-platform apps using the current market technologies & functionalities.

For more info:
Website: https://www.appcluesinfotech.com/
Email: info@appcluesinfotech.com
Call: +1-978-309-9910

#cross platform mobile app development company #best cross platform mobile app development #cross platform app development services #top cross platform app development company #cross-platform app development usa #hire cross-platform app developer