TinyPortal

Development => Support => Topic started by: obarriel on September 27, 2009, 01:37:29 PM

Title: Make picture smaller in "Picture+article frontpage"
Post by: obarriel on September 27, 2009, 01:37:29 PM
I am using Picture+article option in my site: www.reproductormp3.net

I think that the default size for "picture" is 128x128. I have changed the default picture "TPno_illustration.gif" to another one that is much smaller (let's say 15x15). The smaller picture is displayed Ok, but still there is room for the 128x128, so there is a lot of empty space in my frontpage. Is ther any way to customize the space taken by the "picture".

Thank you vey much!

Link to my site: http://www.reproductormp3.net
SMF version: 1.1.10
TP version: v1.0 beta 4
Theme name and version: Musiconica
Title: Re: Make picture smaller in "Picture+article frontpage"
Post by: G6Cad on September 27, 2009, 01:57:11 PM
Please read the Posting Guidelines.html (http://www.tinyportal.net/index.php/topic,581)

We need to know your setup, please click the link and add in the info we ask for there
Title: Re: Make picture smaller in "Picture+article frontpage"
Post by: obarriel on September 27, 2009, 08:33:18 PM
Thankyou. I have already added the requested info.

Title: Re: Make picture smaller in "Picture+article frontpage"
Post by: IchBin on September 28, 2009, 01:32:10 AM
The code is still showing that it uses 128px of space. In the TPBlocks.template.php file you'll find a couple of lines similar to this:
<div style="width: 128px; height: 128px; background: top right url(' , $settings['tp_images_url'] , '/TPno_illustration.gif) no-repeat;"></div>';

You need to change the width/height.
Title: Re: Make picture smaller in "Picture+article frontpage"
Post by: obarriel on September 28, 2009, 08:47:23 PM
Thank you. Works great

TP is awesome. I love it.
Title: Re: Make picture smaller in "Picture+article frontpage"
Post by: G6Cad on September 28, 2009, 09:28:49 PM
Marking this solved then  :up: