Announcement

Collapse
No announcement yet.

Resizing Pictures

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Resizing Pictures

    Hi
    I'm inserting pictures of all different sizes, and apart from resizing them all individually, with a graphic package, is there any way i can get actinic Business to keep all my images the same size.

    #2
    You could replace Act_ProductImage.html with
    Code:
    <!-- ProductImage HTML begin -->
    <!-- This file is used to build the product image markup. -->
    
    <IMG SRC="NETQUOTEVAR:IMAGEFILE"
    	  ALT="NETQUOTEVAR:ALTERNATETEXT"
    	  BORDER=0
    	  width=100
    	  height=100
    	  NETQUOTEVAR:OTHERIMAGEMARKUP>
    <!--NETQUOTEVAR:IMAGEHEIGHTNETQUOTEVAR:IMAGEWIDTH-->
    
    <!-- This file is used to build the product image markup. -->
    <!-- ProductImage HTML end -->
    This would make all images 100 x 100.

    If you omit one of the width=100 or height=100 lines then the image will be fixed to that dimension and the other scaled to keep the aspect ratio correct.

    However fixing both sizes is a bad idea as you'd have to make sure that all your images were the same aspect ratio, or some would be stretched / squashed.

    Even worse, your images would probably be much bigger than needed (although shown at a fixed size) and thus cause slow page load times (and lost customers).

    It's much better to resize all your images to the required display size before using them online as this will be the most efficient way of showing them.

    There are plenty of free utilities that can resize a whole batch of images in one go. For example Irfanview www.irfanview.com and there's also a Windows XP powertoy that add Resize to the right-click menu.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      http://community.actinic.com/showthread.php?t=11309 you can have a read of this thread as well
      Owner of a broken heart

      Comment


        #4
        resizing pictures

        Thanks done as suggested, worked a treat. Thanks

        Comment

        Working...
        X