×
Blue Eagle 5 v1.5.3 has been Released (31 Mar 2020)

The Kunena team has announce the arrival of Kunena template Blue Eagle 5 v1.5.3 which is now available for download. This version addresses most of the issues that were discovered in development.

Solved Uploade images is displayed at max image size and not thumnail size

More
1 month 1 week ago - 1 month 1 week ago #1 by WoodyF4u
Hi, I have read a lot of topic here but none of theme answered my question.
When a forum user uploads an image, it will be automatically resized to he size which is et in the configuration. 800x800 px
So far so good.
But when we insert the image in a post, then the resized image is shown and not a thumbnail.

This is set in the configuration:


How can I change it somewhere so the thumbnail will be shown in the post instead of the full (resized) image?

Best regards,
Wouter
Attachments:
Last edit: 1 month 1 week ago by rich. Reason: Images correctly inserted

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #2 by WoodyF4u
I don't know why but I can not see my uploaded image in my post above.
These are the configuration settings for the Images.
Maximum image width: 800px
Maximum image height: 800pox
Thumbnail width: 80px
Thumbnail height: 80px

The images in the forum posts are displayed with the maximum mage size (800x800)
And not as a thumbnail of 80x80).

I hope someone can help me to fix this.

Best regards,
Wouter

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #3 by rich

I don't know why but I can not see my uploaded image in my post above.

You have left the editor (maybe with the browser back option). This problem occurs if you use the browser back button and again the forwards button before save. Kunena register this as abort and enter no message ID for this image in the table row during save.

The images in the forum posts are displayed with the maximum mage size (800x800)
And not as a thumbnail of 80x80).

This size is for thumbs below the message when the images are not inserted inside the message.
If you want thumbs also in the messages, try this code in your custom.less.

.kmsgimage img {
    max-width: 80px;
}

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #4 by WoodyF4u
Hi Rich,
Thanks for your quick reply and explanation.
I added the extra css code t the custom.css file of the template.
But for as far as I can see nothing changed.

You can see an example here:
bmwcruiser.nl/forum/diversen/476-bmw-cru...up-in-corona-periode
All images do have a height of 800 px or a width of 800 px.
The owner of that website likes to see smaller images n the forum posts and when a visitor clicks at the small image that the popup will show the image at 800 px width and/or height.
Is that possible in Kunena?

Best regards,
Wouter

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago - 1 month 1 week ago #5 by rich

I added the extra css code t the custom.css file of the template.

You must add the code in your custom.less, not css.
If you add the code in your custom.css you must add #kunena.layout at the begin.

#kunena.layout .kmsgimage img {
    max-width: 80px;
}

Addition:
I see now, you don't use a template from us. If your template not offer this custom files, you can also add this code in your Joomla custom.css or template.css.
Last edit: 1 month 1 week ago by rich.
The following user(s) said Thank You: WoodyF4u

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #6 by WoodyF4u
Thanks a lot.
That was the difference. The Kunena template I am using is a Roundtheme temolate.
Thanks for the correct css code.

Best regards,
Wouter

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.483 seconds