Keyword

K2 Item Image Big Problem

  • John Farouk
  • John Farouk's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 7 months ago #146145 by John Farouk
K2 Item Image Big Problem was created by John Farouk
I am very upset and need help I am using K2 in a news website the article main image doesnt appear, I tried everything possible for 5 days now but nothing happened please check URL below it's a K2 Item page you can see the article but no image, please I need help, It's an arabic website so the link is too long sorry for that..

ahlyafrica.com/index.php/bonus-pages/item/241-%D8%A7%D9%84%D8%AC%D9%87%D8%A7%D8%B2-%D8%A7%D9%84%D9%81%D9%86%D9%8A-%D9%8A%D8%AD%D8%B3%D9%85-%D9%82%D8%A7%D8%A6%D9%85%D8%A9-%D8%A7%D9%84%D9%85%D9%88%D8%B3%D9%85-%D8%A7%D9%84%D8%AC%D8%AF%D9%8A%D8%AF-%D9%88%D8%A7%D9%84%D9%82%D9%8A%D8%AF-%D8%A7%D9%84%D8%A5%D9%81%D8%B1%D9%8A%D9%82%D9%8A

You can see the images very good in the home page please see: www.ahlyafrica.com

Please need help very soon

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

  • Franz Wohlkönig
  • Franz Wohlkönig's Avatar
  • Offline
  • Platinum Member
More
8 years 7 months ago #146146 by Franz Wohlkönig
Replied by Franz Wohlkönig on topic K2 Item Image Big Problem
Hi John Farouk,

- have you looked if the Category-Setting depends on another Categorie?

or

- is it a Menu showing more than 1 Categorie? Then you have to set your Setting in Menu.

Regards

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

  • John Farouk
  • John Farouk's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 7 months ago #146149 by John Farouk
Replied by John Farouk on topic K2 Item Image Big Problem

Franz Wohlkönig wrote: Hi John Farouk,

- have you looked if the Category-Setting depends on another Categorie?

or

- is it a Menu showing more than 1 Categorie? Then you have to set your Setting in Menu.

Regards


Hi Franz

I need to thank you for your help and reply, Concerning the category no the category is a root one and not take settings of any other category.. Concerning your second instruction I didn't understand it clearly, can you please explain, also I can send you Joomla login to help me, please i need am urgent help

Thank you again for your help & waiting reply
John Farouk

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

More
8 years 7 months ago #146151 by Kelsey Brookes
Replied by Kelsey Brookes on topic K2 Item Image Big Problem
This one is pretty easy and its one that's cropping up a lot with K2 and templates that use modals.

It's a conflict between the way Bootstrap (the 'framework' your template is based on) handles modals and the way K2 does.

The image is actually present, but the css of your template sets .modal to display:none.

You've got two ways of handling this:

1) Edit your bootstrap-rtl.css file, look for .modal and delete it. This will almost certainly cause other issues, but it should allow the image to be visible

2) If you don't care about being able to zoom in on the image, simply create a template override for the news item.php and strip out the entire <a> tag that surrounds the image.

If you REALLY want to have modals and #1 doesn't work, then you can go a bit further and try to implement modals in the Bootrap manner.

For this to work you need to:

1) Create a template override for news item.php to strip out the existing K2 modal code and replace it with Bootstrap's code
2) Use Mootools Enabler/Disabler to disable Mootools
3) Use NoNumber ReReplacer to get rid of the Squeezebox code in the header.

Regards,

Kelsey

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

More
8 years 7 months ago #146175 by Lefteris
Replied by Lefteris on topic K2 Item Image Big Problem
@John Farouk

Do not create duplicate posts or you will get banned from this forum. I have answered already to your question.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • John Farouk
  • John Farouk's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 7 months ago #146193 by John Farouk
Replied by John Farouk on topic K2 Item Image Big Problem
ok I am sorry

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

  • John Farouk
  • John Farouk's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 7 months ago #146194 by John Farouk
Replied by John Farouk on topic K2 Item Image Big Problem

Kelsey Brookes wrote: This one is pretty easy and its one that's cropping up a lot with K2 and templates that use modals.

It's a conflict between the way Bootstrap (the 'framework' your template is based on) handles modals and the way K2 does.

The image is actually present, but the css of your template sets .modal to display:none.

You've got two ways of handling this:

1) Edit your bootstrap-rtl.css file, look for .modal and delete it. This will almost certainly cause other issues, but it should allow the image to be visible

2) If you don't care about being able to zoom in on the image, simply create a template override for the news item.php and strip out the entire <a> tag that surrounds the image.

If you REALLY want to have modals and #1 doesn't work, then you can go a bit further and try to implement modals in the Bootrap manner.

For this to work you need to:

1) Create a template override for news item.php to strip out the existing K2 modal code and replace it with Bootstrap's code
2) Use Mootools Enabler/Disabler to disable Mootools
3) Use NoNumber ReReplacer to get rid of the Squeezebox code in the header.

Regards,

Kelsey


I need to thank you for you reply and great help, I deleted all .modal inside the bootstrap-rtl.css folder all of them, i got the broken thumbnail of the image but the image still not showing for my bad luck.

Concerning the steps you asked me to do please i need your help i can't do it as i am beginner in that, so i can PM you login details and can you help me in that, i will be thankful to you Kelsey...waiting reply

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

  • John Farouk
  • John Farouk's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 7 months ago #146195 by John Farouk
Replied by John Farouk on topic K2 Item Image Big Problem
Kelsey I did it :)

Look i make a copy of k2.css in the template css, I added the following to it and now I can see images :) can you confirm that is right action please

#k2Container a.modal {
border: 0px;
display: inline-block;
margin: 0 10px 0 0;
position: relative;
top: auto;
left: 0px;
width: auto;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
-webkit-box-shadow: 0 0 0 0;
-moz-box-shadow: 0 0 0 0;
box-shadow: 0 0 0 0;
}

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

  • John Farouk
  • John Farouk's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 7 months ago #146196 by John Farouk
Replied by John Farouk on topic K2 Item Image Big Problem
Hi Kelsey again

As I told you the image is now ok but I see a broken image below the big article image I inspect this image in chrome I fount the code <img src="/" alt=""> is causing that problem, where can i remove that, i searched for it in the item.php but I can't find it..thank you for helping me

waiting

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

  • John Farouk
  • John Farouk's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 7 months ago #146207 by John Farouk
Replied by John Farouk on topic K2 Item Image Big Problem
hi Kelsey

Really I need your help i did something which i don't know my home page stuck and the articles background disappreared and the logo spoiled I am really Upset i made some changes as i told you but i tried to make everything back but in vain

Please help see my website

www.ahlyafrica.com

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


Powered by Kunena Forum