Ok, thx..
I will wait for update.
NSP GK5 alt image problem
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?
- Edited
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?
- Edited
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