PDA

View Full Version : Headline image is not converting to allowed size


mgjr
04-04-2007, 02:19 PM
When you set up the prefered width and height It should resize the image to the size you selected. It just stop working all of the sudden. Anyone experience that problem. Also I would like to wrap the headline around the image, can u guys help?

Micha
04-04-2007, 03:03 PM
What version of Vivvo do you use?
The image resize should be fixed in v3.5 and 3.5 upgrade.
Also in v3.5 the text of headlines wraps around the headline image by default.

mgjr
04-05-2007, 04:21 PM
thks for your help

Elton
04-27-2007, 03:33 PM
I'm on an old version (haven't had time to upgrade yet) - how can I fix this issue in previous versions?

Cheers,

Elton

WARFIELD
04-27-2007, 05:14 PM
IN VERSION 3.4 YOU WILL NEED TO GO INTO HTML_function.php AND CHANGE THE SIZE ON LINE 2011 AND 2012 JUST CHANGE THE CODE TO REFLECT THE SIZE OF THE IMAGE. YOU WILL ALSO NEED TO CHANGE THE SIZE IN THE ADMIN AREA.

EXAMPLE CODE TO LOOK FOR ON LINE 2011 AND 2012

if ($headlines_image_width<1) $headlines_image_width=448;
if ($headlines_image_height<1) $headlines_image_height=336;

Elton
04-27-2007, 05:22 PM
Thanks, Warfield. I've tried that, but it's still now working :(

http://www.anglersnet.co.uk/ - set to 150 in both the file and admin.

All the best,

Elton

WARFIELD
04-28-2007, 04:41 AM
Did You Try Editing The Headlines.tpl File To Resize The Image?
Also In Html Functions There Is Another Line Of Code Before Lines 2011 And 2012 That Has The Image Height On It. You Will Need To Change This As Well.