 |
 |
 |
E-Hentai Minor Updates, Fixes, minor tweaks to existing functionality, minor new features |
|
Oct 26 2024, 05:46
|
b51de
Newcomer
 Group: Members
Posts: 46
Joined: 18-May 10

|
QUOTE(Tenboro @ Oct 25 2024, 22:38)  The default thumbnail size was changed, though it was only supposed to change for galleries with v2 images, which will be fixed. You can change the size from the settings page.
I've got thumbnail scaling set to the minimum value (75%) and I'm only getting rows of three images and a maximum of 20 images per page in mobile viewing while in galleries. The twenty image max is probably the worst most disruptive change, but I just want to go back to how I was seeing galleries before. Desktop is mostly unaffected, as is search/gallery index. This post has been edited by b51de: Oct 26 2024, 06:07
|
|
|
|
 |
|
Oct 26 2024, 06:13
|
aklfhl
Group: Members
Posts: 191
Joined: 8-February 14

|
QUOTE(b51de @ Oct 26 2024, 11:46)  I've got thumbnail scaling set to the minimum value (75%) and I'm only getting rows of three images and a maximum of 20 images per page in mobile viewing while in galleries. The twenty image max is probably the worst most disruptive change, but I just want to go back to how I was seeing galleries before. Desktop is mostly unaffected, as is search/gallery index.
Are you using "Normal" thumbnail size before? It was renamed to "Small". Small = 10 images / row x 4 row = 40 images Normal = 5 images / row x 4 row = 20 images
|
|
|
|
 |
|
Oct 26 2024, 07:57
|
Tenboro

|
- Fixed the default thumbnail size being prematurely changed. If thumbnail size is left at "Auto", it should now default to 100x (small, formerly known as normal) for galleries processed on the current uploaders and 200x (normal, formerly known as large) for galleries processed on the new ones. Setting a thumbnail size other than "Auto" under settings will change it for both. - H@H resampling should now be re-enabled for galleries with v1 images (those processed on the current uploaders). Note that since the resolution options will be different for v2 images (those processed on the new uploaders), the resample options should be read as "780/800", "1600/1920" and "2400/2560" - v1 images will be downloaded with the former, and v2 images will be downloaded as the latter. QUOTE(kzmkzmkzmkzm @ Oct 26 2024, 05:37)  By tiling, do you mean a fixed grid of predefined sizes? I mean it will load a single image file that has 20 or 40 thumbnails depending on the selected size, like it does with 100x thumbnails today. QUOTE(kzmkzmkzmkzm @ Oct 26 2024, 05:37)  Personally, I'd be happy if it were possible to "lazy load" and "specify width + adaptive height". Not sure why you would want to lazy load thumbnails, it just means the browser waits to load them until everything else is finished loading, and there isn't much else to load. If you do some custom scripting, you can still scale thumbnails by playing with the background-size variable. QUOTE(b51de @ Oct 26 2024, 05:46)  I've got thumbnail scaling set to the minimum value (75%) and I'm only getting rows of three images and a maximum of 20 images per page in mobile viewing while in galleries. The twenty image max is probably the worst most disruptive change, but I just want to go back to how I was seeing galleries before. Like the setting says, Thumbnail Scaling is only applicable for the cover in gallery lists in Extended and Thumbnail display mode, not the gallery page itself. If you don't like the default thumbnail size on the gallery page, you have to change the setting under "Thumbnail Settings".
|
|
|
|
 |
|
Oct 26 2024, 08:26
|
小白-白
Group: Catgirl Camarilla
Posts: 154
Joined: 8-April 18

|
QUOTE(Tenboro @ Oct 26 2024, 13:57)  I mean it will load a single image file that has 20 or 40 thumbnails depending on the selected size, like it does with 100x thumbnails today.
Does this mean that the thumbnails on the Multi-Page Viewer will also change?
|
|
|
Oct 26 2024, 08:33
|
Tenboro

|
QUOTE(小白-白 @ Oct 26 2024, 08:26)  Does this mean that the thumbnails on the Multi-Page Viewer will also change? For galleries processed on the new uploaders, everything will be using the v2 tiled thumbs. This includes MPV and lofi.
|
|
|
Oct 26 2024, 10:07
|
b51de
Newcomer
 Group: Members
Posts: 46
Joined: 18-May 10

|
Changing from Auto to Small put me back in business. I know just about everybody that's used to things being the same way for years will panic when any changes rear their head, but I'm still thankful the fix is simple. For what it's worth, pages are coming up a little buggy in mobile browsers. The lighter grey is left-aligned when the image width is past a certain size.
This post has been edited by b51de: Oct 26 2024, 10:09
|
|
|
Oct 26 2024, 12:08
|
Tenboro

|
QUOTE(b51de @ Oct 26 2024, 10:07)  For what it's worth, pages are coming up a little buggy in mobile browsers. The lighter grey is left-aligned when the image width is past a certain size. What browser, specifically? Can you take a screenshot of it?
|
|
|
Oct 26 2024, 14:13
|
kzmkzmkzmkzm
Newcomer
 Group: Members
Posts: 31
Joined: 18-October 10

|
QUOTE(Tenboro @ Oct 26 2024, 07:57)  I mean it will load a single image file that has 20 or 40 thumbnails depending on the selected size, like it does with 100x thumbnails today.
Thank you for your reply! Does this mean that from now on, gallery thumbnails will be represented as a single so-called “contact sheet” with thumbnails for each page combined according to row and size settings, jumping to each page via a clickable overlay? It seems to me that the design intent is to greatly reduce network requests in exchange for the possibility of flexible thumbnail layouts, is that right?
|
|
|
|
 |
|
Oct 26 2024, 16:05
|
Tenboro

|
QUOTE(kzmkzmkzmkzm @ Oct 26 2024, 14:13)  Does this mean that from now on, gallery thumbnails will be represented as a single so-called “contact sheet” with thumbnails for each page combined according to row and size settings, jumping to each page via a clickable overlay? It seems to me that the design intent is to greatly reduce network requests in exchange for the possibility of flexible thumbnail layouts, is that right?
There's no tradeoff; the amount of file requests are cut by a factor of 20 or 40 and the total filesize is significantly smaller, but there is no decrease in flexibility for how the thumbs are placed. There's just some additional complexity on the backend and in the code that makes the HTML. A tileset for 200x thumbs looks like this, then it just uses some CSS tricks with basic math to calculate the offsets and dimensions for each individual thumbnail to make it look like this in the browser. Incidentally, we've been doing this for 100x thumbs for years.
|
|
|
|
 |
|
Oct 26 2024, 18:29
|
kzmkzmkzmkzm
Newcomer
 Group: Members
Posts: 31
Joined: 18-October 10

|
QUOTE(Tenboro @ Oct 26 2024, 16:05)  There's no tradeoff; the amount of file requests are cut by a factor of 20 or 40 and the total filesize is significantly smaller, but there is no decrease in flexibility for how the thumbs are placed. There's just some additional complexity on the backend and in the code that makes the HTML. A tileset for 200x thumbs looks like this, then it just uses some CSS tricks with basic math to calculate the offsets and dimensions for each individual thumbnail to make it look like this in the browser. Incidentally, we've been doing this for 100x thumbs for years. I see. I think I understand now. I guess it's based on a single tileset image that combines multiple thumbnails, and applies individual styles (background-position / object-view-box) to the thumbnail elements corresponding to each page to display an image cropped from the base image as the background. After the system is actually updated, I'll check whether it's adjustable on the user side (by user styles or user scripts). By the way, I didn't know what "100x thumbs" meant...
|
|
|
|
 |
|
Oct 26 2024, 21:58
|
ulouah
Newcomer
 Group: Members
Posts: 44
Joined: 17-December 14

|
QUOTE(Tenboro @ Oct 25 2024, 12:39)  In the near future, all thumbnails except for covers will be tiled, so the divs are necessary to enable that.
Could a way of retrieving the SHA1 hash of original images be considered? AFAIK the only way to get it currently is from the url of 200x thumbnails, and once they are tiled that will not be possible. Maybe as a data attribute or as part of the official API?
|
|
|
|
 |
|
Oct 26 2024, 22:12
|
Tenboro

|
QUOTE(kzmkzmkzmkzm @ Oct 26 2024, 18:29)  By the way, I didn't know what "100x thumbs" meant... The 100x150 resolution thumbnails, as opposed to the 200x300 resolution thumbnails. QUOTE(ulouah @ Oct 26 2024, 21:58)  Could a way of retrieving the SHA1 hash of original images be considered? AFAIK the only way to get it currently is from the url of 200x thumbnails, and once they are tiled that will not be possible.
There is one, it's just undocumented, since it was made by special request for one guy like 15 years ago when the URLs in question were shortened. If you create a cookie named "longurls" set to anything, the URL to the image page will have the full fileid for the page, which includes the hash. PS: The "Show galleries with this image" link on the image pages has the hash as well, but I assume you meant from the gallery page.
|
|
|
|
 |
|
Oct 27 2024, 01:12
|
ninetydollardoujin
Group: Members
Posts: 159
Joined: 28-May 18

|
QUOTE(ulouah @ Oct 26 2024, 21:58)  as part of the official API?
The hash, size, page number and extension in the payload would be a nice addition.
|
|
|
Oct 27 2024, 02:25
|
unicorn901
Lurker
Group: Recruits
Posts: 6
Joined: 24-November 15

|
QUOTE(kzmkzmkzmkzm @ Oct 25 2024, 21:41)  I'm not sure if this is a bug or not, but I thought I'd report it.
Only in Fjord, downloads of the resample archive via H@H seem to be inactive. Only the original archive is active (clickable).
Can anyone else reproduce this? Is this a known issue?
I also see original listed at "N/A" as well in Fjord.
|
|
|
Oct 27 2024, 06:09
|
Zexar
Group: Members
Posts: 148
Joined: 16-April 07

|
Are page numbers disappearing on exh WAD? (I still see page numbers on e-hentai.)
|
|
|
Oct 27 2024, 07:07
|
aklfhl
Group: Members
Posts: 191
Joined: 8-February 14

|
QUOTE(Zexar @ Oct 27 2024, 12:09)  Are page numbers disappearing on exh WAD? (I still see page numbers on e-hentai.)
Its setting entry has been renamed, "Gallery Page Numbering" -> "Gallery Page Thumbnail Labeling", check that.
|
|
|
|
 |
|
Oct 27 2024, 07:31
|
小白-白
Group: Catgirl Camarilla
Posts: 154
Joined: 8-April 18

|
QUOTE(Tenboro @ Oct 27 2024, 04:12)  There is one, it's just undocumented, since it was made by special request for one guy like 15 years ago when the URLs in question were shortened. If you create a cookie named "longurls" set to anything, the URL to the image page will have the full fileid for the page, which includes the hash.
PS: The "Show galleries with this image" link on the image pages has the hash as well, but I assume you meant from the gallery page.
Currently I'm getting the sha1 through the large thumbnails of MPV. But it may not be available after the thumbnail change, so I hope to keep a sha1 field. I'd like to be able to get the sha1 in one place, this would avoid downloading duplicate files when the gallery is updated. This post has been edited by 小白-白: Oct 27 2024, 07:34
|
|
|
|
 |
|
Oct 27 2024, 09:50
|
Tenboro

|
QUOTE(ninetydollardoujin @ Oct 27 2024, 00:12)  The hash, size, page number and extension in the payload would be a nice addition. QUOTE(小白-白 @ Oct 27 2024, 06:31)  Currently I'm getting the sha1 through the large thumbnails of MPV. But it may not be available after the thumbnail change, so I hope to keep a sha1 field. I'd like to be able to get the sha1 in one place, this would avoid downloading duplicate files when the gallery is updated. I suppose I can add them as optional tags to the thumbnails. Edit: You can now pass datatags=1 as either a GET query argument or a cookie to make it tack on a number of data tags to each thumbnail with information about the (original) file in question. QUOTE(unicorn901 @ Oct 27 2024, 01:25)  I also see original listed at "N/A" as well in Fjord. Which gallery? Can you take a screenshot?
|
|
|
|
 |
|
Oct 27 2024, 12:13
|
-terry-
Group: Gold Star Club
Posts: 2,547
Joined: 9-August 19

|
Nice, that works nicely. For the DOM update i just grabbed the hash from the thumbnail for now, but if that changes this will be a suitable alternative.
|
|
|
Oct 27 2024, 13:45
|
小白-白
Group: Catgirl Camarilla
Posts: 154
Joined: 8-April 18

|
QUOTE(Tenboro @ Oct 27 2024, 15:50)  Edit: You can now pass datatags=1 as either a GET query argument or a cookie to make it tack on a number of data tags to each thumbnail with information about the (original) file in question.
Thanks, it works now, but there is a problem with the style of the buttons in MPV. PS: Image Size Settings - Horizontal is set to 700px (IMG:[ img.moedog.org] https://img.moedog.org/images/2024/10/27/20241027193000.png) And is it possible to add a scroll bar for MPV? div#bar3 { left: -20px; } div#pane_images { overflow-x: hidden; overflow-y: scroll; } This post has been edited by 小白-白: Oct 27 2024, 13:52
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
 |
 |
 |
|