PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Make photo open in new window? (http://www.photopost.com/forum/photopost-pro-how-do-i/141795-make-photo-open-new-window.html)

DannyITR January 21st, 2010 09:04 PM

Make photo open in new window?
 
Hello,

Would it be in showgallery.php or showgallery.tmpl where I could put "target=_blank" so images open in a new window? What am I looking for exactly?

Chuck S January 21st, 2010 09:07 PM

the image links would be defined in showgallery.php ;)

DannyITR January 21st, 2010 09:16 PM

I think I found it on line 714:

Code:

Content visible to verified customers only.
However if I add the bold I get a syntax error. Whats wrong?

Code:

Content visible to verified customers only.

Chuck S January 21st, 2010 09:27 PM

That is because your working with php not html ;)

target=\"_blank\"

DannyITR January 21st, 2010 09:43 PM

Can't seem to get it to work:

Code:

Content visible to verified customers only.

Chuck S January 21st, 2010 10:12 PM

that should work fine provided thats exactly what your doing

DannyITR January 24th, 2010 05:35 PM

Quote:

Originally Posted by Chuck S (Post 1260110)
that should work fine provided thats exactly what your doing

Its exactly what I'm doing but the images don't open in a new window.

Chuck S January 24th, 2010 08:01 PM

because your not opening an image thats a script ;)

DannyITR January 24th, 2010 09:40 PM

Quote:

Originally Posted by Chuck S (Post 1260403)
because your not opening an image thats a script ;)

I'm sorry I'm not understanding your replies. I was under the impression you gave me the code to add that would make the image open in a new window. Is this not the case?

Chuck S January 25th, 2010 06:46 AM

I never gave you anything really just instructed you on how it would be where you where doing it. You asked where the image links where defined and I told you.

target="_blank" is an HTML IMG TAG element. Therefore its not going to open some new window.

The only way to open a whole new script page from the one your on is to use javascript window.open element I would think.

DannyITR January 25th, 2010 03:27 PM

Hi Chuck,

Do you know what the line should look like with the correct code? I'm not familiar.

Chuck S January 25th, 2010 03:50 PM

Feel free to discuss mod modifications in the mod corner but sorry I dont participate in such things as product support takes all my time

This is not something I am going to be able to tell you how to do in a minute ;)

Using the window.open method


All times are GMT -5. The time now is 07:25 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97