Cannot exclude images from being watermarked
-
Installed WP Image Protect Lite 1.7.1.
Using WP 3.5.1, TwentyEleven theme. Other possibly relevant plugin used: Simple Gallery
It works OK except that I cannot exclude any images (e.g. header images), despite setting them to be excluded in the Media library, also from the function that sets an image as Featured image (so it becomes header for a given page).
I found a bug in php/wpipp-image-manager.php at line 556:
$results = $wpdb->get_results( $wpdb->prepare( “SELECT ID FROM wp_posts where guid = %s AND post_type = ‘attachment'”, $url_string ) );It needs to be adjusted to use the prefix I use for the tables, which is not wp_.
This took care of an error being logged for every pageload.ALso found another bug in the script php/wpipp-install-check-class.php at line 82. It was checking for gd_version_info[“JPG Support”] but in my version of php it is called gd_version_info[“JPEG Support”].
I fixed both bugs and uploaded the scripts.
Still I am unable to exclude images. I don’t know if I should in fact reinstall the plugin so it can detect properly that there is “JPEG Support” because when I installed it that test failed and I opted to override it.
I checked the database, and the postmeta table does show the value 1 for wpipp_exclude_from_watermark for some items, though I am not sure how to interpret that table’s content.
Thanks for any pointers.
- The topic ‘Cannot exclude images from being watermarked’ is closed to new replies.