B
B
Boris Belov2016-03-14 21:25:12
Joomla
Boris Belov, 2016-03-14 21:25:12

How to make the displayed article thumbnail initially small?

Good evening.
There is a question.
In my template, products (articles) are displayed, they logically display thumbnails and headings. The only problem is that the thumbnails are initially displayed ORIGINAL, and this is bad, because they take a long time to load.
42f8a3cf3e4244d7ac7571917931bd28.png

<a href="index.php?option=com_content&view=article&id=<?php echo $r->id; ?>"><img class="proverka" src="<?php echo $r->gallery_img1; ?>" alt="<?php echo $r->title; ?>" title="<?php echo strip_tags($r->introtext); ?>" /></a>

This code is responsible for displaying the image.
What needs to be written so that the picture is initially displayed not full, but for example a small thumbnail?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2016-03-15
@gangstarcj

Well, there must be a field for a thumbnail somewhere. Can you at least tell me what you use: materials or K2 or something else?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question