3.3.2 - max image width and height in posts not working

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
User avatar
rado_84
Registered User
Posts: 29
Joined: Tue Dec 11, 2012 2:06 pm

3.3.2 - max image width and height in posts not working

Post by rado_84 »

I recently installed version 3.3.2 and set (in ACP) the maximum width and height for the img tag to be 800x600 (hoping that larger images from URL will be resized) but it doesn't seem to work. I posted an image 1600x2900 (from URL) and it remained too large. What am I missing here and why isn't the forum autoresizing the image?
User avatar
rado_84
Registered User
Posts: 29
Joined: Tue Dec 11, 2012 2:06 pm

Re: 3.3.2 - max image width and height in posts not working

Post by rado_84 »

Seriously?! In the support forum of phpbb 54 views and nobody knows why the integrated image size limiting doesn't work?! And you call that support... Image
User avatar
JoshyPHP
Code Contributor
Posts: 1194
Joined: Mon Jul 11, 2011 12:28 am

Re: 3.3.2 - max image width and height in posts not working

Post by JoshyPHP »

Have you tried posting a smaller image?
User avatar
warmweer
Jr. Extension Validator
Posts: 6153
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: 3.3.2 - max image width and height in posts not working

Post by warmweer »

rado_84 wrote: ↑
Tue Jan 12, 2021 3:14 pm
I recently installed version 3.3.2 and set (in ACP) the maximum width and height for the img tag to be 800x600 (hoping that larger images from URL will be resized) but it doesn't seem to work. I posted an image 1600x2900 (from URL) and it remained too large. What am I missing here and why isn't the forum autoresizing the image?
Can you post a link to the post with that image?
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.
User avatar
3Di
Former Team Member
Posts: 16083
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milano 🇮🇹 Frankfurt 🇩🇪
Name: Marco
Contact:

Re: 3.3.2 - max image width and height in posts not working

Post by 3Di »

rado_84 wrote: ↑
Tue Jan 12, 2021 3:14 pm
I recently installed version 3.3.2 and set (in ACP) the maximum width and height for the img tag to be 800x600 (hoping that larger images from URL will be resized) but it doesn't seem to work. I posted an image 1600x2900 (from URL) and it remained too large. What am I missing here and why isn't the forum autoresizing the image?
There is not auto-resize of images in phpBB.
πŸ†“ Free support for our extensions also provided here: phpBB Studio
πŸš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Want to compensate me for my interest? Donate
My development's activity ΒΊ PhpStorm's proud user ΒΊ Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
warmweer
Jr. Extension Validator
Posts: 6153
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: 3.3.2 - max image width and height in posts not working

Post by warmweer »

rado_84 wrote: ↑
Tue Jan 12, 2021 3:14 pm
I recently installed version 3.3.2 and set (in ACP) the maximum width and height for the img tag to be 800x600 (hoping that larger images from URL will be resized) but it doesn't seem to work. I posted an image 1600x2900 (from URL) and it remained too large. What am I missing here and why isn't the forum autoresizing the image?
Where did you set a max height and width for img tags? I can't find any setting related to that. (I take it you're referring to BBcode?)
Last edited by warmweer on Wed Jan 13, 2021 3:34 pm, edited 1 time in total.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.
User avatar
JoshyPHP
Code Contributor
Posts: 1194
Joined: Mon Jul 11, 2011 12:28 am

Re: 3.3.2 - max image width and height in posts not working

Post by JoshyPHP »

I'm starting to worry about OP. It's been several hours since their last post and still no answer.
User avatar
3Di
Former Team Member
Posts: 16083
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milano 🇮🇹 Frankfurt 🇩🇪
Name: Marco
Contact:

Re: 3.3.2 - max image width and height in posts not working

Post by 3Di »

I think he has confused the settings in ACP with something that refers to an actual auto-resize. :)
πŸ†“ Free support for our extensions also provided here: phpBB Studio
πŸš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Want to compensate me for my interest? Donate
My development's activity ΒΊ PhpStorm's proud user ΒΊ Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
rado_84
Registered User
Posts: 29
Joined: Tue Dec 11, 2012 2:06 pm

Re: 3.3.2 - max image width and height in posts not working

Post by rado_84 »

warmweer wrote: ↑
Wed Jan 13, 2021 3:32 pm
Where did you set a max height and width for img tags? I can't find any setting related to that. (I take it you're referring to BBcode?)
ACP :arrow: Posting settings :arrow: Image max width [input field] px (set to 800)
ACP :arrow: Posting settings :arrow: Image max height [input field] px (set to 600)

Result: the image is way bigger than 800x600: http://atheist-society.eu/viewtopic.php?f=40&p=30#p30 . The original image is 1920x1080. I was expecting that this setting will automatically resize the posted image to fit the preset sizes in ACP.
JoshyPHP wrote: ↑
Wed Jan 13, 2021 3:33 pm
I'm starting to worry about OP. It's been several hours since their last post and still no answer.
I simply forgot to make a dial for this forum and I have to Google for it every time. With no dial to remind me of it, sometimes I forget where I've posted and that I have to watch the topic I've posted.
User avatar
JoshyPHP
Code Contributor
Posts: 1194
Joined: Mon Jul 11, 2011 12:28 am

Re: 3.3.2 - max image width and height in posts not working

Post by JoshyPHP »

There's a setting to be notified whenever somebody posts in a given topic. If you want to complain after 18 hours that you didn't receive free support for the free software that you're using, I suggest you check the box that says "Notify me when a reply is posted" so that you can reply in less than 2 days.
User avatar
Mannix_
Registered User
Posts: 1010
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt
Contact:

Re: 3.3.2 - max image width and height in posts not working

Post by Mannix_ »

rado_84 wrote: ↑
Fri Jan 15, 2021 1:33 pm


ACP :arrow: Posting settings :arrow: Image max width [input field] px (set to 800)
ACP :arrow: Posting settings :arrow: Image max height [input field] px (set to 600)

Result: the image is way bigger than 800x600: http://atheist-society.eu/viewtopic.php?f=40&p=30#p30 . The original image is 1920x1080. I was expecting that this setting will automatically resize the posted image to fit the preset sizes in ACP.
I can't find these settings.

Anyway the setting you looking for is in Attachment settings

Code: Select all

Maximum thumbnail width/height in pixel:
A generated thumbnail will not exceed the width set here.
-=-=-=-=-=-=-=-=-=-=-=-=-My Styles-=-=-=-=-=-=-=-=-=-=-=-=-
β€’ Hexagon β€’ HexagonReborn β€’ CleanSilver β€’ Project Durango
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Need help with styling or want me to port a style to 3.3.x etc. contact me here or here.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
User avatar
rado_84
Registered User
Posts: 29
Joined: Tue Dec 11, 2012 2:06 pm

Re: 3.3.2 - max image width and height in posts not working

Post by rado_84 »

Mannix_ wrote: ↑
Fri Jan 15, 2021 1:59 pm
rado_84 wrote: ↑
Fri Jan 15, 2021 1:33 pm


ACP :arrow: Posting settings :arrow: Image max width [input field] px (set to 800)
ACP :arrow: Posting settings :arrow: Image max height [input field] px (set to 600)

Result: the image is way bigger than 800x600: http://atheist-society.eu/viewtopic.php?f=40&p=30#p30 . The original image is 1920x1080. I was expecting that this setting will automatically resize the posted image to fit the preset sizes in ACP.
I can't find these settings.

Anyway the setting you looking for is in Attachment settings

Code: Select all

Maximum thumbnail width/height in pixel:
A generated thumbnail will not exceed the width set here.
No, I don't want attachment settings - I've disabled attachments anyway. I want when I post a large image (like a screenshot of my desktop), the image to be visually resized to a smaller image and when you click the resized image, it would be open in a new tab in its ful size.

Never mind - the good old 20 years old HTML which I used when I was 16 did the job:

1. [rimg]{URL}[/rimg]

2. <a href={URL} target="_blank"><img src={URL} width="1000" ></a>

3. Insert URL to a large image for it be visually resized

And FINALLY the result is a resized clickable image that opens up in a new tab, showing the actual size of the image: http://atheist-society.eu/viewtopic.php?f=40&t=23
Last edited by rado_84 on Fri Jan 15, 2021 2:44 pm, edited 1 time in total.
User avatar
Mannix_
Registered User
Posts: 1010
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt
Contact:

Re: 3.3.2 - max image width and height in posts not working

Post by Mannix_ »

rado_84 wrote: ↑
Fri Jan 15, 2021 2:33 pm
And FINALLY the result is a resized clickable image that opens up in a new tab, showing the actual size of the image.
I was about to suggest to use custom bbcode for the images next btw can you post a screenshot of the setting you apparently change? I'm talking about
ACP :arrow: Posting settings :arrow: Image max width [input field] px (set to 800)
ACP :arrow: Posting settings :arrow: Image max height [input field] px (set to 600)
because I don't see it anywhere in the ACP
-=-=-=-=-=-=-=-=-=-=-=-=-My Styles-=-=-=-=-=-=-=-=-=-=-=-=-
β€’ Hexagon β€’ HexagonReborn β€’ CleanSilver β€’ Project Durango
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Need help with styling or want me to port a style to 3.3.x etc. contact me here or here.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
User avatar
warmweer
Jr. Extension Validator
Posts: 6153
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: 3.3.2 - max image width and height in posts not working

Post by warmweer »

rado_84 wrote: ↑
Fri Jan 15, 2021 1:33 pm
ACP :arrow: Posting settings :arrow: Image max width [input field] px (set to 800)
ACP :arrow: Posting settings :arrow: Image max height [input field] px (set to 600)
As mentioned, doesn't seem to be a default phpBB feature, so I suggest you use the SRT to provide some precise info, specifically extensions or custum coding
rado_84 wrote: ↑
Fri Jan 15, 2021 1:33 pm
I simply forgot to make a dial for this forum and I have to Google for it every time. With no dial to remind me of it, sometimes I forget where I've posted and that I have to watch the topic I've posted.
A sure sign it's nothing important - so we might as well treat it as unimportant also.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.
User avatar
rado_84
Registered User
Posts: 29
Joined: Tue Dec 11, 2012 2:06 pm

Re: 3.3.2 - max image width and height in posts not working

Post by rado_84 »

Mannix_ wrote: ↑
Fri Jan 15, 2021 2:37 pm
can you post a screenshot of the setting you apparently change?


My ACP is in Bulgarian and you won't understand anything. I've added some translation in English, hopefully this will help you understand which setting I was talking about:

Image
Post Reply

Return to β€œ[3.3.x] Support Forum”

cron