gallery bbc appearing as code in entry

This is the right place to report general bugs, make suggestions or ask for help.
Post Reply
miri
Posts: 2
Joined: Wed Jul 23, 2025 12:43 am

gallery bbc appearing as code in entry

Post by miri » Wed Jul 23, 2025 2:00 am

Hi! I'm an extremely rusty former hobby site builder returning to making sites after about a decade, so please pardon me if this is a total non-problem and I've just overlooked something silly. I just installed flatpress today on xampp, installed/turned on a few plugins (the markdown/ckeditor ones, to be precise), then wrote a test post with a little bit of text and an attempt to create a gallery of pictures to display beneath the text.

Unfortunately, when I publish, the gallery code just shows up as the line of code - it looks like it's been blockquoted, like its a code snippet, and I can't figure out why this is the case, much less what I can do to fix it. I tried to create a completely separate entry, and it does the exact same thing. It is the correct path, I triple-checked the folder name, it's just refusing to play. What am I missing?

Code: Select all

[gallery="images/0722_artwalk" height="100"]

User avatar
fraenkiman
Posts: 368
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

Re: gallery bbc appearing as code in entry

Post by fraenkiman » Wed Jul 23, 2025 11:44 pm

Hello Miri,

The PhotoSwipe plugin and/or the BBcode plugin may not be activated or the GDlib extension may not be installed on the web server.

The Markdown plugin may be interfering. Simply deactivate it as a test or alternatively use the Parsedown plugin.

Best regards
Frank
:pencil: You are strong in PHP and Java Script? :point_right: Then help us to improve FlatPress. :point_left:

:exploding_head: Looking for ideas, templates, examples and answers to frequently asked questions?
:bulb: You'll find it here.

My :de: FlatPress-Blog: https://frank-web.dedyn.io

User avatar
Arvid
FlatPress Coder
Posts: 625
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: gallery bbc appearing as code in entry

Post by Arvid » Mon Aug 04, 2025 12:19 pm

miri wrote: Wed Jul 23, 2025 2:00 am Hi! I'm an extremely rusty former hobby site builder returning to making sites after about a decade, so please pardon me if this is a total non-problem and I've just overlooked something silly. I just installed flatpress today on xampp, installed/turned on a few plugins (the markdown/ckeditor ones, to be precise), then wrote a test post with a little bit of text and an attempt to create a gallery of pictures to display beneath the text.

Unfortunately, when I publish, the gallery code just shows up as the line of code - it looks like it's been blockquoted, like its a code snippet, and I can't figure out why this is the case, much less what I can do to fix it. I tried to create a completely separate entry, and it does the exact same thing. It is the correct path, I triple-checked the folder name, it's just refusing to play. What am I missing?

Code: Select all

[gallery="images/0722_artwalk" height="100"]
Hi, and welcome aboard :)
Did you manage to get it to work properly?

The Markdown plugin is my guess as well - the PhotoSwipe plugin that displays the galleries relies on the BBCode plugin.

All the best,
Arvid

miri
Posts: 2
Joined: Wed Jul 23, 2025 12:43 am

Re: gallery bbc appearing as code in entry

Post by miri » Sat Aug 16, 2025 5:05 pm

Thank you both for the responses - apologies for not replying sooner, but my power supply bit the dust the day after I posted and I used it as an excuse to do a complete rebuild, and between waiting for the parts and then finding time to reinstall and get my test server all set up again during a busy time of the year ... well, time flies. :lol:

I swapped from using xampp to laragon (my host uses mysql instead of mariadb which is now xampp's default, and while research is saying there's not much difference, that doesn't mean none, and I didn't want to have to try to untangle that when databases are still basically witchcraft as far as I'm concerned) and basically started again from scratch since I'd barely gotten started the first time. I made sure my settings were correct as per your advice, and whether that was it or not, it's working fine now!

With that out of the way, I'm looking forward to digging into the meat of flatpress customization :) I really used to enjoy designing layouts back in the day, so I'm excited to re-learn design and styling for the modern multi-screen internet.

Thanks again!

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 0 guests