Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7499177
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T19:44:03+00:00 2026-05-29T19:44:03+00:00

Pipbox says it’s Plone 4 compatible way to do AJAX pop-ups in Plone 3.

  • 0

Pipbox says it’s “Plone 4 compatible way to do AJAX pop-ups in Plone 3”.

http://plone.org/products/pipbox

Then, what’s the proper way of doing jQuery Tools image pop-ups in Plone 4?

  • Scan HTML for images using selector

  • Install click handler

  • On click open the image in pop-up, using one of predefined sizes from plone.app.imaging

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T19:44:06+00:00Added an answer on May 29, 2026 at 7:44 pm

    All pipbox really does is load plone.app.jquerytools support in Plone 3. In Plone 4, plone.app.jquerytools is built in.

    plone.app.jquerytools loads jQuery Tools and some Plone-specific support for easy AJAX popups. That support allows you to associate AJAX popups with jQuery-selectable page components. See the PYPI page for full documentation.

    A quick example: let’s say that you want to set up lightbox-style popups for images in the content area using the preview-scale supplied by plone.app.imaging. JS to do this is:

    jQuery( function($) {
      $('img.image-right, img.image-left, img.image-inline')
        .prepOverlay({
          subtype: 'image',
          urlmatch: '/image_.+$',
          urlreplace: '/image_preview'
          });
    });
    

    You would load this code by registering a javascript resource as a skin or browser layer, then add it to the portal_javascripts js resources.

    The code:

    1. Sets up a function to load when the page is ready, with “jQuery” aliased to “$”;
    2. Selects all image items in the page that use the styles used by the visual editor;
    3. Calls the prepOverlay routine (from plone.app.jquerytools) to associate them with overlays;
    4. Specifies that the overlays will be images, which means that size information may be determined from the loaded image;
    5. Does a little regular expression matching and replacing to pick up the image URL and convert it to a preview.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm unable to make my pictureboxes to be shown on form. Am i doing
I am creating a few pictureboxes dynamically, then assigning the following: // class variable
I have been searching for about 12 hours now trying to find a way
Hello i am trying to modify the variable popText but failing on the ajax
I've tried PopBox to have a textarea pop up, but the functionality of PopBox
This is my Server side code: public void ReceivingData(object sender, EventArgs e) { while
i am working on a puzzle slider program and trying to randomize images inside
I have a system set up currently that is using celery with a redis
I am making a small game as sort of a test project, nothing major.
Has anyone used pidbox.Mailbox ? I am attempting to do something similar to that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.