Problem with images

Post Reply
User avatar
Fleetenkieker
Jr. Bludit
Posts: 3
Joined: Sat May 10, 2025 2:35 pm

Hi,

I'm new to Bludit coming from my much beloved former phpCMS which is no longer developed since 1983. So I thought it's time to change and after trying some others, I landed in Bludit. So I try to migrate my websites.
To do that, I'm studying the documentation, but that does not always help to explain how Bludit internally works. But to find the reason for an error, it would be necessary.

1. When I include a favicon via <?php echo Theme::favicon('img/favicon.png');?> in index.php, in the quell code of the published web page I see that it is loaded there as https://mydomain.com/bl-themes/mytheme/img/favicon.png.
The same goes for any other item to be loaded from a template in mytheme, i.e. css files, navigation items, images, ...
An internal call like /mytheme/img/image.png or so would be much look much easier to me.

2. With an image added to a page it's even more complicated. When I include e.g. image.png there, that one is also fetched for the web page via an external call like https://mydomain.com..., but not as https://mydomain.com/bl-content/uploads/pages/mypage/image.png, as expected, but as https://mydomain.com/bl-content/uploads/pages/77ce995cba184fee31e4df615bd742ef/image.png.
That looks to me as to be fetched from a sort of cache. What for? To gain in speed? An internal call like /uploads/pages/mypage/image.png or so would IMO be much easier and be completed as fast.

The difficulty is the same when later I want to retrieve the image, e.g. in the MultiBlock settings. In the image folder opened there I find it not as /uploads/pages/mypage/image.png but also only with a file name with that long coded part.
And to find the uploaded image in my FTP client is nearly impossible.

Is that normal with Bludit? If so: why?

Still, Bludit looks promising for my needs, so I think I'll stay with it. Thanks to all involved for that CMS! But I'll have more questions... ;)

Harald
Bludit v3.16.2; additional Plugins: MultiBlock v3.1, MultiFields v2.0
arfa
Master Bludit
Posts: 164
Joined: Tue Jul 04, 2017 4:31 am
Location: New Zealand
Has thanked: 13 times
Been thanked: 27 times

Hi Harald,

Welcome. Bludit has its quirks like any other s'ware but it is a simple and robust CMS.

Its kind of hard to work out exactly what your question is.
1 - it seems like you are suggesting relative paths - yes?
2 - I agree that image management is a tad esoteric. I am working on an image-manager plugin that will look at (possibly) easier ways to code paths (but don't hold your breath :))

Hang in there - and feel free to ask.

go well - Kusalo
User avatar
Fleetenkieker
Jr. Bludit
Posts: 3
Joined: Sat May 10, 2025 2:35 pm

Hi arfa,

thanks for your quick reply.
1 - I would like to be able to find an uploaded picture (in FTP client) at
e.g. /bl-content/uploads/pages/mypage/image.png
instead of (in the case of MultiBlock) as
pages/968d7f64fabfa59865eb4a41acafaeec/image.png,
2 - not only images, /bl-content/uploads/pages is not better.

My problem arises in MultiBlock, but with that I'll go on in a separate post in the plugins section.
Thanks again,
Harald
Bludit v3.16.2; additional Plugins: MultiBlock v3.1, MultiFields v2.0
Post Reply