Photobucket - Customisable Thumbnail Size November 8, 2005
Posted by Lucanos in : programming, javascript, greasemonkey , trackbackThis GreaseMonkey userscript allows the user to specify their own thumbnail size for Photobucket.com.
NOTE: This script operates by accessing the full-resolutions of the images being processed and then squeezing them into the requested size on screen. As such this script is rather bandwidth-demanding, and is not recommended for people with bandwidth limits/slow connections.
Version History:
- v0.1 - 08 November 2005
Initial release.
Configuration:
- In Firefox go to “Tools“.
- Select “Manage User Scripts“.
- Select “Photobucket.com Thumbnail Resizer“.
- Click the “Edit” Button.
Your computer will open the Userscript file using your default HTML editor. - In the coding find the line:
“var RequestedLongestEdge = “320“; // in pixels“ - Modify the number in this line (in this case 320) to reflect your desired length for the longest edge (this measure is in pixels).
- Save the file.
- Reload your Photobucket page.
How It Does What It Does:
- Access the Array of Images
- Loop through them looking for images with filenames starting “th_” (which appears to be what Photobucket does to designate thumbnails
- Remove the “th_” if present (makes the thumbnail the original file)
- Determine the orientation of the image
- Make the longest side (width if landscape, height if portrait) the specified length
Enjoy!
Comments»
Hey Lucanos.
After searching for a long time for scripts that let me batch download the full images from photobucket accounts, this is the only one that actually works! It’s not the way I had imagined me grabbing the images, but I love it. I let the page load then use the DownThemAll extension to grab the full images.
Thank you sooooooo much for this, you’ve made my image grabbing sooooooo much easier!
Much Appreciated!
Dusty.