Thumbnails?
4 posts
• Page 1 of 1
Thumbnails?
First of all I will like to thank you for this great module that I use in my site: www.velocity.gr
I have a request that others might find useful.
For all my images i use the ImageResize PLG http://extensions.joomla.org/extensions/photos-&-images/articles-images/5694/details which automatically creates thumbs on all the pictures in my articles. Is there a way that ImageResize as well creates the proper thumbs on Global News. It will be a lot faster...
Thanx again for the great code
Regards
Dimitris
I have a request that others might find useful.
For all my images i use the ImageResize PLG http://extensions.joomla.org/extensions/photos-&-images/articles-images/5694/details which automatically creates thumbs on all the pictures in my articles. Is there a way that ImageResize as well creates the proper thumbs on Global News. It will be a lot faster...
Thanx again for the great code
Regards
Dimitris
- ddevile
- Fresh Boarder

- Posts: 5
- Joined: Sun Apr 19, 2009 7:08 pm
Re: Thumbnails?
i have similer problem, can anyone help us pls, I can see the plg_imageresize working on other mods but not the global news, i went through the code of GN and I cant see why a plugin wouldnt work on that module, can anyone help up pls.
- nazcas
- Fresh Boarder

- Posts: 1
- Joined: Mon Apr 20, 2009 4:06 pm
Re: Thumbnails?
If someone with better php skills can help here is the patch needed
On collecting the image infos -> store the from the <img... the width="xxx" as w
Then on constructing the path -> add cache/ in front of the path
and replace filename -> by adding w- in the beginning of the filename
if this code is available then Global News will get the cached image (if there is one) instead of the original.
If someone feels up to it...
On collecting the image infos -> store the from the <img... the width="xxx" as w
Then on constructing the path -> add cache/ in front of the path
and replace filename -> by adding w- in the beginning of the filename
if this code is available then Global News will get the cached image (if there is one) instead of the original.
If someone feels up to it...
- ddevile
- Fresh Boarder

- Posts: 5
- Joined: Sun Apr 19, 2009 7:08 pm
Re: Thumbnails?
Readin a post on joomla forum on calling a plugin in a module I came up with this code:
But it seem that is not working on arrays and the output on Global news I think is array. Anyone got a sugestion?
By the way this is the post:
http://forum.joomla.org/viewtopic.php?f=304&t=401150
- Code: Select all
$content = JHTML::_('content.prepare', $content);
But it seem that is not working on arrays and the output on Global news I think is array. Anyone got a sugestion?
By the way this is the post:
http://forum.joomla.org/viewtopic.php?f=304&t=401150
- ddevile
- Fresh Boarder

- Posts: 5
- Joined: Sun Apr 19, 2009 7:08 pm
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests