=== External Images === == Changelog == = 2.52 (30th September 2020) = * Added new WPI Settings page where users can enter their license key to enable plugin updates = 2.51 (1st September 2020) = * Fixed bug with datafeedr imports - should have only been warning, but seems in some cases to have been breaking import of meta data for datafeedr * Fixed bug where empty images were overruling uploaded images * Fixed bug where empty gallery images were causing extra empty gallery image to appear (e.g. if you combine 5 image columns in WP All Import but one product has only 4 images it was creating a fifth broken image) = 2.50 (6th July 2020) = * Fixed bug with datafeedr comparison sets image override (external images will now correctly force comparison sets to use the external images) = 2.49 (2nd July 2020) = * Added custom post type gallery support - this enables the gallery meta box in all post types, but it's still up to the theme/plugin to actually make use of the gallery for that post type = 2.48 (29th June 2020) = * Fixed CSS dynamic resizing for 'related products' - was working for archives but not related products = 2.47 (29th June 2020) = * Added significant speed boosts - no actual need to check image sizes, so now it doesn't which massively speeds up imports. Instead it pretends like every image is 600x600 then relies on CSS displaying the image properly on the front end. = 2.46 (23rd June 2020) = * Updated DB version so conversions will happen from external_image_url to _external_image_url (array) again due to some past failed conversions * Recoded the conversion process to be a single code path and eliminate complications that may have been causing some images to not convert properly = 2.44 (23rd June 2020) = * Minor hot fix to ensure items are not marked as 'converted' prior to the external_image_url actually being entered * Removed error logging = 2.43 (22nd June 2020) = * Hot fix for some broken themes that were using 'placeholder' replacement technique = 2.42 (18th June 2020) = * 2nd Hot fix to handle placeholder based image replacement for some more difficult themes = 2.41 (18th June 2020) = * Hot fix from issue causing images not to convert properly = 2.40 (18th June 2020) = * Pushed Beta version live (see all beta edits if you're upgrading since last live version) = 2.39 Beta (18th June 2020) = * Fixed DB update code = 2.38 Beta (11th June 2020) = * Finished product variation galleries - now working on all themes I tested = 2.37 Beta (9th June 2020) = * Added galleries to product variations (this feature is definitely still beta - needs testing on a few themes) = 2.36 Beta (27th May 2020) = * Using belt & braces for DB update for anyone that was on earlier beta program = 2.35 Beta (26th May 2020) = * Added compatibility for WooCommerce Advanced Bulk Editor * Removed a lot of error logging for photon image resizing = 2.34 Beta (25th May 2020) = * Improved labelling of External Image field for variation images * Improved labelling on settings pages * Added Photon image resizing * Fixed migration/db update from beta 2.32 = 2.33 Beta (19th May 2020) = * Improved conversion code to be 100% resilient * Improved documentation in settings pages to be more useful * Made 'cropping' option actually set the CSS * Other updates after thorough testing with various product import tools to ensure images are re-imported correctly when the external_image_url field changes * Changed the defaults for the new Datafeedr options so existing users will continue to get the expected functionality without having to go to the settings page to set the new options = 2.32 Beta (14th May 2020) = * Added code to reset mapping meta_key when external_image_url is updated to a string - this mapping is what will then turn the string into an array of urls and sizes = 2.31 Beta (14th May 2020) = * Added improved SSL config to admin screen * Added image crop config to admin screen * Added option to control Datafeedr import - prevent download & resize images for archives & product comparison sets * Added mapping system to migrate old data to new data * Re-integrated SSL proxy for insecure images * Added updated DB update code to remove phantom images and map external_image_url across to new array = 2.30 Beta (5th May 2020) = * Added better config for featured image & product gallery on admin screen * Improved compatibility for all themes including Woodmart * Improved featured image and galleries on product detail page * Changed CSS to make image crop work better using newer object-fit property * Added config for images for product variations * Added ability to choose not to run external images for particular post types = 2.23 (19th July 2019) = * Removed thumb and featured image override when imports are underway, otherwise some import tools were trying to import the remote image URL = 2.22 (19th July 2019) = * Fixed code to properly replace the placeholder on archive pages - this means ON SALE flash, and other overlays from your theme will work as expected * Added zoom lightbox to product detail page including zoom, lightbox, full screen mode etc * Did a bit of code refactoring to tidy things up * Full compatibility with Zeen theme added * Added extra explanations to admin settings page for HTTP/HTTPS config * Added option to settings page to prevent double images in related products, recommended products and other mini-archives for some themes that have some particular sets of actions * Improved compatibility across all themes for archives and product detail * Added DB versioning and now storing external images as attachments in DB so that almost all themes should work immediately = 2.21 (17th July 2019) = * Added code to filter out empty images from gallery for those who do not know how many images they are importing and are simply importing img1|img2|img3 etc. Now, you can have img1|||| safely and only 1 image will be considered = 2.20 (16th July 2019) = * Added improved placeholder detection on archive so placeholder+external image is far less likely to happen = 2.19 (15th July 2019) = * Fixed images not displaying in some product archives - was for specific crop type when multiple images were present * Fixed some inline CSS which was causing some product-detail gallery themes to think two products existed, which in turn was causing their slider to kick in = 2.18 (10th June 2019) = * Speed boosts for image proxying * Adding config control to choose per-CDN if http should be changed to https (instead of http) - solves Asos CDN image problems * Thumbnail bug fixes for various themes = 2.17 (29th May 2019) = * Hot fix for placeholder images in thumbs = 2.16 (29th May 2019) = * Re-fixed the bug that was causing duplicate images to appear in some themes where they both invoke the image action and the image placeholder filter. = 2.15 (8th May 2019) = * Fixed bug with woocommerce products widget and shortcodes which was causing placeholder image to appear instead of the external image = 2.14 (8th May 2019) = * Hot fix to fix thumbnail images when actual image present (not external image) = 2.13 (8th May 2019) = * Hot fix to fix thumbnail images when multiple images were present = 2.12 (8th May 2019) = * Fixed rehub theme compatibility * Improved generic theme compatibility even further - can't find any that don't work now (tested 20+) = 2.11 (3rd May 2019) = * Added Storefront theme compatibility * Improved generic theme compatibility with item-detail pages * Removed hover-zoom effect * Added has_thumbnail override to improve theme compatibility * Added 'pipe' separator instead of comma = 2.10 (11th February 2019) = * Added Electro theme compatibility = 2.08 (11th February 2019) = * Improved social media sharing meta tags - added og:image:width, og:image:height and twitter:image * Added proxy URL to social sharing in meta tags = 2.07 (4th February 2019) = * Fixed bug in archive pages when gallery images put into external_image_url that was preventing featured image (first image) being pulled correctly from the list = 2.06 (28th January 2019) = * Added compatibility for the Flatsome theme - it rewrites the core html thumbnail functions, now we rewrite them back to be compatible = 2.05 (13th January 2019) = * Modified to allow CSV images to be inserted into the external_image_url. You can still just insert the featured image here and the full CSV to the eigallery custom meta field. = 2.04 (31st December 2018) = * Re-fixed double-image issue - fix was accidentally reverted when fixing other bug = 2.03 (29th December 2018) = * Added ability to detect 'first image' embedded inside the HTML content of the post. Now, order is: external_image_url, featured image, first image in content * Removed debug statements = 2.01 (29th December 2018) = * Fixed bug for non-woocommerce sites - now correctly falls back to thumbnail html = 2.00 (22nd December 2018) = * Fixed fallback code for cases where gutenberg is available but not being used on current post = 1.99 (22nd December 2018) = * Fixed wp-admin products listing bug which was affecting some themes and causing permissions error * Added gutenberg compatibility * Fixed double-images issue on some themes = 1.98 (2nd December 2018) = * Fixed bug that was preventing default WooCommerce image templates being used if there is no external image set. = 1.97 (2nd December 2018) = * Fixed bug caused by change to woocommerce cropping storage * Fixed related-products which was broken for some themes * Fixed wp-admin -> Woocommerce -> products so thumbnails now show there too = 1.96 (30th November 2018) = * Added fix for woocommerce placeholders which was spitting out warning message = 1.95 (30th November 2018) = * Added more hook and filter support for more themes = 1.91 (30th October 2018) = * Fixed bug from last bugfix! = 1.90 (30th October 2018) = * Fixed bug with some themes breaking the archive view = 1.88 (29th October 2018) = * Added full gallery support - you can now store external gallery URLs in the eigallery post_meta field (comma separated, unlimited number). See product page for guide to altering your child theme. = 1.88 (17th October 2018) = * Fixed division by zero error when cropping images with some woocommerce settings = 1.87 (17th September 2018) = * Fixed bug with cropped square images caused by new setting in WooCommerce = 1.85 (23rd June 2018) = * Fixed ?ver=time() issue which was preventing browser caching of .js and .css files for the plugin = 1.84 (11th May 2018) = * Fixed issue when image height was set to 0 in WooCommerce. Now, it will output an img tag if either width or height are set to zero, and use the proper img ratio for the missing dimension. = 1.83 (27th April 2018) = * Minor update to use cURL instead of checkimagesize to check if remote HTTPS image exists = 1.82 (27th April 2018) = * Improved detection of remote SSL - now, if an http image is presented on a users HTTPS site, that domain will be tested to check if it supports HTTPS. It remembers this knowledge. This means many images do not need to be proxied and can instead work with https directly. = 1.81 (26th April 2018) = * Removed warnings for 'imgfield' index = 1.80 (26th April 2018) = * Removed warnings for 'eili' index = 1.79 (13th Mar 2018) = * Fixed SSL detection with Cloudflare websites - now checks for HTTP_X_FORWARDED_PROTO = 1.78 (15th Feb 2018) = * Fixed issue with no woocommerce available = 1.77 (22nd January 2018) * Fixed other thumbs outside of product loop = 1.76 (22nd January 2018) = * Renamed folder to external-images instead of external-wordpress-images ======= = 1.75 (22nd January 2018) = * Added CSS image cropping * Added option to check image sizes * Added 3rd meta field to check for images (merchant_image_url) * Added og tags