Ticket #13809 (new Bug)

Opened 2 years ago

Last modified 20 months ago

plone.app.jquerytools image overlay position

Reported by: fragfutter@… Owned by: vangheem
Priority: minor Milestone: 4.x
Component: JavaScript Version: 4.3
Keywords: Cc:

Description

plone.app.jquerytools 1.5.6 does not center overlays with subtype image.

Add a javascript that automaticly adds overlay links to bigger images for any content image. Slightly adapted for plone 4.3. See  https://pypi.python.org/pypi/plone.app.jquerytools/1.5.6#examples

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

The overlay will show and is functional, but it is not centered on the page. For plone 4.2 this worked.

Change History

comment:1 Changed 20 months ago by cwainwright

  • Owner set to vangheem
  • Component changed from Unknown to JavaScript
Note: See TracTickets for help on using tickets.