Skip to content

Releases: kepstin/Fix-pixiv-thumbnails

20240918.2

18 Sep 05:32
Compare
Choose a tag to compare

In this release:

  • Update the styling to remove rounded corners for the updated site design.
  • Fix images on the ranking page being too small.

20230328.1

28 Mar 13:18
Compare
Choose a tag to compare

In this release:

  • Add styling to remove the grey overlay tint and round corners from thumbnails. With the tint gone, add a background colour and border to distinguish the clickable area.

20201031.3

31 Oct 20:57
Compare
Choose a tag to compare

Happy Halloween!

In this release:

  • Run earlier in page load. Should speed up replacing images on some static pages.
  • Correct image size detection on some pages.
  • Improve compatibility with mobile version of pixiv site (no longer breaks page layout)

20201010.3

10 Oct 20:46
Compare
Choose a tag to compare

No changes - This is a version number bump to redirect automatic updates on the github release branch to the correct branch.

20201010.2

10 Oct 20:08
Compare
Choose a tag to compare

New preference: Allow custom thumbnail crop

Pixiv allows artists to set custom square thumbnail crop during uploads. If you would like to use artist's cropping when available, you can set this preference. See the README for details.

Add image double-load workaround to more pages to improve performance.

Follow official specs regarding <img> src attribute as implicit 1x source.

20201009.4

09 Oct 21:43
Compare
Choose a tag to compare

Fix handling of non-square "layout-thumbnail" images (e.g. Ranking page)

20201009.3

09 Oct 21:14
Compare
Choose a tag to compare

Fix the problem where Chrome was first showing the square-cropped thumbnails, then replacing them with the original aspect ratio thumbnails afterwards.

This might also improve thumbnail loading speed by reducing the number of parallel image requests open, and reducing DOM layout waits.

20200109.2

09 Oct 20:23
Compare
Choose a tag to compare

Fix "discovery" page loading too-large thumbnails, or loading thumbnails multiple times.

This was caused by very strange code that loaded the thumbnail first in an <img> tag with height="0" width="0", then re-loaded the thumbnail as a <div> background image with size set appropriately. I have worked around the issue by overriding the size on the initial <img> tag with the actual size of discovery page thumbnails (hardcoded).

20201007.1

07 Oct 19:10
Compare
Choose a tag to compare

Performance improvements when determining image sizes. The code now tries harder to prevent the browser from having to do synchronous layout.

20200915.1

15 Sep 20:36
Compare
Choose a tag to compare

Speed up image loading by using inline style and size attributes where available to avoid a wait for layout that the computed style (actually "used" style) methods trigger.