Ticket #13809 (new Bug)
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
Note: See
TracTickets for help on using
tickets.