Announcement

Collapse
No announcement yet.

image variable help

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

    image variable help

    hi, i need a little help if someone can spare the time!
    I am trying to add an image to my main home page, i thought to create a new variable called 'cardslogo' which was a copy of the brochure logo, the image is selected under top level and inititial level.

    In my layout page 'works best with prime' i have inserted a new variable
    <actinic:variable name="Cards Logo" />

    but it shows as text, ie 'cards.jpg' on the preview page
    the image should be showing not the file name.

    under site options/ general/brochure/ new variable showing as 'cards logo' value is set to cards.jpg
    any ideas?
    thanks
    wesley
    Treasure Island Sweets

    #2
    You need to add the rest of the html tag. So you will need, as minimum:

    <img src="<actinic:variable name="Cards Logo" /> />

    You can also add a Blockif around it to block the code if the content of the variable is null.

    Comment


      #3
      hi, i am a bit confused, where would i enter this full link?
      When i created the variable i used the browse function to link to the image.

      The code into the layout i have changed to

      <img src="<actinic:variable name="CardsLogo" />"/>

      But the cardlogo is now showing in red as an error

      thanks
      wes
      Treasure Island Sweets

      Comment


        #4
        ok, it shows in the browser ok now
        But the link is showing in red in actinc
        is it ok to ignore the red!
        Treasure Island Sweets

        Comment


          #5
          feller, you're going to have to learn some html.

          its easy peasy, go and have a google search.

          Comment

          Working...
          X