Announcement

Collapse
No announcement yet.

Including an Image within a template

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

    Including an Image within a template

    Hi,

    Im attempting to include an image in the left panel of one of the themes. To do this I go: Options > Design Options > Site Defaults, the Property I am using is "LEFTBARTEXT."

    In here I want to include an image of the debit/credit cards we accept, here is the code I am currently using:

    Code:
    <img src="cards.gif" alt="Image: The credit/debit cards we currently accept" name="cards" width="98" height="54" hspace="0" vspace="0" border="0" align="middle">
    But in both preview mode and when running live the image doesn't appear, it seems as though it is in a wrong directory or doesn't exist. The image is in the correct directory and does exist, is Actinic stopping me from performing this facility for some reason?

    PS. I've also tried inserting the image by wrapping it with !!< and >!!

    Thanks,

    Mat

    #2
    are there any spaces within the name of the product?
    there is usually an error message when this happens but it could be the problem. try replacing the spaces with "_" or just removing them.

    Comment


      #3
      Its not a product, its just an image that will appear on the left of the screen under the theme navigation. The file name is cards.gif, but for some reason it won't render it, even though the image is there.

      Thanks for replying.

      Comment


        #4
        Maybe stupid question but have you added the image to the site through Advanced | Additional Files? Alternatively you could use the absolute url of the image
        Fitness for life!www.fitness-focus.co.uk


        DIFN - Doing nothing is not an option

        The Supplement Warehouse - Bodybuilding & Fitness Supplements

        Comment


          #5
          Sounds as though you are using smart theme and putting this in one of the side panels. These panels are table cells 150 pixels wide - you will need to make sure the dimensions of your cards.gif will fit within the cell.

          Open cards.gif in your graphics package and resize.
          Bill
          www.egyptianwonders.co.uk
          Text directoryWorldwide Actinic(TM) shops
          BC Ness Solutions Support services, custom software
          Registered Microsoft™ Partner (ISV)
          VoIP UK: 0131 208 0605
          Located: Alexandria, EGYPT

          Comment


            #6
            Yep thats brilliant, it works now. Didn't realise you had to "add" files in the "advanced > additional files." Do you have to do this for all files which you include as your own?

            Comment


              #7
              Yes you do unless of course you refer to the absolute url and then you can ftp but using the advanced option is easier
              Fitness for life!www.fitness-focus.co.uk


              DIFN - Doing nothing is not an option

              The Supplement Warehouse - Bodybuilding & Fitness Supplements

              Comment

              Working...
              X