Skip to main content

A filerobot image editing widget for Wagtail Image fields.

Project description

filerobot

A wagtail widget to add filerobot image editor to your wagtail fields.

Quick start

  1. Add 'filerobot' to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
    ...,
    'filerobot',
    ]
    
  2. Import and use the widget on your model

    import filerobot
    
    class HomePage(Page):
        content_panels = [
            FieldPanel('image', widget=FileRobotWidget(
                tabs=[
                    "Finetune",
                    "Filters",
                    "Adjust",
                    # "Watermark",
                    "Annotate",
                    # "Resize",
                ],
                # ... check init method and filerobot docs
            )),
        ]
    
        image = models.ForeignKey(
            "wagtailimages.Image",
        )
    
  3. Add the URLs to your urls.py

    from django.urls import path, include
    
    urlpatterns = [
       path('filerobot/', include('filerobot.urls')),
    ]
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wagtail-filerobot-1.0.3.tar.gz (312.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page