×
Kunena 5.1 Released (13 May 2018)

The Kunena team is pleased to announce Kunena 5.1.0 [K 5.1.0].
Please read the blog post for information: www.kunena.org/blog/192-kunena-5-1-released

× Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Solved Configuration> Uploads > Image thumbnail Height?

More
3 years 8 months ago - 3 years 8 months ago #1 by mjind
Hi!

When I change the thumbnail Height in configuration > uploads, it doesn't do anything. Stays at like 32?

However, changing the width does work.

Does anyone here know what the issue could be?

Using Kunena 3.0.6 and Joomla 3.3.1
Link: www.kite.mn/forum/
Last edit: 3 years 8 months ago by mjind.

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

More
3 years 8 months ago #2 by Josh
A link to a specific example would help me figure this out (hopefully).
The following user(s) said Thank You: mjind

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

More
3 years 8 months ago - 3 years 8 months ago #3 by mjind

Josh wrote: A link to a specific example would help me figure this out (hopefully).


Hi Josh, thanks!
Here is a test:
www.kite.mn/forum/kiteboarding-chat/8-photo-attach-test

Both height and width are set to 200px in the config>uploads
Last edit: 3 years 8 months ago by mjind.

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

More
3 years 8 months ago - 3 years 8 months ago #4 by sozzled
You could, possibly, add the following code to the end of your Joomla site template:

#Kunena ul.kfile-attach li {
    max-height: 200px;
}
 
#Kunena ul.kfile-attach li a img, #Kunena ul.kfile-attach-editing li a img {
    max-height: 200px;
}
Last edit: 3 years 8 months ago by sozzled.
The following user(s) said Thank You: mjind

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

More
3 years 8 months ago #5 by mjind

sozzled wrote: You could, possibly, add the following code to the end of your Joomla site template:

#Kunena ul.kfile-attach li {
    max-height: 200px;
}
 
#Kunena ul.kfile-attach li a img, #Kunena ul.kfile-attach-editing li a img {
    max-height: 200px;
}


Thank you, looks like we're almost there:
www.kite.mn/forum/kiteboarding-chat/8-photo-attach-test

It looks to be 200px by 200px now, however, it is partially hidden under the message box?

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

More
3 years 8 months ago #6 by Josh
The selector "#Kunena ul.kfile-attach li" is constraining it to 32px in height. Over ride this. B)

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

More
3 years 8 months ago #7 by mjind

Josh wrote: The selector "#Kunena ul.kfile-attach li" is constraining it to 32px in height. Over ride this. B)


Thanks! I tried this:
#Kunena ul.kfile-attach li {
    max-height: 200px !important;
}
 
#Kunena ul.kfile-attach li a img, #Kunena ul.kfile-attach-editing li a img {
    max-height: 200px !important;
}

Doesn't seem to work right still. I probably did not implement the override correctly. :whistle:

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

More
3 years 8 months ago - 3 years 8 months ago #8 by Josh
Remove the word "max-" from the li item. ;) This fixed it on my end when using firebug.
Last edit: 3 years 8 months ago by Josh.
The following user(s) said Thank You: mjind

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

More
3 years 8 months ago #9 by mjind
Cool, it worked! Thanks! Looks good, now i can adjust that a little.

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

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