Skip to content

Instantly share code, notes, and snippets.

@rachelslurs
Last active June 18, 2016 19: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 rachelslurs/c9a0e01acfed589019b2bde2362e1be7 to your computer and use it in GitHub Desktop.
Save rachelslurs/c9a0e01acfed589019b2bde2362e1be7 to your computer and use it in GitHub Desktop.
Post and Issue Dummy Images Bookmarklet
javascript:(function() {
var a = document.getElementById('_post_meta_image_alt_text_0');
if (a) {
a.value = 'Some alt text';
}
var b = document.getElementById('_post_meta_image_desktop_0');
if (b) {
b.value = 'https://placehold.it/1400x600/003003/ffffff';
}
var c = document.getElementById('_post_meta_image_desktop_mobile_tile_0');
if (c) {
c.value = 'https://placehold.it/280x188/9d248f/ffffff';
}
var d = document.getElementById('_post_meta_image_mobile_0');
if (d) {
d.value = 'https://placehold.it/1080x720/0057b8/ffffff';
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment