rejetto forum

Picture Path and syntax

Pit · 5 · 2121

0 Members and 1 Guest are viewing this topic.

Offline Pit

  • Tireless poster
  • ****
    • Posts: 115
    • View Profile
    • EDV & Netzwerkservice in Berlin
At the moment i load the pictures and icons for my default-template from the webspace of my website. But i want to store these pics at the webserver itself.

Now my question:
HFS is installed in c:\programme\hfs-webserver

under hfs-webserver i´ve created a folder pics. from this folder i want to use the icons and pictures but i dont know the syntax and the correct path which i must use to dispay the pics in the template. please can anyone help - thanks
You reach our Webserver every day between 9 AM to 10 PM under: http://phampel.dyndns.org or http://free4you.dyndns.org


Offline bacter

  • Operator
  • Tireless poster
  • *****
    • Posts: 681
    • View Profile
Where in your page you need to include a picture, insert some code like this:

<img src="/hfssys/logo.png" width="140px" height="140px" align="left" alt="Bild fehlt"[/color] >

The red path-filename must be your file, starting from root "/" in your vfs (virtual file system). In the example the folder hfssys contains pictures to load, it can't be protected to have available the pictures before login, but it can be hidden.

The blue text is optional to define size, alignment and even an alternative text if the picture can't be loaded.

I suggest you bind your pics folder to root of vfs, so your filename can be: /pics/mypic.gif for example.
your computer has no brain - use your own !


Offline Pit

  • Tireless poster
  • ****
    • Posts: 115
    • View Profile
    • EDV & Netzwerkservice in Berlin
Thanks for your answer, but it didn´t work for me. I´ve tried, but i only get an picture placeholder. My filesystem.vfs is in the hfs-webserver folder. I try  this path:

/pics/picname.gif

I dont know where is the root, because my shared folder are on different hdd´s.

Here you can look: http://phampel.dyndns.org
« Last Edit: December 19, 2007, 09:57:58 PM by Pit »
You reach our Webserver every day between 9 AM to 10 PM under: http://phampel.dyndns.org or http://free4you.dyndns.org


Offline Foggy

  • Tireless poster
  • ****
    • Posts: 806
    • View Profile
The root is a virtual folder(most of the time), but you have to create the link from HFS' point of view.
If you have to go into a folder to see a picture that you want to use, try copying the /foldername's/ from after the Domain/IP and then append the name of the picture.

I had a look at your hfs but couldn't create an example because my German isn't too good.


Offline Pit

  • Tireless poster
  • ****
    • Posts: 115
    • View Profile
    • EDV & Netzwerkservice in Berlin
Thank you, now it works. My Pic-Folder was no folder in the vfs, it was an Folder from the windows filesystem.
You reach our Webserver every day between 9 AM to 10 PM under: http://phampel.dyndns.org or http://free4you.dyndns.org