Pornostar Posted May 16, 2018 Share Posted May 16, 2018 Hello, I have the following problem. In my template I define the width and height of the thumbs. (Example: <div class="image fit">__THUMB.533.800__</div>) Unfortunately, WIDTH and HEIGHT will also appear in the output. How can I turn it off because I control it via a CSS. Likewise, ALT and TITLE are output. I would like to be able to vary that. thx Maik Link to comment Share on other sites More sharing options...
Robert Posted May 16, 2018 Share Posted May 16, 2018 5 hours ago, Pornostar said: Hello, I have the following problem. In my template I define the width and height of the thumbs. (Example: <div class="image fit">__THUMB.533.800__</div>) Unfortunately, WIDTH and HEIGHT will also appear in the output. How can I turn it off because I control it via a CSS. Likewise, ALT and TITLE are output. I would like to be able to vary that. thx Maik You'd need to edit the functions file. Locate this file: userFunctions.inc.php Then just do search for ALT= and each line likely has the ALT, WIDTH and HEIGHT tags. Just edit as needded (make a copy of the file in case you make a mistake). That said, having it in the source it does not hurt anything. It does not hurt SEO. And, by defining it in the source, it tells the browser what to do immediately versus having it calculated or determined via an extra http call/external file (css). In other words, it's also efficient. Link to comment Share on other sites More sharing options...
Pornostar Posted May 17, 2018 Author Share Posted May 17, 2018 ok, thank you i will test it Link to comment Share on other sites More sharing options...
Pornostar Posted May 17, 2018 Author Share Posted May 17, 2018 fine - it works Link to comment Share on other sites More sharing options...
Robert Posted May 17, 2018 Share Posted May 17, 2018 Ok, great. Glad it worked out for you. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now