Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. web
  3. mln Drag Drop Gallery v 18.0
  4. Sales Conditions FAQ

mln Drag Drop Gallery

by melon
Odoo

$ 45.94

v 18.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 898
Technical Name mln_drag_drop
LicenseLGPL-3
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 898
Technical Name mln_drag_drop
LicenseLGPL-3
mln Drag Drop Gallery

Module icon

mln · Drag Drop Image Gallery

Odoo 18 backend forms: One2many multi-image in one place — batch upload (drag in several images or multi-select in the file dialog), zoom preview (click a thumbnail for a full-screen lightbox; close with Esc, backdrop, or the close control), download (per-image button bottom-left; toolbar Download all (ZIP) for saved lines only). Use widget="drag_drop_images" in the view; the child model needs an image field and optional name for file name / title.

Core features · Upload · Preview · Download

Batch upload

Drag multiple images into the dashed area, or click Drag or Upload and multi-select in the file dialog; each image creates one child line. On upload, the original file name is written to child name (define that field on the child model) for list display and download names.

Zoom preview

Click the thumbnail to open a dark overlay lightbox; the large image scales to the window. Close with Esc, clicking the backdrop, or the × control. Optional enable_zoom adds a slight hover zoom effect.

Download

Single: green circular button bottom-left; triggers save on the current page, same tab (same-origin /web/image).
Bulk: toolbar Download all (ZIP) only packs saved child lines; save the parent form first. ZIP entry names prefer child line name.

Screenshots

Screenshots are shipped as screenshot_2.png and screenshot_2.png in this folder. Replace them before publishing if you want different captures (about 560–900px wide, PNG or JPG).

Figure 1 Gallery: upload / download / ZIP

mln multi-image drag-drop, ZIP batch download, single download

Typical layout: toolbar Download all (ZIP), per-image download bottom-left / delete × top-right, caption below, Drag or Upload on the right with multi-select.

Figure 2 Alongside other form fields (sample layout)

mln drag-drop widget layout in a form

Works next to Char, Many2one, etc.; suitable for service photos, product attachments, work order galleries, and similar.

Overview

  • Widget: drag_drop_images for One2many fields.
  • Batch upload: multi-file drag-and-drop or file input multiple; one child row per image; child name recommended for captions.
  • Zoom preview: click thumbnail for lightbox; Esc and backdrop to close.
  • Download: single image without a new tab; bulk ZIP via server (saved child rows, read access).
  • Child model: binary / image field (often image_1920); optional previewImage for thumbnails.
  • Theme compatibility: controls use span role="button" where possible.
  • Built-in demo: menu mln Drag Drop → Demo.

Quick start · XML example

Child model with an image field (example image_1920) and name (recommended):

<field name="line_ids"
       widget="drag_drop_images"
       options="{
           'childImageField': 'image_1920',
           'acceptedFileExtensions': 'image/*',
           'extraData': {
               'previewImage': 'image_128',
               'cssStyles': 'width:120px;height:120px;object-fit:cover;border-radius:8px;',
               'enable_zoom': true
           }
       }"/>
            

Options summary:
childImageField — child image field (default image_1920).
acceptedFileExtensions — default image/*.
extraData — defaults for new lines; preview/zoom keys are UI-only. Lightbox, single download, and ZIP are built in (ZIP needs saved rows). Full details in README.md.

FAQ

ZIP button does nothing?
Bulk ZIP only includes saved child lines. Save the parent form first.
Captions under thumbnails all say “Image”?
Ensure child name is writable; upload fills the original file name.
Images visible before save, blank after?
Check child image field in relatedFields and required fields / extraData.
Delete control not visible?
Upgrade the module; delete uses a span for theme compatibility.
Migrating from eis_drag_drop?
Uninstall the old module, then install mln_drag_drop; see README.md.

mln Drag Drop Gallery · Odoo 18 · LGPL-3
Batch upload · zoom preview · single and ZIP download — see README.md.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with