Frappe Preview Attachment

Frappe Attachment Preview

Install Frappe Preview Attachment

bench get-app https://github.com/Z4nzu/frappe-preview-attachment

Add the Frappe Gems badge to your README

Maintain Frappe Preview Attachment? Paste this into your README:

[![Listed on Frappe Gems](https://frappegems.com/api/method/frappe_gems.seo.badge?app=Z4nzu%2Ffrappe-preview-attachment)](https://frappegems.com/gems/apps/Z4nzu/frappe-preview-attachment)

About Frappe Preview Attachment

Frappe Attachment Preview

This Frappe app introduces a functionality to preview file attachments directly within the Frappe framework. By adding an icon next to each attachment, users can quickly view the content of attached files without downloading them.

Features

  • Preview Dialog: Provides a dedicated icon for each attachment that opens a dialog box to preview the file when clicked.
  • Draggable and Resizable Dialog: The preview dialog can be stretched, dragged, and moved for better usability.
  • Supports Multiple File Types: View various file formats directly in the browser, including:
    • Images
    • PDFs
    • Videos
    • Text Files
    • JSON Files
    • XML Files
  • Enhanced User Experience: Saves time by allowing users to preview attachments without opening in a new tab.

Screenshots

Add screenshots here to demonstrate the functionality: 1

2

3

Installation

Follow these steps to install and use the app:

  1. Clone the Repository
   bench get-app https://github.com/Z4nzu/frappe-attachment-preview.git
2. **Install the App**
    ```bash
   bench --site your-site-name install-app frappe_attachment_preview
  1. Restart Bench bash bench restart

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests to improve this app.

  1. Fork the repository.
  2. Create a feature branch (git checkout -b your-feature).
  3. Commit your changes (git commit -m "Add your feature").
  4. Push to the branch (git push origin feature/your-feature).
  5. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Related Developer Tools apps for Frappe & ERPNext

  • Frappe — Low code web framework for real world applications, in Python and Javascript
  • Frappe Docker — Docker environment for developing, deploying, and running Frappe applications (ERPNext and custom apps) in production and development
  • Builder — Craft beautiful websites effortlessly with an intuitive visual builder and publish them instantly
  • Bench — CLI to manage Multi-tenant deployments for Frappe apps
  • Frappe Ui — A set of components and utilities for rapid UI development
  • Press — Full service cloud hosting for the Frappe stack - powers Frappe Cloud
  • Gameplan — Open Source Discussions Platform for Remote Teams
  • Doppio — A Frappe app (CLI) to magically setup single page applications and Vue/React powered desk pages on your custom Frappe apps.