Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: cpmfetch in iframe  (Read 3878 times)

0 Members and 1 Guest are viewing this topic.

palm3ro

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 29
cpmfetch in iframe
« on: March 04, 2012, 06:16:17 pm »

On my page under construction i have cpmfetch in an iframe, then i cklick on a photo from chat cpmfetch it opens witin that ifram, is it possible to open in a new window/tab?I added target="_blank" to this row
<script src="http://galleri.fkljusdal.se/?file=fetchcontent/js&album=random" type="text/javascript"></script>
So it was
<script src="http://galleri.fkljusdal.se/?file=fetchcontent/js&album=random" target="_blank" type="text/javascript"></script>
But it didnt do it either.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: cpmfetch in iframe
« Reply #1 on: March 05, 2012, 03:11:25 pm »

Obviously that won't work, as you've added that attribute to the script, but you have to add it to the generated links. As I'm not familiar with the CPMFetch code, you have to search for the correct place yourself. But I guess it's in some PHP file of the CPMFetch plugin code.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.