Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

file Re: Image not properly rendered?

More
12 years 3 months ago #769 by esprit
Re: Image not properly rendered? was created 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 ... ;-)

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

More
12 years 3 months ago #772 by admin
Replied by admin on topic Re: Image not properly rendered?
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.

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

More
12 years 3 months ago #773 by admin
Replied by admin on topic Re: Image not properly rendered?
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.

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

More
12 years 3 months ago #774 by admin
Replied by admin on topic Re: Image not properly rendered?
I will make sure to modify the module in a further update so it does not use 1x1 images to create a thumbnail.

Olivier.

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

More
12 years 3 months ago #777 by esprit
Replied by esprit on topic Re: Image not properly rendered?
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.

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

More
12 years 2 months ago #814 by esprit
Replied by esprit on topic Re: Image not properly rendered?
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 ... ;-)

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