Jump to content

pictures in separate folder...


visitor

Recommended Posts

Hi,

 

I've got pictures in a separate folder named photos. I'm trying to link it as follows...

 

slsContents[0] = "<img src=\photos\"ip2803-017.jpg\" width=\"512px\" height=\"384px\">";

 

unfortunately this doesn't work.  Does anybody know how this might work, please?

 

Thanks

 

visitor

Link to comment
https://forums.phpfreaks.com/topic/182439-pictures-in-separate-folder/
Share on other sites

  Quote

Hi,

 

I've got pictures in a separate folder named photos. I'm trying to link it as follows...

 

slsContents[0] = "<img src=\photos\"ip2803-017.jpg\" width=\"512px\" height=\"384px\">";

 

unfortunately this doesn't work.  Does anybody know how this might work, please?

 

Thanks

 

visitor

 

it should like like this

 

slsContents[0] = "<img src=photos\"ip2803-017.jpg" width="512px" height="384px">"

 

 

damon

 

 

 

Hi,

 

Please see below what the developer wrote...

 

//---------------------------------------------------------------------------------------------------------

// CONTENTS

//---------------------------------------------------------------------------------------------------------

// Insert your contents here. Example:

//

// slsContents[0] = "This is the first page.";

// slsContents[1] = "This is the second page.";

// slsContents[2] = "Here's an image:<br><img src=\"path/to/image\">";

// ...

//

// - You can use HTML-tags.

// - Escape all quotation marks inside your contents with a backslash (\").

// - Use tables or CSS to set a padding where needed.

 

I tried this... but it still doesn't work (so you're right haku)

 

slsContents[0] = "<img src=photos\"ip2803-017.jpg\" width=\"512px\" height=\"384px\">";

 

visitor

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.