Image attachments (inline and not-inline are not clickable)

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
bf17a83
Registered User
Posts: 3
Joined: Fri May 24, 2024 9:02 am

Image attachments (inline and not-inline are not clickable)

Post by bf17a83 »

Hi. I installed phpbb 3.3.11, sqlite3, php version 8.3.1.

I installed phpbb, created new forum, but when uploaded image attachment, it is not clickable. I even tried another style, but same behavior. I re-checked attachment settings but everything seems okay. Images are displaying but they are not linked to the source. Any idea why? I even tried unsafe chmod -R 777 for everything just to be completely sure it's not the source of the problems (it wasn't).
User avatar
ssl
Registered User
Posts: 1986
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: Image attachments (inline and not-inline are not clickable)

Post by ssl »

PHP version 8.3 may cause compatibility issues with phpBB 3.3.11, max recommended PHP version: 8.1
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.13 | PHP: 8.3.9
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
bf17a83
Registered User
Posts: 3
Joined: Fri May 24, 2024 9:02 am

Re: Image attachments (inline and not-inline are not clickable)

Post by bf17a83 »

@ssl

thank's for pointing that out. I downgraded to php version 8.1.28, purged cache, but problem remained. This is example of html and image, it's not even wrapped in <a>.
You do not have the required permissions to view the files attached to this post.
bf17a83
Registered User
Posts: 3
Joined: Fri May 24, 2024 9:02 am

Re: Image attachments (inline and not-inline are not clickable)

Post by bf17a83 »

Just got to the next problem. I realized, thumbnails are not being created even when I have option in ACM selected for creating thumbnails. I have installed imagemagick and it is in /usr/bin/convert. Still nothing. That's maybe why images are not clickable. So I need to figure out why imageMagick is not being used.
User avatar
P_I
Community Team Member
Community Team Member
Posts: 2452
Joined: Tue Mar 01, 2011 8:35 pm
Location: Western Canada 🇨🇦

Re: Image attachments (inline and not-inline are not clickable)

Post by P_I »

ssl wrote: Fri May 24, 2024 9:28 am with phpBB 3.3.11, max recommended PHP version: 8.1
What is the source for that last sentence? From the phpBB 3.3.11 Release announcement
Marc wrote: Sun Oct 22, 2023 12:48 pm In order to optimize our support for PHP 8.2
All my boards are running phpBB 3.3.11 quite nicely without issue on PHP 8.2.
Normal people… believe that if it ain’t broke, don’t fix it. Engineers believe that if it ain’t broke, it doesn’t have enough features yet. – Scott Adams
User avatar
ssl
Registered User
Posts: 1986
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: Image attachments (inline and not-inline are not clickable)

Post by ssl »

P_I wrote: Fri May 24, 2024 11:49 am What is the source for that last sentence? From the phpBB 3.3.11 Release announcement
In /docs/install.html

Code: Select all

		<li><strong>PHP 7.2.0+</strong> up to and including <strong>PHP 8.1</strong> with support for the database you intend to use.</li>
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.13 | PHP: 8.3.9
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
P_I
Community Team Member
Community Team Member
Posts: 2452
Joined: Tue Mar 01, 2011 8:35 pm
Location: Western Canada 🇨🇦

Re: Image attachments (inline and not-inline are not clickable)

Post by P_I »

Thank you for pointing out that source. That seemingly is a bit of a contraction with the 3.3.11 Release announcement.
Normal people… believe that if it ain’t broke, don’t fix it. Engineers believe that if it ain’t broke, it doesn’t have enough features yet. – Scott Adams
User avatar
ssl
Registered User
Posts: 1986
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: Image attachments (inline and not-inline are not clickable)

Post by ssl »

My remark was just to verify that version 8.3 of PHP could be the source of the problem, obviously not.
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.13 | PHP: 8.3.9
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
P_I
Community Team Member
Community Team Member
Posts: 2452
Joined: Tue Mar 01, 2011 8:35 pm
Location: Western Canada 🇨🇦

Re: Image attachments (inline and not-inline are not clickable)

Post by P_I »

bf17a83 wrote: Fri May 24, 2024 9:06 am Hi. I installed phpbb 3.3.11, sqlite3, php version 8.3.1.

I installed phpbb, created new forum, but when uploaded image attachment, it is not clickable.
It might be time to ask you to please fill out the Support Request Template and post it back here to enable us to assist you better.
Normal people… believe that if it ain’t broke, don’t fix it. Engineers believe that if it ain’t broke, it doesn’t have enough features yet. – Scott Adams
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53541
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}

Re: Image attachments (inline and not-inline are not clickable)

Post by Brf »

bf17a83 wrote: Fri May 24, 2024 9:45 am This is example of html and image, it's not even wrapped in <a>.
It is not supposed to be wrapped in an <a>. See it has a javascript onclick tag.
User avatar
bennybernaer
Registered User
Posts: 682
Joined: Tue Mar 22, 2011 9:53 pm

Re: Image attachments (inline and not-inline are not clickable)

Post by bennybernaer »

ssl wrote: Fri May 24, 2024 1:07 pm My remark was just to verify that version 8.3 of PHP could be the source of the problem, obviously not.
offtopic:

3.3.11 works perfectly on php 8.3 even with more than 40 extensions installed.
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6339
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: Image attachments (inline and not-inline are not clickable)

Post by thecoalman »

bf17a83 wrote: Fri May 24, 2024 9:06 am I re-checked attachment settings but everything seems okay.
Thumbnails is set to yes? Is the uploaded image smaller than the thumbnail size? Thumbnails are not created if the image is smaller than the thumb size.
bf17a83 wrote: Fri May 24, 2024 11:02 am I have installed imagemagick and it is in /usr/bin/convert.
phpBB does not use Imagick, it uses php's GD extension. If you have option for Imagick in phpBB's ACP you are using an older version. You may want to check to see if the GD extension is installed and enabled.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison

Return to “[3.3.x] Support Forum”