Skip to main content

Displays scaled plone content images inside Thickbox.

Project description

Introduction

This package displays scaled Plone content images inside Thickbox.

Overview

If you upload a standalone image into your site this package allows you to display your image preview in a thickbox instead of redirecting to a stand-alone page.

Further, if you link from a scaled version to a full version of an image inside the TinyMCE editor this package allows you to display the full version view in a thickbox.

Finally, if you upload images as part of a News Item content object into dedicated Image Field, then you also will get it’s original size preview in a thickbox.

Compatibility

This add-on was tested for the Plone 4.0 and 4.1 series. So it works for both:

  • old style image scales source urls like /image_thumb

  • as well as for new /@@images/image/thumb-like urls provided by plone.app.imaging package

Installation

  • to add the package to your Zope instance, please, follow the instructions found inside the docs/INSTALL.txt file

  • then restart your Zope instance and install the collective.imageinbox package from within the portal_quickinstaller tool.

Notes

If you install this add-on, thickbox will be automatically attached to all scaled versions of content images. If you don’t want to provide a full version preview for any of your images, then you have an option to do this by adding a noThickBox class name to your image html tag.

This package uses the prepOverlay plugin of jQuery library to display thickboxes.

Live Examples

Credits

Companies

martinschoel

Authors

Contributors

Changelog

1.0.1 - September 13, 2012

  • Fixed js error in case image has not src attribute. [vipod]

1.0 - May 4, 2012

  • Initial release [vipod]

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

collective.imageinbox-1.0.1.tar.gz (13.1 kB view details)

Uploaded Source

File details

Details for the file collective.imageinbox-1.0.1.tar.gz.

File metadata

File hashes

Hashes for collective.imageinbox-1.0.1.tar.gz
Algorithm Hash digest
SHA256 2aa2f1ee6d7524c6cc0ca42a15ba33d5666c1ca756b382a9de3d740f546e085e
MD5 d219c8bfe8d1ad74f4d5e2dea08d2fbb
BLAKE2b-256 c706bbd53b0b6b97f48572a7813010ad77cc00b3cf1113ec7872c6951635c360

See more details on using hashes here.

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