ieeheh:
Hey anonymous, is this bookmarklet not working anymore?
cipp:
@ieeheh
I'm not a programmer and not that familiar with JavaScript so no guarantees this will fix things for you, but try replacing the bookmarklet code with the following. At least it seems to work for me in Firefox and Chrome.
javascript:(function(){var sheet = document.createElement('style');sheet.innerHTML = ".post-image-container--spacer {margin-bottom: 0px !important;}";document.body.appendChild(sheet);var addedWidth=200;$('.post-pad .post-container').css('width',610+addedWidth+'px');})();
In other words, "I'm not a programmer but here is the HAX I wrote just now. B)"
lolo I keed
Yeah, cipp, your solution works. Nicely done!
I took the liberty of marking your code snippet as "code" above. (You can do that in Markdown simply by adding 4 spaces at the beginning of the line.)
@ ieeheh
The post you linked to was the old bookmarklet from May 2015.
http://dynasty-scans.com/forum/posts/99962
There was an update to the bookmarklet back in September 2015, when Imgur updated their site's design.
http://dynasty-scans.com/forum/posts/128536
However, the September 2015 version only gets rid of the spaces between images in order to get rid of the dark grey bars.
Hmm... I cannot be absolutely sure, but I think that in September 2015, after the initial redesign of Imgur, FF typeset images in Imgur albums were displayed without any downsizing. I could have sworn that I checked it back then and saw this, which is why when I updated the bookmarklet, I removed the "added width" part.
But anyway, regardless of whether it was really the case in September, today, the images on Imgur albums are indeed downsized, but luckily, only slightly. Instead of the full width of 690 pixels, it resizes the images on the page to a width of 680 pixels -- only slightly smaller. (It was far worse before the September 2015 redesign.)
Below is a minor update to my version of the bookmarklet.
The difference between this and cipp's version, which also works just fine too, is that rather than adding some width, which was my approach in the May 2015 bookmarklet, this one just overrides the rule that the container of the images cannot be more than 680 pixels in width, thus allowing images to be displayed at their actual sizes -- 690 pixels in the case of FF images.
last edited at Feb 15, 2016 12:14AM