Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image size #192

Open
caywin25 opened this issue Oct 29, 2024 · 2 comments
Open

Image size #192

caywin25 opened this issue Oct 29, 2024 · 2 comments

Comments

@caywin25
Copy link

Hello

When using the LibreY image function we have two choices to display the image we want.

  1. Either go to the site by clicking on the photo.
  2. Or open the photo by doing: Right click > Open image in a new tab.

Choice 2. is preferable for me but the image is proxified (very good) but unfortunately it loses quality, in fact the image opens very small.

Is it possible to have the images of the site in real size with option 2. ?

Thank you

@Ahwxorg
Copy link
Owner

Ahwxorg commented Oct 29, 2024

When looking at the code for the image proxy, it's not immediately clear why this happens to me. Maybe it's because of the curl config? @codedipper or @davidovski, do you know why this happens? I've attached screenshots of the code below (please ignore the errors, that's because of Neovim not understanding the variables...)

image_proxy.php:

image

request funtion:

image

example config.php:
image

@Ahwxorg
Copy link
Owner

Ahwxorg commented Nov 6, 2024

It might have something to do with parsing the "thumbnail" for images and not the file itself, will look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants