Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding snippet for change JPG thumbnails to PNG

  • Loading branch information...
commit 9ba7b38559fc346d5694ae919a0c8e05b4f67555 1 parent cf5d544
@grok grok authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 widgets/change-thumbnails-to-png/script.js
5 widgets/change-thumbnails-to-png/script.js
@@ -0,0 +1,5 @@
+/* The API has not publicly exposed this feature yet. */
+/* In order to have the thumbnails with transparent backgrounds they must change from JPG to PNG. */
+jQuery( 'span.vrs-widget-thumbnail img' ).attr( 'src' , function( index , attr ) {
+ return attr.replace( 'jpg' , 'png' );
Please sign in to comment.
Something went wrong with that request. Please try again.