changing popular pod image
I would like to change the size of the pod image. I see its an image upload cropped. I am not sure how to do that.
I would like to change the size of the pod image. I see its an image upload cropped. I am not sure how to do that.
in the webassist/plugins/catalog/popularbox.php file, the following code generates the iamge:
<?php
$imgWidth = 207;
$imgSrc = (($row_MostPopularRS)?'../../../'.$WAGLOBAL_Images_Folder. $row_MostPopularRS['ProductThumb']:'images/default-product_thumb.png');
$imgSrc = abs2rel(rel2abs($imgSrc,dirname(__FILE__)),dirname($_SERVER['PHP_SELF']));
$WAResultsImage = new WA_Include('scripts/resize_image.php');
require($WAResultsImage->BaseName);
$WAResultsImage->Initialize(true);
?>
<a href="../../../products_detail.php?ProductID=<?php echo($row_MostPopularRS['ProductID']); ?>">
<img src="<?php echo(abs2rel(rel2abs($WAResultsImage->Body,dirname($_SERVER['PHP_SELF'])),dirname(__FILE__))); ?>" class="popularImage" />
change the $imgWidth = 207; setting to change the image dimensions.
The image width is showing on the website now as 114px. And this says 207...Am I missing something here? I am just trying to understand how this works.
what was the size of the original image?
If the width is less than 207, the width will not be changed, it will only re size the image, if it is less then 205 pixals wide.
I followed the path of the image and some where its getting cropped. I looked on the upload page and it I don't see the upload button showing it cropped to theses sizes.
I tried what you said and it didn't change anything.
Confidence_10201107.jpg
I have created a support ticket so we can look into this issue further.
To view and edit your support ticket, please log into your support history:
supporthistory.php
If anyone else is experiencing this same issue, please append to this thread.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.