Image positioning fix
I just landed on trunk a fix for the annoying centering of all images. This was some code which we inherited in the fork, and which is likely deprecated with the newer versions of TCPDF.
The featured image setting is still observed from the admin panel, and the featured image will still be horizontally centered below the title and above the content. All other images should be aligned as displayed (and subject to the scaling factor as set in the admin panel; this fix only addresses the centering issue).
This latest trunk build also incorporates the two new shortcodes for manual icon placement and PDF page breaks (see the readme for details).
All that is necessary to update an existing installation is to pull wp-post-to-pdf-enhanced.php, wpptopdfenh_shortcodes.php, and readme.txt from /trunk in the svn repository and overlay the existing ones in your local plugin directory.
Feedback is welcome. Barring any issues with what I’ve added/fixed, this will likely be tagged version 1.0.1 (custom css support is looking more like 1.0.2).
Cheers, and Happy New Year!
- The topic ‘Image positioning fix’ is closed to new replies.