Kunena Menu
Width, Height and Title Attributes for menu images
12 years 3 months ago #21386
by ajkosan
Width, Height and Title Attributes for menu images was created by ajkosan
Hello.
I would need some help.
I'm doing site optimization and I noticed that MaxiMenuCK doesn't specify Images Width, Height and Title Attributes for menu images and then I get bad score on "Specify image dimensions" in gtmetrix.com because I have lots of menu images.
Best Regards
I would need some help.
I'm doing site optimization and I noticed that MaxiMenuCK doesn't specify Images Width, Height and Title Attributes for menu images and then I get bad score on "Specify image dimensions" in gtmetrix.com because I have lots of menu images.
Well this is also optimization and I would wish that you can make this for your great MaxiMenuCK.- SEO optimized
Best Regards
Please Log in or Create an account to join the conversation.
12 years 3 months ago #21399
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Width, Height and Title Attributes for menu images
Hi
please try with a native joomla menu module and tell me if you have the same issue
CEd
please try with a native joomla menu module and tell me if you have the same issue
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
12 years 3 months ago #21412
by ajkosan
Replied by ajkosan on topic Width, Height and Title Attributes for menu images
I have try native Joomla menu and there is the same issue.
I was hopping that this problem will go away with MaxiMenuCK, I also buy maxi menu ck and "problem" still here. I also bought maxi menu ck mobile plugin, but that is just for mobile.
I was hopping that this problem will go away with MaxiMenuCK, I also buy maxi menu ck and "problem" still here. I also bought maxi menu ck mobile plugin, but that is just for mobile.
Please Log in or Create an account to join the conversation.
12 years 3 months ago #21416
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Width, Height and Title Attributes for menu images
I use the same code as the native menu module. Now the alt tag can be done easily, but for the dimensions there is no option to set it
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
12 years 3 months ago #21418
by ajkosan
Replied by ajkosan on topic Width, Height and Title Attributes for menu images
I found where I can add image height and width attribute, but if I add
then this is same width and height for all of the menu images...
Can you get image information (height, width) somehow, and then call it like
???
Code:
width="25px" height="18px"
Can you get image information (height, width) somehow, and then call it like
Code:
width="get->image_width" height="get->image_height"
Please Log in or Create an account to join the conversation.
12 years 3 months ago #21430
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Width, Height and Title Attributes for menu images
this is exactly the question I had before :Can you get image information (height, width) somehow
there is no option, I should add it into the plugin paramsbut for the dimensions there is no option to set it
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Time to create page: 0.199 seconds




