Need some Help Opening a Blank Web Page for My Image Files

I am trying to use the following code to open my images in. This code will open my images on my current page, but I want each image to open on a new tab.

echo ' ';

I’ll give you a hint…

You can use Javascript in the href just pass in the URL into the function you want to open

[php]echo ‘’;
[/php]

Then you call the window.open function which is also javascript.

[php]

[/php]

Why go through all that when you can just add target="_blank"

I was thinking the same thing after I posted that :stuck_out_tongue:

Sponsor our Newsletter | Privacy Policy | Terms of Service