Images displayed as [img] only on post, but works on preview

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
dremuler
Registered User
Posts: 12
Joined: Fri Oct 11, 2024 12:50 am

Images displayed as [img] only on post, but works on preview

Post by dremuler »

Hi,

I hope everyone is doing well.

I have an issue, my forum on preview display correctly the img code, and display the image correctly,
but when i go to preview or post the image, the forum displays as {img}{/img} only and set it as link.

I already tried:

disabling all ext
enabling attachments
set image sizes on any part of ACP allow but have no success.

Other bb code works fine, even yt videos or something like that.

i tried images from my own host, externals but from anyplace the issue remains.

my phpBB version is 3.3.1 latest

Image

thanks for all help
Last edited by Mick on Sat Nov 09, 2024 11:56 am, edited 2 times in total.
User avatar
KevC
Support Team Member
Support Team Member
Posts: 72617
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK

Re: Images displayed as [img] only on post, but works on preview

Post by KevC »

Looks like an issue with the flightdeck extension (whatever that is and does).
-:|:- Support Request Template -:|:-
Image
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
dremuler
Registered User
Posts: 12
Joined: Fri Oct 11, 2024 12:50 am

Re: Images displayed as [img] only on post, but works on preview

Post by dremuler »

KevC wrote: Fri Nov 08, 2024 8:31 pm Looks like an issue with the flightdeck extension (whatever that is and does).
now its completely disabled, issue remains.
also all set to defaults.

Image
User avatar
KevC
Support Team Member
Support Team Member
Posts: 72617
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK

Re: Images displayed as [img] only on post, but works on preview

Post by KevC »

You ought to ask the author.
-:|:- Support Request Template -:|:-
Image
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
dremuler
Registered User
Posts: 12
Joined: Fri Oct 11, 2024 12:50 am

Re: Images displayed as [img] only on post, but works on preview

Post by dremuler »

KevC wrote: Fri Nov 08, 2024 8:35 pm You ought to ask the author.
sorry, ask what to which author?

theme its disabled, extension of the theme is disabled, also all extensions are disabled.
its a brand new forum. what should i exactly ask to who? because the forum its completely clean.


the url displayed is just the local path.
if i try with any other url, issue remains. with all disabled.
User avatar
EA117
Registered User
Posts: 2173
Joined: Wed Aug 15, 2018 3:23 am

Re: Images displayed as [img] only on post, but works on preview

Post by EA117 »

dremuler wrote: Fri Nov 08, 2024 8:22 pm but when i go to preview or post the image, the forum displays as {img}{/img} only and set it as link.
Does the link being shown work, when this issue is happening and literally displays [img]ext/planetstyles/flightdeck/store/MRELogoBF.png[/img] as a link instead of displaying the actual image? Or does clicking on the link it renders also fail to successfully display the image?

One thing which comes to mind is that it seems like "ext/planetstyles/flightdeck/store/MRELogoBF.png" is a URL which expected to always be relative to the root of the web site. Maybe the base URL of the page you're viewing is considered to be something other than the root of the web site, on the pages where this doesn't display as expected.

As a test, if instead you give it a non-relative URL between your [img] tags, such as even just "/ext/planetstyles/flightdeck/store/MRELogoBF.png" or fully qualified like "https://mysite.com/ext/planetstyles/fli ... LogoBF.png", does this change anything about the issue?
dremuler
Registered User
Posts: 12
Joined: Fri Oct 11, 2024 12:50 am

Re: Images displayed as [img] only on post, but works on preview

Post by dremuler »

EA117 wrote: Fri Nov 08, 2024 8:44 pm
dremuler wrote: Fri Nov 08, 2024 8:22 pm but when i go to preview or post the image, the forum displays as {img}{/img} only and set it as link.
Does the link being shown work, when this issue is happening and literally displays [img]ext/planetstyles/flightdeck/store/MRELogoBF.png[/img] as a link instead of displaying the actual image? Or does clicking on the link it renders also fail to successfully display the image?

One thing which comes to mind is that it seems like "ext/planetstyles/flightdeck/store/MRELogoBF.png" is a URL which expected to always be relative to the root of the web site. Maybe the base URL of the page you're viewing is considered to be something other than the root of the web site, on the pages where this doesn't display as expected.

As a test, if instead you give it a non-relative URL between your [img] tags, such as even just "/ext/planetstyles/flightdeck/store/MRELogoBF.png" or fully qualified like "https://mysite.com/ext/planetstyles/fli ... LogoBF.png", does this change anything about the issue?
Probably im explaining wrong, any image, from any source, face same issue:

this is the link of the image i used to explain my issue: https://i76.servimg.com/u/f76/17/35/98/72/imagen10.png

its displayed correctly, here on the forum

now im gonna use it on my forum:
Image

As you can see, is not displayed neither, in fact is marked as link not as image, ignoring completely the [img] bb code tag, that could lead discard that the issue is tied to an extension or at least flight deck extension.
but as i mentioned before, theres nothing active now, the forum its brand new
*bbcode is also enabled, work for everything except image posting, additionally, on the preview editor, image its actually displayed, but on the final post or the preview outsideof the edition box it doesnt.
User avatar
KevC
Support Team Member
Support Team Member
Posts: 72617
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK

Re: Images displayed as [img] only on post, but works on preview

Post by KevC »

dremuler wrote: Fri Nov 08, 2024 8:38 pm sorry, ask what to which author?
of the flightdeck extension.
-:|:- Support Request Template -:|:-
Image
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
dremuler
Registered User
Posts: 12
Joined: Fri Oct 11, 2024 12:50 am

Re: Images displayed as [img] only on post, but works on preview

Post by dremuler »

KevC wrote: Fri Nov 08, 2024 9:06 pm
dremuler wrote: Fri Nov 08, 2024 8:38 pm sorry, ask what to which author?
of the flightdeck extension.
Just deleted the extension completely, even from the server.

Issue remains.
User avatar
KevC
Support Team Member
Support Team Member
Posts: 72617
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK

Re: Images displayed as [img] only on post, but works on preview

Post by KevC »

That doesn't happen on a stock installation so it has to be extension or theme related.
-:|:- Support Request Template -:|:-
Image
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
dremuler
Registered User
Posts: 12
Joined: Fri Oct 11, 2024 12:50 am

Re: Images displayed as [img] only on post, but works on preview

Post by dremuler »

KevC wrote: Fri Nov 08, 2024 9:11 pm That doesn't happen on a stock installation so it has to be extension or theme related.
Its happening
Respectfully, i really appreciate wait for more help. I appreciate you’re trying, but not works :)
Any technical answer of which files can i check or anything far away obvious things, its welcome otherwise i still wait for any other ideas :)
User avatar
warmweer
Jr. Extension Validator
Posts: 11874
Joined: Fri Jul 04, 2003 6:34 am
Location: somewhere in the space-time continuum

Re: Images displayed as [img] only on post, but works on preview

Post by warmweer »

dremuler wrote: Fri Nov 08, 2024 8:22 pm my phpBB version is 3.3.1 latest
What are the requirements for the flightdeck extension? (PHP and phpBB) (look in the composer.json of the flightdeck extension)
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.


Time flies like an arrow, but fruit flies like a banana.
User avatar
KevC
Support Team Member
Support Team Member
Posts: 72617
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK

Re: Images displayed as [img] only on post, but works on preview

Post by KevC »

dremuler wrote: Fri Nov 08, 2024 9:14 pm
KevC wrote: Fri Nov 08, 2024 9:11 pm That doesn't happen on a stock installation so it has to be extension or theme related.
Any technical answer of which files can i check or anything far away obvious things, its welcome otherwise i still wait for any other ideas :)
But the person who knows most about those files in the extension is the person who wrote it. We didn't make that.
-:|:- Support Request Template -:|:-
Image
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
dremuler
Registered User
Posts: 12
Joined: Fri Oct 11, 2024 12:50 am

Re: Images displayed as [img] only on post, but works on preview

Post by dremuler »

warmweer wrote: Fri Nov 08, 2024 9:30 pm
dremuler wrote: Fri Nov 08, 2024 8:22 pm my phpBB version is 3.3.1 latest
What are the requirements for the flightdeck extension? (PHP and phpBB) (look in the composer.json of the flightdeck extension)
it doesnt matter, i just removed from the forum and server completely, issue remains, even with other pictures stored on other places.
dremuler
Registered User
Posts: 12
Joined: Fri Oct 11, 2024 12:50 am

Re: Images displayed as [img] only on post, but works on preview

Post by dremuler »

KevC wrote: Fri Nov 08, 2024 9:49 pm
dremuler wrote: Fri Nov 08, 2024 9:14 pm

Any technical answer of which files can i check or anything far away obvious things, its welcome otherwise i still wait for any other ideas :)
But the person who knows most about those files in the extension is the person who wrote it. We didn't make that.
theyre removed :) it doesnt matter who knows more about that extension, is not on the server anymore, and issue remains.

ill wait for other ideas ;)

Return to “[3.3.x] Support Forum”