Skip to Content Skip to Menu

[SOLVED] Images in user lists to small (only Safari)

9 years 8 months ago - 9 years 8 months ago #259111 by zahmundzornig
The avatar images in our user lists are displayed to small in Safari:
www.tantra-massage-portal.com/tantra-massage-koeln

They are round about 30 Pixel height/width. But the minimum height or width has to be 100px.

Firefox works fine.

Ideas why Safari interprate the avatar size wrong?

Joomla 2.5.24, CB 1.9

Thank you!

www.zahmundzornig.de thanx joomlapolis for the great work and support!
Build with CB: www.jaii.de
Last edit: 9 years 8 months ago by krileon.

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
9 years 8 months ago #259112 by nant

zahmundzornig wrote: The avatar images in our user lists are displayed to small in Safari:
www.tantra-massage-portal.com/tantra-massage-koeln

They are round about 30 Pixel height/width. But the minimum height or width has to be 100px.

Firefox works fine.

Ideas why Safari interprate the avatar size wrong?

Joomla 2.5.24, CB 1.9

Thank you!


Guessing it is your template that is causing this.

(You should upgrade to at least CB 1.9.1 and really to CB 2.0.5 as CB 1.9.1 is no longer maintained here)

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8282
  • Karma: 1443
9 years 8 months ago #259126 by krileon
Replied by krileon on topic Images in user lists to small (only Safari)
Your template is adding the following to all img tags.

IN: cache/template/gzip.php?theme-4aee26e2.css
ON: Line 7 and 294
Code:
img { max-width: 100%; height: auto; -moz-box-sizing: border-box; box-sizing: border-box; border: 0; vertical-align: middle; }

Specifically the max width is doing it. The table columns in CB 1.x don't have a width specific so it expands as needed based off the contents. CB 2.x is quite different and has widths specified. I can't give you the exact CSS location though as your site appears to be using some form of CSS compression.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

9 years 8 months ago #259132 by zahmundzornig
Replied by zahmundzornig on topic Images in user lists to small (only Safari)
Thank you for feedback!

Ok, so I understand it correctly that a upgrade to CB 2.x will solve this problem?
A upgrade to 2.x was not planed at the moment but I will bring it forward on the to do list, if I can solve the Safari problem with this work.

www.zahmundzornig.de thanx joomlapolis for the great work and support!
Build with CB: www.jaii.de

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8282
  • Karma: 1443
9 years 8 months ago #259135 by krileon
Replied by krileon on topic Images in user lists to small (only Safari)
It's just an issue of missing width on the columns. You can add the width using CSS, remove the CSS above that's causing your issue, or add CSS to force the image to a minimum width, etc.. CB 2.x columns do have a width so that won't really happen with them, but yes CB 2.x should fix your problem.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

9 years 8 months ago #259176 by zahmundzornig
Replied by zahmundzornig on topic Images in user lists to small (only Safari)
I integrate a min-width in the CB bootstrap template. Now it works in Safari. But nevertheless is a update to 2.x nessesary.

Thanx for your clue.

www.zahmundzornig.de thanx joomlapolis for the great work and support!
Build with CB: www.jaii.de

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

Moderators: beatnantkrileon
Powered by Kunena Forum