Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : Forum Improvement: How can I help?
Author | Message | ||||
LeoNicolas Guru Joined: 07/10/2020 Location: CanadaPosts: 479 |
Hello everyone Is it possible to update the mobile forum view to have the image size from posts using the viewport width? Something like this: img { max-width: 100vw; } PS: I couldn't find a parent class for applying the CSS only to the post images. I can make the changes and provide a pull request if I can have access to the source code repo. |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3802 |
Try the "contact me" to ask Glenn in case he doesn't see your post. John |
||||
LeoNicolas Guru Joined: 07/10/2020 Location: CanadaPosts: 479 |
No luck. The contact me link sent me to the about page which has several missing PHP include pages and no conact inormation. |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3802 |
Oh! It used to work. I will contact him and also PM you his email :) John |
||||
LeoNicolas Guru Joined: 07/10/2020 Location: CanadaPosts: 479 |
Thank you John |
||||
Gizmo Admin Group Joined: 05/06/2004 Location: AustraliaPosts: 5078 |
I usually do some work on the forum over Christmas. An issue with resizing the images down to fit the mobile screen is you will loose detail, especially in things like circuit diagrams. I'll do a few tests. I am willing to share the forum source code, but would like a fellow php developer to go over it first to make sure there are no vulnerabilities in the code. Regards Glenn The best time to plant a tree was twenty years ago, the second best time is right now. JAQ |
||||
LeoNicolas Guru Joined: 07/10/2020 Location: CanadaPosts: 479 |
We can work with a pull request pipeline. Only reviewed code by the repo maintainers will be merged to the main branch. This can ensure the code quality and security. We can archive this with a private git repository with the main branch locked to direct changes. I can help setting up something if necessary Edited 2023-12-07 09:06 by LeoNicolas |
||||
LeoNicolas Guru Joined: 07/10/2020 Location: CanadaPosts: 479 |
This change is only for mobile view and we can zoom in the image if we want to see more details or use the mobile landscape view. The current image size rendering on mobile doesn't work well |
||||
LeoNicolas Guru Joined: 07/10/2020 Location: CanadaPosts: 479 |
Hello Gizmo What are your thoughts on having the code in a private GitHub repository and allowing us to create pull requests? |
||||
Print this page |