CADTutor Posted September 16, 2018 Author Posted September 16, 2018 Hmm, that's not good. It's not even the case that I can do a find/replace because there's nothing to find I guess the only thing to be done is to correct the instances flagged up as they happen and maybe add a pinned note to explain the problem and a possible generic solution. Quote
Lee Mac Posted October 18, 2018 Posted October 18, 2018 Is there a new limit on the sizes of images posted to the forum before such images are automatically resized? I recall on the previous software that this limit was 800x600px, above which any image would be automatically scaled. However, the GIF in my post here is only 600x400px and yet appears scaled and therefore not sharp. I notice that on hovering over the image, there is the option to 'Enlarge image' which, when clicked, the GIF is then displayed at its original size and becomes sharp. Is this perhaps a configuration setting in the forum software to enforce a maximum permissible image size, and if so, could it be tweaked at least to allow images up to 800x600px per the previous software? Many thanks! Quote
CADTutor Posted October 19, 2018 Author Posted October 19, 2018 22 hours ago, Lee Mac said: Is there a new limit on the sizes of images posted to the forum before such images are automatically resized? No, the current setting is larger than that but I can see from your example that the forum is scaling down your image slightly. I can't explain this at the moment. In theory, anything up to 800px should display at 100% providing the viewport is wide enough. Images are automatically scaled responsively in narrow viewports. I'll look into this. Quote
CADTutor Posted October 19, 2018 Author Posted October 19, 2018 OK, this should now be fixed. Turns out it was a CSS glitch. The box-sizing property on those images should have been set to "content-box" so that the padding and border get added to the overall element size, without affecting the image size. By default, it's set to "border-box", which means the padding and border were subtracted from the overall element size and the image had to shrink slightly to accommodate this. I've modified the CSS in this theme to correct this and your image now looks sharp. Quote
Lee Mac Posted October 19, 2018 Posted October 19, 2018 5 hours ago, CADTutor said: OK, this should now be fixed. Turns out it was a CSS glitch. The box-sizing property on those images should have been set to "content-box" so that the padding and border get added to the overall element size, without affecting the image size. By default, it's set to "border-box", which means the padding and border were subtracted from the overall element size and the image had to shrink slightly to accommodate this. I've modified the CSS in this theme to correct this and your image now looks sharp. Fantastic! Many thanks for correcting this so promptly David, much appreciated. Quote
Grrr Posted December 7, 2018 Posted December 7, 2018 I have a small request/idea about the posted codes: include a "select all button" so one doesn't have to scroll through all the lines. 2 Quote
CADTutor Posted December 9, 2018 Author Posted December 9, 2018 That's a great idea Grrr. It's not something I can easily implement but I will look to see if there is a possible solution. Thanks. 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.