6

Does Joomla 3 has some default options to set a smaller image size in the Blog view (thumbnail) and the normal size in the article?

6

Nope, not directly. Each article can have two different images:

The intro image is used for article teasers like a blog view or search results.

The fulltext image is used for the article view.

So you could use the same image but different sizes. Besides that you have always the possibility to create a template overwrite and alternate the output.

  • The exact size is dictated by the template used, correct? So switching templates could change the size if the template has code to affect it? – David Fritsch Feb 8 '15 at 22:36
  • The original images can but should not be altered by template, but a template could create thumbnail/cached-image which will be displayed. – Nils Rückmann Feb 9 '15 at 9:59
  • So I guess I could change some php (say components\com_content\views\category\tmpl\blog.php for this situation) so that it shows the image size I want. – mortalis Feb 9 '15 at 17:45
  • And additional wish is to insert an image in the beginning of an article but hide it in the blog view. Maybe it's also can be achieved through the blog.php editing. – mortalis Feb 9 '15 at 17:46
  • You should not edit the core files. Use overrides: templates/YOUR_TEMPLATE/html/com_content/category/blog.php. See Joomla Docs – Nils Rückmann Feb 12 '15 at 19:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.