I have a CMS website that displays user's images. The site currently uses an array to display the max. image width, however this is breaking my design a little and I'd like to force the images to a set width and height.
In one of the files the image is referenced using the following code:
$rs_model_shout[$c]['vImageUrl'] = getImageURL($rs_model_shout[$c]['vImage'], getModelImagePath($rs_model_shout[$c]['iModelId'])."/", getModelImageURL($rs_model_shout[$c]['iModelId'])."/", $imgNamePrefix='2_', $imgDefaultURL=$site_url.'images/default.jpg');
How can I edit this to specify width and height? I tried just adding width="80" height="100", but this made no changes.
Thanks!!
I tried to view the output, but still receive a blank page. Maybe I am entering the var_dump incorrectly?
<?php
ob_start();
var_dump($rs_model_shout[$c]['vImage']);
error_reporting(E_ALL); ini_set("display_errors", "On");
$result = ob_get_clean();
?>