close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Image Resizing - Power Store

Thread began 3/10/2015 2:34 pm by SPT | Last modified 3/11/2015 1:15 pm by Jason Byrnes | 298 views | 3 replies |

SPT

Image Resizing - Power Store

Hi,
So i am just getting started setting up Powerstore (so expect more questions later).

I seem to be having an issue with the image size. The original image I used (1st product put in) was too large. I resized the image in Photoshop and uploaded it again. However the image dimensions (not the image) stay the same making the image appear very pixelated.

I delete the product and start over but the dimensions never change even on additional products the original dimension remains no matter what size image I upload.?

Maybe I am not uploading a file that resizes or something?


Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

The power store files are set to resize the image by width.


for example in the web assist/plugins/catalog/featured_box.php the following code sets the resize dimensions:

<?php
$imgWidth = 207;
$imgSrc = (($row_FeaturedRS)?'../../../'.($WAGLOBAL_Images_Folder).$row_FeaturedRS['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);
?>

maybe try changing that to use image height instead:

$imgHeight = 207;

Sign in to reply to this post

SPT

Thanks Jason - That explains a lot. :)

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...