Giter Club home page Giter Club logo

image-hosting-module's Introduction

Image Hosting Module

Host images from your Mendix application!

Configuration:

  1. Add the InitializeImageHosting sub microflow to the after start up flow.
  2. Add the overview snippet to a page and then add the page to your navigation
  3. Upload images to your database

Usage:

When an image is uploaded to the image entity, there will be an attribute for the url to access the uploaded image.

This url can be used to embed images into emails using the html image tag

Example:

<img src="http://localhost:8080/image?Name=07CAT-STRIPES-mediumSquareAt3X-v2.jpg" width="500" height="600">

Optional Setup:

The request handler name and attribute to query on can be changed by updating the two constants in this module.

The HostImage java action can be added to the after start up microflow for more advanced setup.

Mx8

A Mendix 8 module can be found in github

Disclaimer:

This java action does not apply any database access rules to access the image, the main intent is to host images for anonymous users and allow the image to be embedded into emails. It is not recommended to configure the request handler to expose any entities from the system module or any entities that contain sensitive information.

image-hosting-module's People

Contributors

austinmcnicholas avatar

Watchers

James Cloos avatar Erwin 't Hoen avatar  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.