GET CONSULTING SUPPORT

Filestack logo with an orange document icon on the left and the word filestack in bold black letters on the right.
  • PRODUCTS
    • Uploads
    • Transformations
    • Delivery
    • AI
    • Workflows
  • FEATURES
  • DEMOS
  • DOCS
  • RESOURCES
    • Blog
    • Case Studies
    • Glossary
    • SDKs
      • JavaScript
      • React
      • Angular
      • Python
      • Java
      • PHP
    • Free File Conversion
      • WEBP to JPG
      • WEBP to PNG
      • JPG to WEBP
      • JPG to PNG
      • PNG to GIF
      • JPG to GIF
      • WEBP to PDF
      • BMP to PDF
      • More Tools
  • PRICING
Sign Up Free
Log In

  • Getting Started
    • Overview
    • What is Filestack?
    • How Filestack Works
    • Quick Start
    • Filestack File Picker Code Generator
    • What’s New
  • Uploads
    • File Pickers
    • Uploading
    • Drag and Drop
    • Custom Source
    • Storage
    • Digital Asset Management
  • Delivery
    • CDN
    • Custom CNAME
    • Storage Aliases
    • Document Viewer
  • Transformations
    • Processing Engine
    • Transformations UI
  • Security
    • Security Policies
    • Domain Whitelists
  • Workflows
    • Workflows
  • Intelligence
    • Image Tagging
    • Image SFW
    • Image Captioning
    • Image Sentiment
    • Phishing Detection
    • Text Sentiment
    • Video Tagging
    • Video SFW
    • Copyright Detection
    • Optical Character Recognition
    • Document Detection
    • Virus Detection
  • API Reference
    • File API
    • Processing API
    • Video and Audio Processing API
    • Webhooks
    • Workflows API
  • Framework Sdks
    • Android
    • Angular
    • Go
    • Java
    • JavaScript
    • PHP
    • Python
    • React
    • Ruby
  • Styling
    • CSS Reference
  • Tutorials

javascript

Validate Dimension Constraints for Local Images

Published Monday, Jun 4, 2018

Implement the onFileSelected callback to set image dimension constraints on local files, ensuring they meet your specific requirements.

javascript picker

Illustration of a code editor window with colorful horizontal lines representing code on a dark background, set against a pink to peach gradient backdrop.

Add the web picker to your HTML forms

Published Wednesday, May 23, 2018

Explore how to extract user files via the picker and seamlessly integrate them into a basic HTML form, enhancing overall user interaction.

javascript picker

A close-up of a computer screen displaying HTML code with colored syntax, including tags like ``, ``, and ``, and class attributes for a navigation menu.
  • android
  • cloud
  • custom source
  • images
  • ios
  • java
  • javascript
  • oauth
  • picker
  • security
  • swift
  • transformations
  • transformations-ui
  • WORDPRESS
  • workflows

Join the 100,000+ Applications Using Filestack

Getting started is fast, free, and easy. Improve your file upload performance today. Sign up now for free or contact us at support@filestack.com. We are always here to help.

Sign Up Free
Plans & Pricing

COMPANY

About
Contact Us
Pricing
Careers
Legal
Privacy Policy

PRODUCTS

Uploads
Image Transformations
File Transformations
Audio & Video Transformations
Deliver
Artificial Intelligence
Workflows
Low Code
Cloud Storage

USE CASES

Startup
Customers
Print
Drone
Ed-tech
Editor Integration

RESOURCES

Blog
Documentation
Glossary
Tutorials
Status Page
Whitepapers
FAQs

SDK

JavaScript
React
Angular
Python
Java
PHP

FREE TOOLS

HEIC to WEBP
SVG to WEBP
WEBP to JPG
WEBP to PNG
PNG to GIF
JPG to GIF
PNG to JPG
JPG to PNG
More Tools

© 2025 Filestack. All rights reserved.

SOC2 Compliant

  • Follow
  • Follow
  • Follow