Coder Social home page Coder Social logo

artinmohajeri / image-size-limit-django Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.21 MB

Python 65.89% CSS 12.38% JavaScript 12.58% HTML 9.15%
backend database django django-python es6 file-size-analysis image image-processing image-scaler image-size

image-size-limit-django's Introduction

Image Size Limit Django

This is a mid-level project using (Django, bootstrap5, HTML5, CSS3 and js).

I have used ajax to send a json data(size, dimentions) asynchronously to the backend and then reuse that in the template.

if you upload an image more that 200KB, the javascript will prevent you to upload the file and it wont be stored in that database.

redLine

Write these commands in your terminall to run this web application ๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡

python -m venv .venv

.venv\Scripts\activate.bat

pip install -r requirements.txt

python manage.py runserver

Screenshot (183) Screenshot (181)

image-size-limit-django's People

Contributors

artinmohajeri avatar matintajik avatar

Stargazers

 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.