ASA2 update brings support for local images (EU-GDPR ready) and AMP

Written by Timo

Creator of ASA2

May 14, 2018

Local images

The biggest new feature in the ASA2 update to version 1.9 is the “Local Images” function. It allows you to cache product images from the Amazon image servers in the local WordPress media library and use the local image URLs to render the product templates for your page. This prevents the IP address of site visitors from being transmitted to Amazon servers, which is relevant for the EU-GDPR (EU-DSGVO in Germany).

The new local image feature does not pre-download all images provided by the API, but only those used in templates to not blow up the local data volume.

Activate local images

Using the new function for local images is very easy. You only have to activate the corresponding option, which you can find in section “Options / Images”.

To learn all the details about using local images with ASA2, please refer to the online documentation:

[x_button shape=”square” size=”regular” float=”none” href=”http://docs.getasa2.com/local_images.html” target=”blank” info=”none” info_place=”top” info_trigger=”hover”]Online documentation page “Local images”[/x_button]

Support for Accelerated Mobile Pages (AMP)

The next big improvement is the support for AMP. AMP stands for “Accelerated Mobile Pages”. It is an open-source library with the aim to improve the performance of web content. The project is led by Google.

With ASA2 version 1.9, you can adjust your ASA2 templates for the use on AMP pages. You can create customized HTML and CSS contents for this purpose. Check out the new tabs in the template form.

Of course, the managed templates included in ASA2 are already prepared for AMP and will all be updated with version 1.9.

To learn more about using AMP templates with ASA2, please refer to the online documentation:

[x_button shape=”square” size=”regular” float=”none” href=”http://docs.getasa2.com/templates_create.html#html-and-css-for-amp-accelerated-mobile-pages” target=”blank” info=”none” info_place=”top” info_trigger=”hover”]Online documentation section “HTML and CSS for AMP”[/x_button]

Custom Field filter for smart collections

Another new feature worth mentioning is the ability to filter byWordPress Custom Fields in the short code “asa2_smart_collection”. The “cf” option allows you to filter the smart collection result by Custom Fields associated with a ASA2 Repo item.

This is an example that filters articles that have the Custom Field “color” value “green”. It uses “=” as operator.

[asa2_smart_collection cf="color~=~green" /]

It is even possible to combine multiple CF filter criteria. They must be separated by “&&”.

The following example adds a second criteria that filters for “my_ratings” having a value greater than 3. It uses the operator “gt” which stands for “greater than” (>).

[asa2_smart_collection cf="color~IN~green,red,blue&&my_rating~gt~3" /]

All details can be found in the online documentation:

[x_button shape=”square” size=”regular” float=”none” href=”http://docs.getasa2.com/shortcodes_asa2_smart_collection.html#cf-custom-fields” target=”blank” info=”none” info_place=”top” info_trigger=”hover”]Custom Field fitering[/x_button]

Redesign of the options page

Since ASA2 has a lot of options, it was time to redesign the options page. Navigation through the various subareas is now located in a sidebar. Related option sections are now more clearly separated and provided with a little more information. Buttons have been enhanced with confirmation messages so that no action is started by mistake. I hope you will enjoy working with the new options layout as much as I do.

 

 

Many subtle enhancements

In addition to the major innovations, a great deal has also been improved under the hood. So the CSS code of some managed templates was optimized, PHP warnings were fixed, the logging display was extended, the file size of the installation package was reduced and the overall loading speed of ASA2’s admin pages could be accelerated.

For a detailed list of all changes, check out the changelog.

Conclusion

I hope you like the new update. If you have any suggestions for the further development of the new functions, let me know. The ongoing development of ASA2 is a continuous process.

You May Also Like…

2 Comments

  1. Steven

    As far as I am aware, we are not allowed to store images from Amazon locally, unless Amazon has changed their rules to comply to GDPR? I do know that the images can auto-refresh through ASA2, but I don’t know how Amazon looks at this.

    I have not activated the storing of images locally yet, because there would be too much info stored anyway when it comes to affiliate linking (amazon cookie anyone).

     

    • Timo

      The local image function is currently intended as a quick way of not violating the GDPR for all those who do not have any other solution, e.g. if the data privacy policy is not yet updated to point out the use of external images and forwarding of the IP to the Amazon servers. The local images should therefore only be used temporarily until the respective data privacy situation of the user has been clarified.

Submit a Comment