Announcement

Collapse
No announcement yet.

Link displayed as Image?

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

    Link displayed as Image?

    I would like to link to an external URL using the Advanced Link dialog but instead of using the [LINK] function to display text, I would like to have the user click on an image.

    How best to do this?

    #2
    Forget using the [LINK] option, hand code the link yourself.

    Code:
    !!<<a href="INSERT LINK DESTINATION.html"><img src="IMAGE LOCATION ON YOUR MACHINE (eg DesignImages\example.jpg)" width="INSERT WIDTH IN PIXELS" height="INSERT HEIGHT IN PIXELS" alt="INSERT IMAGE DESCRIPTION" title="INSERT IMAGE DESCRIPTION" border="0"></a>>!!
    An example:

    Code:
    !!<<a href="Red-Jackets.html"><img src="DesignImages\Red-Jacket.jpg" width="300" height="200" alt="Red Jackets by Calvin Klein" title="Red Jackets by Calvin Klein" border="0"></a>>!!
    For belt and braces, make sure you add the image into Design > Additional Files too.

    Comment


      #3
      With SellerDeck you are usually best storing images for this type of requirement in the root of the site1 folder to avoid using the path eg:

      Red-Jacket.jpg and not DesignImages\Red-Jacket.jpg

      to ensure it maintains the correct location when uploaded.

      You may also want to use target="_blank" in the <a> tag to launch the external URL in a new window so as not to take people away from your site depending on what you are linking to.


      Bikster
      SellerDeck Designs and Responsive Themes

      Comment

      Working...
      X