-
Notifications
You must be signed in to change notification settings - Fork 257
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
Adjust images size according to the screen #499
Comments
Can you include the article URL as an example? |
Sure. Here is the article URL of the screenshot above : https://framablog.org/2017/03/27/le-transit-cest-important-%f0%9f%99%82/ |
Do you use wallabag.it, framabag, or a self-hosted server? I ask because the responsive parameters of the images may be handled differently. |
I use a self hosted server. Do you need the server version ? |
yes |
2.2.1 |
Do you have "image caching" enabled in the app? Can you try to toggle it and check the same article? |
There have been 138 commits to master since your version. To cite @di72nn: Maybe "you might want to try our beta version. You can opt-in for beta-testing on GPlay or download an APK." |
Well, yeah. It is likely to be reproducible in the beta, but at least we will be sure it wasn't fixed recently. I can't reproduce it on my device (Android 4.4, small screen): for some reason it is displayed ok regardless of app version and image caching. I'm not into HTML, so I have a hard time understanding why this happens. |
I couldn't reproduce it on my old Nexus 7 running the wallabag version installed from F-droid, so same version as @El-Gavy . On my mobile it is also not reproducible. :( |
Trying to upgrade right now, coming back to you when done (hoping it goes well) |
Cool that it is okay now. So you had no theme pre-selected? That's crazy behaviour of the app. If i go to that menu, i have my theme preselected. |
Well i'm sure i changed the theme at least once since installed. But maybe i was this way because of an update ? |
The theme selection dialog acts weird because of this: d3e3b95 (the value stored in preferences doesn't match the enum name). I should have added a migration, but I've forgotten and it doesn't really matter. It can only reset theme to the default one and cause the dialog to show no selected option. It should work fine after any theme is selected. Back to the original issue. Is it still there? |
Ok, here we are :
The install looks ok, except i have this issue : wallabag/wallabag#3006 (always have it when i install wallabag, dunno why). The link server / app is working Still have the issue, whereas it's ok with other articles... Tried to delete article from app, disabled image cache then adding it again, still the issue. However, i'm starting to strongly suspect a chair / keyboard interface problem... |
Here are some things that should be noted:
Something in the last two points is likely to cause the problem. Please state your Android version, device manufacturer, screen size and maybe something else that you think may be related. This part of the app wasn't changed in a while and nobody mentioned such an issue, so either no one cares, or it is very rare. |
Well i'm giving the infos, in case that could be useful later but i agree that it's rare, even on my device, it doesn't affect most of the articles. For instance, i checked other articles from the same website and images are fine. Huawei KIW-L21 (Honor 5X) |
On deleting an article in the app, the cached images are not removed from SD card AFAIK. But this should not affect the display issue here, i guess. Because in your screenshot it looks like the original image is cached successfully and is displayed in this original size. |
do you have image caching enabled in your wallabag server? |
is the image with the cat the only one which is wrongly sized displayed in the app? Or is the internet map image (the first one) also wrongly scaled? |
All images of the article are wrongly sized. Image caching is enabled on server (« 1 ») |
Okay, thanks for the additional information. It would be really nice to see the debug messages of the app in that case. |
Sure. ... ok, i have no idea where to find those debug messages xD |
I totally forgot about it. That can break the content (responsive parameters are stripped?) too. |
I'm having the image size problem in some images. I think the easy way to fix it is remove "width" & "height" attributes from "img" tag. |
Images (and their captions) are not adjusted to the screen width (using Wallabag App 1.12.2 (32)) :
The text was updated successfully, but these errors were encountered: