Thumbnails not working in blog X

Post Reply
User avatar
Michel
Jr. Bludit
Posts: 3
Joined: Wed Dec 30, 2020 4:56 pm

Hello everybody,

First of all I wish you all a happy new year 2021
I was looking for a new new"s script in google and I arrived at Bludit
Immediately installed immediately fall in love lol

I am using the latest version with the Blog x theme and I cannot adjust the thumbnails.
I read in the forum a user who had the same problem:
viewtopic.php?p=7039#p7039
I am also confused by the Settings > General > Images setting. It leads me to believe that this is where we set the size of thumbnail images but I only get full size images when I upload, I don't see any thumbnails.
So i'm in the same case ...and at this time I did not install ligtbox ..
Site url is here : https://jefekoi.fr/

Any hint is welcome :)
lightmat
Sr. Bludit
Posts: 46
Joined: Fri Feb 21, 2020 10:53 pm

In Blog X the template [/php/home.php] you need to change line 16

From:
<img class="card-img-top mb-3 rounded-0" alt="Cover Image" src="<?php echo $page->coverImage(); ?>"/>

To:
<img class="card-img-top mb-3 rounded-0" alt="Cover Image" src="<?php echo $page->thumbCoverImage(); ?>"/>

Then you can use thumbnails and with custom size settings
User avatar
Michel
Jr. Bludit
Posts: 3
Joined: Wed Dec 30, 2020 4:56 pm

Thanks for your help, lightmat, unfortunately it doesn't work.
I tried with and without the media plugin and with another theme as well, but nothing,
photo is contained in the width of the column.
On the other hand I can reduce it with the editor by clicking on the arrows

When I do "inspect" on the image I see that the height and width are set to auto, a
s if the setting in admin had no effect
<img src="......._Photo_Paul_Prim_85843abd44090375b2f8fe8b940f3868.jpg" style="width: auto; height: auto;">
lightmat
Sr. Bludit
Posts: 46
Joined: Fri Feb 21, 2020 10:53 pm

It is the right way to get the thumbimage from image that you have uploaded

Inspector will show something like this:
/bl-content/uploads/pages/8a6b0c476ba7baa3359a52fe7858f5ef/thumbnails/BLUDIT.png

You also have to tweak the css file for the theme to suit you needs, so that you get the image shown the right way, and precisly where you want it.

The blog x theme is not designed to use thumbnails. It is up to the developers whether it is a feature they will make use of in their themes.
I did not get that explained well enough, sorry
User avatar
Michel
Jr. Bludit
Posts: 3
Joined: Wed Dec 30, 2020 4:56 pm

lightmat wrote: Sat Jan 02, 2021 10:21 pm You also have to tweak the css file for the theme to suit you needs, so that you get the image shown the right way, and precisly where you want it.
I'm not able to do this, my level skil is copy and paste code only ^^
lightmat wrote: Sat Jan 02, 2021 10:21 pm The blog x theme is not designed to use thumbnails. It is up to the developers whether it is a feature they will make use of in their themes.
I did not get that explained well enough, sorry
Thank you for your help, I will drop blogX and take Blekathlon which manages the thumbnails correctly.
This is not the one I prefer because I like that the column with the categories is always visible but for now it will be fine because it is a great theme except for this detail.

(I had chosen BlogX because it comes by default with the zip, so I mistakenly thought that it was 100% compatible with all the functions of Bludit.)
User avatar
Jay
Master Bludit
Posts: 133
Joined: Mon Feb 11, 2019 8:41 pm

Michel wrote: Sun Jan 03, 2021 10:34 am I will drop blogX and take Blekathlon which manages the thumbnails correctly.
You need to remember that once the thumb is generated for uploaded image, changing thumb settings in bludit option will not automatically convert all existing thumbnails. You need to reupload the image so that changed bludit settings take effect.
Post Reply