Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install
Craigslist image preview
View craigslist image previews and resize them or keep the aspect ratio and just adjust the height
When browsing craigslist, view a listing's images right below the listing instead of clicking on any listing whose images you want to see. Very useful for real estate.
This now works for *all* listings, not just real estate.
This now allows you to resize the image previews.
This now allows you to keep the aspect ratio -- there's an option at the top.
|
|
Since Jeffrey doesn't seem to be updating his wonderful script, I posted my bug fixes & improvements, plus the Canadian fix (thanks Rich!) as a new script, "Craigslist image preview 2". It now filters out tiny images, and enlarges the thumbnails on mouseover. |
|
|
Kind of the same thing, but works at http://www.craigstoolbox.com |
|
|
whoops, that should have been: replace line 78...
with...
|
|
|
Lately, the only listings that have more than 4 images are the mass postings by used car dealers and real estate agents. I find these listings annoying so I limited the number of pictures my browser displays to 6. This way I can tell the mass postings apart from the casual users who are content with the 4 image fields supplied by Craigslist. To do this I replaced line 78.... for (j=0; j<m> with... for (j=0; j<6> |
|
|
A W E S O M E !!!!! this script rocks! craigslist is sooo much
|
|
|
Bug fix #1 (missing thumbnails):
line 71, change (/img src=\"([^\"]+)\"/gi)) to
line 84 & 85 change to: Bug fix #2 (small pics blown up):
Improvement #1 (small-pics clutter):
Improvement #2 (enlarge thumbnail on mouseover):
(100 is an arbitrary large number that sets the size ceiling high enough to not squash any pics.) |
|
|
Canadians: The script has ".org" hardcoded, that's why it doesn't work on *.craigslist.ca. It's not enough to just add *.craigslist.ca to the list of sites it's applied to. You need to edit the script itself. Currently line 180 in the showImages() function reads
if (link.href && link.href.match(/.*craigslist.org.*\/\d+\.html$/)) {
Change that to read
if (link.href && link.href.match(/.*craigslist.*\/\d+\.html$/)) {
You might as well edit the @include on line 5 while you're in there. I suppose the same applies for other ccTLD craigslists, if those exist. |
|
|
Great script, thanmks. Two things: How, exactly, does one "resize the image previews"? Also, I agree with the previous commenter. The enlarged small images ought to be fixed. |
|
|
Works great! One little quibble, some people put tiny images in their ads, which get blown up huge & get in the way. This problem can be fixed by adding an if statement around the resizing code, like so: if (img.height > size) {
(First and last lines are new code). It needs to be done in both newFunction and changeSizes. I tested it, seeemed to work, but was a little buggy in the changeSizes function. I'm new to javascript, so I probably missed something... |
|
|
Just wondering if it is still working for Craigslist Canadian postings. I can get it too work for all of the American cities, but when I try it with Canadian cities, it no longer works.
|
|
|
works perfectly in my single page test at http://toronto.craigslist.org/search/sss?query=hex |
|
|
This works fine except for when looking at cars and trucks, the first image is a blank picture!
|
|
|
Doesn't work in Opera... Would love it if you could make it work in Opera? |
|
|
This is a great script!
|
|
|
Works! You just need to wait a little as it retrieves them. |
|
|
This script would be great... if it weren't so handicapped by only working on real estate pages. I don't understand how/why that is, I browse for furniture all the time, but houses only once in a while. |
|
|
this doesnt work. |
|
|
It worked perfectly for me, thanks! |
|
|
this doesnt work. |
You could comment on this script if you were logged in.
