Postings

You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).

Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!

Re: Image not properly rendered?

  • esprit
  • esprit's Avatar Topic Author
  • New Member
  • New Member
More
IP: 24.21.27.50 14 years 3 months ago #769 by esprit
Hi,

the URL is www.konect-aviation.com
The module is on every page but the homepage and the news pages themselves.

The image is there, there is actually like a 34 byte thumbnail. So I guess something doesn't work.

There is no show errors. Only alternative layout. class suffix, caching and cache time ... ;-)
More
IP: 207.229.131.129 14 years 3 months ago #772 by admin
Indeed, you seem to have an image (.gif) that is 1x1 pixel wide.
Please install the latest version of the module and check if you get an error message. It should give us a clue on what is going on.

Olivier.
More
IP: 207.229.131.129 14 years 3 months ago #773 by admin
I actually found out what is going on...
Your article has a .gif image that is 1x1 wide (system-readmore) that is first in the article...
The module looks for the first image it finds in the article... therefore using this as a thumbnail. There would be a solution if you are using Joomla! 2.5+ (but requires you buy the paid version of the module) or I would suggest you structure your articles differently: right now you have nothing in the intro part of the article, then you have the readmore (that is invisible but still there), then you have the full version of the article. Rather, have something in the intro part of the article...

Olivier.
More
IP: 207.229.131.129 14 years 3 months ago #774 by admin
I will make sure to modify the module in a further update so it does not use 1x1 images to create a thumbnail.

Olivier.
  • esprit
  • esprit's Avatar Topic Author
  • New Member
  • New Member
More
IP: 71.193.173.1 14 years 3 months ago #777 by esprit
Oh wow, that is a tricky one!
Thank you so much for your help. I will keep an eye out for the new version.
I am using Joomla! 2.7. I guess that 1x1 pixel image is a system image that I can't get rid of right now. I believe it's because of the JCE-Editor that I use.
However: Thanks for your help and I'll wait for the new version.
  • esprit
  • esprit's Avatar Topic Author
  • New Member
  • New Member
More
IP: 71.193.173.1 14 years 3 months ago #814 by esprit
Hi, I modified your script a little so it takes always the second picture if exists. A quick fix for my problem. Thanks to preg_match_all and you of course ... ;-)