GK5 Specify image dimensions GTMatrix speed check

News Show Pro GK5 - flexible, responsive and easily extendable free Joomla module support forum.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Tue Jan 26, 2016 11:09 am
Hello Gavick Team,

I love all stuff at Gavick.
At the moment i'm looking at a better solution for news modules.
We have stopt using Giant Content, with GK5 we get better results in page load and speed at GTMatrix.com

After adjusting them to make use of GK5 we get a lot lines at "Specify image dimensions" at prio High.
Have looked in this forum and not found a solution.
This should be possible at responsive sites.
We have looked in to the code and the width hight is missing. When push button responsive all with css. When not push this button at gk5 also like style en not the valid width height.

Somehow we think this can be fixed by let the module php check the feelds inside gk5 image tab and there take out that height / width. Than when responsive is used, still use this and also css to overwrite that heigh width, with for example important to width 100% and max width that one from feeld.

Or is there a fix? This will give I think a lot points at GTMatrix Google speed check. :woohoo:
Some an other solution?
User avatar
Fresh Boarder

GK User
Tue Jan 26, 2016 1:19 pm
We have fixed it for the time at view.php inside module. Not the best but it works because the css was already in place.
Line327:
if($size != '') {
$size = 'height="'.$config['img_height'].'" width="'.$config['img_width'].'"';
}
if($size == '') {
$size = 'height="'.$config['img_height'].'" width="'.$config['img_width'].'"';
}
User avatar
Fresh Boarder

teitbite
Fri Jan 29, 2016 12:54 pm
Hi

NSP already have multiple image display methods and one of them is a specification of dimensions in-style. But of course this would work with some specific module configuration. Glad You have found a workaround to make it work for every style.
User avatar
Moderator

GK User
Fri Jan 29, 2016 2:44 pm
hello,

Is there already inside a option to have height and width, for correct "SPECIFY IMAGE DIMENSIONS" ?
I did try more options, but with some we get "style" and that was not valid height for GTMatrix.

I do not understand your multiple image display method, here you can select that width and height is correct place?
User avatar
Fresh Boarder

teitbite
Wed Feb 03, 2016 11:24 am
Hi

I agree, those options can be hard to understand and I myself had to try some combinations in order to learn it at first, but. When You will disable cleating thumbnail than an original image will be used in module than it will be resized by css to the dimensions You have set for thumbnail size.

Of course Your solution is good too and in some cases can work even better.
User avatar
Moderator

GK User
Fri Feb 05, 2016 12:54 pm
Ok, thanks.
Yes.
We have now combinate this with nonumber advanched manager. Than at desktop version 3 in collum
Inside mobile 1, so more pages.
The buttons for pages bigger so that google check loves it (not to small for fingers :P)

So better than display none, because than the code is still loading for Google, only visitor does not see, the robots still do. With combi GK5, 2 versions and same position accept desktop vs mobile inside nonumber manager, the code is just one module for google. With this you can also use images other size on creating tumbnail so it is more adaptive :woohoo: :whistle: The sizes inside the feelds are the one for image dimensions google check.

Would be great if this all was possible inside the gk5.
User avatar
Fresh Boarder

teitbite
Wed Feb 10, 2016 12:38 pm
Hi

Ok. I'll pass Your request to developers. For now I'm closing this thread as this problem is solved.
User avatar
Moderator


cron