Gelbooru

Notice: We are now selling NEW ! Domestic shipping is free on all orders! Do you have an artist tag on Gelbooru? Let us know so we can properly credit you!

Ticket Information - ID: #1044


ID:Category:SeverityReproducibilityDate SubmittedUpdated By:
0001044Bug Reportingnormalalways08/25/20 06:59PMMongolfier
ReporterMongolfier
Assigned to:geltas
Resolution:Resolved
View StatusPublic
Version:
Target Version:N/A
Summary:"sample_" in file name
Description:Recently, images that are not big enough size-wise to be resized by Gelbooru will always have the "sample_" prefix to it's filename as if it is a resized version of an image.
Additional Info:
Jerl replied at 2020-08-25 19:09:07
If it has a sample_ prefix, it is big enough to be resized, has been resized, and you are seeing the resized version.

Mongolfier replied at 2020-08-26 05:47:21
I have that disabled in my profile, so I should always see actual size.

If it were to be resized, it should expand on click, but it doesn't.

Jerl replied at 2020-08-26 09:54:20
Images do not expand when you click on them regardless of your settings.

The checkbox in the user settings is confusing for some users. "Resizing" the image refers to automatically replacing the sample with the fullsize image. If the box is UNchecked, you will receive a sample. The box has to be checked to always get the fullsize image.

If you accidentally clicked the "Do not show this message." link, it would not show the link to expand the sample. The only way to undo this is to clear your cookies.

Also, an image that is only one pixel larger than the sample size will be resized down to the sample size, and its size change will be almost imperceptible.

Mongolfier replied at 2020-08-26 19:46:26
Okay, let me get into a proper description:
1. The checkbox on "Resize Images" is checked.
2. For the whole time of using Gelbooru it was checked.
3. The feature worked perfectly fine.
4. In recent days, certain images are containing "sample_" in it's file name for me. (For instance, this one /index.php?page=post&s=view&id=5505766)
5. I did check the settings, the "Resize Images" checkbox is checked.
6.>We are here< What else I can do to pinpoint the issue.

Jerl replied at 2020-08-26 23:55:31
That image is big enough to be resized, has been resized, and you are seeing the resized version.

Direct link to the sample version you're seeing:
https://img2.gelbooru.com/samples/56/b4/sample_56b4d0087b0f41226d719fcdeba5b0e1.jpg

Direct link to the fullsize image:
https://img2.gelbooru.com/images/56/b4/56b4d0087b0f41226d719fcdeba5b0e1.jpg

I just checked the checkbox in my account settings, and it stopped showing the sample. If your checkbox is still checked but you're still getting the sample version, the problem is in your browser. Make sure that adblock and anything blocking JavaScript is disabled, and try clearing your cookies and logging back in. Keep in mind that the only setting that is stored server-side is the blacklist, everything else is stored in your browser only and does NOT transfer across devices.

Mongolfier replied at 2020-08-29 10:54:57
Didn't know it was a client-side configuration.

I tried cleaning cookies. Didn't help.
Disabled adblock. Didn't help.

What else can be the issue?

Jerl replied at 2020-08-30 01:59:19
The other issue would be JavaScript. Make sure that it's enabled in your browser settings and any addons like NoScript or uMatrix that block JavaScript are disabled for Gelbooru.

Mongolfier replied at 2020-08-30 06:20:47
No JavaScript addons or configurations on top. But I checked on Chrome - no problems.

The issue occurs on Vivaldi browser, which is my preferred browser. But it's same Chromium engine, latest version as well. Shouldn't be an issue...

Jerl replied at 2020-08-30 12:31:34
Unfortunately, we do not provide support for debugging issues with specific browsers. You will need to contact their support to determine what might be causing JavaScript not to run.

Mongolfier replied at 2020-09-02 23:06:39
Found the solution, updating with it.

The issue was with Windows Security quarantining the required JavaScript. Had to manually allow it.