This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

Change teaser image dimensions?


avatar
Chris500 0
From: -
Change teaser image dimensions?

I've been looking for a while but can't seem to find an option to alter the defauly size of the teaser image?

Any pointers?

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: Change teaser image dimensions?
avatar
Administrator
1340
From: Vienna, Austria
Change teaser image dimensions?

The teaser images have usual the size of the original uploaded image. You could alter the size by adding width/height arguments in the following line of the template story:

if ($insert[story_teaser]) $teaserline = "<img src="https://www.contentteller.com/$insert[story_teaserpath]/images/teaser/$insert[story_teaser]" border="0" align="right" hspace="10" vspace="10">";

Here an example:

if ($insert[story_teaser]) $teaserline = "<img src="https://www.contentteller.com/$insert[story_teaserpath]/images/teaser/$insert[story_teaser]" width="100" height="100"  border="0" align="right" hspace="10" vspace="10">";

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.