Keyword

How to embed images in K2 articles?

  • Vanesa
  • Vanesa's Avatar Topic Author
  • Offline
  • New Member
More
14 years 9 months ago #79505 by Vanesa
How to embed images in K2 articles? was created by Vanesa
Hi!
I am working with Joomla! 1.5.9 on localhost, PHP version is 5.2.8 and it is running on Windows NT PC 6.0.

I installed K2 successfully. It is a really useful component and I am very happy with it. 

However, there is a little problem which is driving me crazy... as I cannot find out the solution and I am sure it has to be something so evident that I cannot see it.

Whenever I embed an image (JPG, GIF, PNG...) in a K2 article using the little icon depicting a small tree in the toolbar of the WYSIWYG editor, I can see the image properly.

However, when I save changes and go to check the result on any browser (IE, Firefox, Chrome...) all I can see is the area where the image is supposed to be displayed.

Do you know why is this happening?

Thank you so much for your help!

Vanesa

PD.: If I embed the very same image in a Joomla! article out of the K2 component, there it is! It is perfectly displayed...

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

  • Vanesa
  • Vanesa's Avatar Topic Author
  • Offline
  • New Member
More
14 years 9 months ago #79506 by Vanesa
Replied by Vanesa on topic How to embed images in K2 articles?
I just found out it is due to some change I did on: components\com_k2\css\style.css (I replaced this file with an original one and the image shows).

It seems there was "something" transparent which I replaced by a color by mistake...

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

  • Vanesa
  • Vanesa's Avatar Topic Author
  • Offline
  • New Member
More
14 years 9 months ago #79507 by Vanesa
Replied by Vanesa on topic How to embed images in K2 articles?
Solved! The error was here in this code, as background has to be #fff.

div.itemListCategory img

{float:left;display:block;background:#fff;padding:4px;border:1px solid

#ddd;margin:0 8px 0 0;}

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


Powered by Kunena Forum