Skip to content

Instantly share code, notes, and snippets.

@sbwoodside
Forked from henrik/bookmarklet.js
Last active August 29, 2015 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sbwoodside/61fe09b41e20bea93971 to your computer and use it in GitHub Desktop.
Save sbwoodside/61fe09b41e20bea93971 to your computer and use it in GitHub Desktop.
// When triggered, adds a small image before other images that represents the full-size image.
// Drag-and-drop it, right-click and save, or click to open.
javascript:$("img.viewImage, img.currentImage, img.space, img[id^=galleryImg], img[class^=browseListImage], .gallery-photo img").each(function() { var newSrc = this.src.replace(/[fs]images\/(\d+).*/, 'simages/$1_0_9-.jpg').replace(/_\d-/,'_16-'); $(this).parents("a").andSelf().first().before("<a href='"+newSrc+"'><img src='"+newSrc+"' width=50></a>") })
@sbwoodside
Copy link
Author

This will let you download the image on the current page in Houzz.

It will create a link to the largest possible version of the image, which will have a dimension of 1600px.

Copy just the line starting with javascript: into a bookmark. Here is a bookmarklet instruction guide:

https://support.mozilla.org/en-US/kb/bookmarklets-perform-common-web-page-tasks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment