Announcement

Collapse
No announcement yet.

Image sizing

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

    Image sizing

    I am currently helping a friend build an ecommerce website.

    I have looked in the Advanced guide and Actinic help but can't find an answer to my problem.

    We are using product images that vary in size but when they appear on the site, the images and text are all over the place. So we want to put the images in a fixed size placeholder or "frame" (not to be confused with frame or frameset in the HTML sense. My question is, how do we set the parameters for the placeholder.

    Any suggestions will be gratefully received.

    Kind regards

    Peter

    #2
    If you use a div with a style width and height specified your picture will scale to the size specified. If your pictures do not have the same relative width to height ratio then you can just specify width and the height scales proportionately.

    Steve

    Comment


      #3
      Alternatively, edit Act_ProductImage.html and replace
      Code:
      <IMG SRC="NETQUOTEVAR:IMAGEFILE"
      	  ALT="NETQUOTEVAR:ALTERNATETEXT"
      	  BORDER=0
      	  NETQUOTEVAR:IMAGEHEIGHT
      	  NETQUOTEVAR:IMAGEWIDTH
      	  NETQUOTEVAR:OTHERIMAGEMARKUP>
      with
      Code:
      <IMG SRC="NETQUOTEVAR:IMAGEFILE"
      	  ALT="NETQUOTEVAR:ALTERNATETEXT"
      	  BORDER=0
      	  width="100"
      	  NETQUOTEVAR:OTHERIMAGEMARKUP>
      <!-- NETQUOTEVAR:IMAGEHEIGHT -->

      Comment


        #4
        Thanks Chris,

        I'll give that a whirl and and let you know how it pans out.

        regards

        Peter

        Comment

        Working...
        X