- Edited
ok , i wait for your opinion what is wrong with site - why NSPGK5 dont show alt atribute in image ;/
i edit Fields and add FTP info for u
propobly does this have to do with the lack of title attribute in the images?
ok , i wait for your opinion what is wrong with site - why NSPGK5 dont show alt atribute in image ;/
i edit Fields and add FTP info for u
propobly does this have to do with the lack of title attribute in the images?
Ok, thx..
I will wait for update.
maybe you already know something? is there any chance that the change will be introduced by the end of november? possibly by the end of 2020?
manhta yes we have that configure , take first image in article .. so u mean .. we need check it with "image and links" option in article ...
and is it possible to manually modify the php files to add this alt / title to the first image from the article? the pictures have alt / title but the NSP GK5 configuration is to take the first picture from the article not from option images & links
changing that number of articles will be a bit problematic .. maybe you can modify a single script to load it?
Hi,
You could do this to get first image alt text if not set intro image
File modules\mod_news_pro_gk5\tmpl\com_content\view.php
Add these code to line 234
if (!$alt_text) {
preg_match('/<img.*?alt="(.*?)".*?>/', $item['text'], $matches);
if (isset($matches[1])) {
$alt_text = $matches[1];
}
}
I already modified your site. Please check.
ok , here ofc is .. so we need TITLE atribute ... for display that alt/title when hover the mouse
I understand ... thanks for what you did, I'm disabling access. greetings