Jump to content

header.tpl question


rldev

Recommended Posts

If your order form is SSL then you'll need to use https:// when linking to an image. But using the path will work too.

 

paths are not working for me. They only work if they are within the whmcs root dir. Absolute paths do not work. The images do not show up.

Link to comment
Share on other sites

below is a snippet of code from my header.tpl

 

<TD><IMG alt="" src="/home/admin/public_html/images/homepage01a.jpg" width=450 height=131></TD>

 

relative links do not work either.

 

It does not work.

They are not relative to the home directory, try this

<TD><IMG alt="" src="/images/homepage01a.jpg" width=450 height=131></TD>

 

Your image should be in the images directory directly under the public_html

Link to comment
Share on other sites

It seems like I am only allowed to pull from whmcs folders. I can not pull images from the public_html/images (unless it's a url)

 

I run whmcs as a sub domain, this must be the problem. Maybe can make make a symlink from whmcs folder to main web folder?

Edited by rldev
Link to comment
Share on other sites

why not let the user/broswser take advantage of its caching and pre-loading capabilities and use the full absolute *real* url for images - much more efficient :)

 

Because then I would have to use yet another ssl certificate. How is it more efficient to pull images over ssl on a non ssl page?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated