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: How to prevent "all" photos/files from opening in a new window ?  (Read 3634 times)

0 Members and 1 Guest are viewing this topic.

farmboy35

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 43
How to prevent "all" photos/files from opening in a new window ?
« on: September 18, 2009, 11:28:39 am »

I might have done something myself but the fact is that files/photos in "some albums" in my picture gallery are opening in same window whereas other albums are opening in new window.

How to prevent all photos/files in all albums from opening in new windows ?

Any help would be highly appreciated.

Thank you
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

farmboy35

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 43
Re: How to prevent "all" photos/files from opening in a new window ?
« Reply #2 on: September 18, 2009, 12:20:54 pm »

OK..Here is the gallery :

http://grdxc.info/grdxc-picturegallery/

In the above DX Mix is both clickable as well as opens in new window where as Random QSLs are neither clickable nor open in new window !

How to make DX Mix also not open in new window ?

Thank you.
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1510
  • aka 'i-imagine'
    • Home Page
Re: How to prevent "all" photos/files from opening in a new window ?
« Reply #3 on: September 18, 2009, 12:34:53 pm »

You need to upgrade before doing anything else.

<!--Coppermine Photo Gallery 1.4.20 (stable)-->

Is old and has vulnerabilities.

Random QSL is an image.  DX Mix is text file. Browsers display each differently.

farmboy35

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 43
Re: How to prevent "all" photos/files from opening in a new window ?
« Reply #4 on: September 18, 2009, 12:39:03 pm »

OK..If not anything else.

Is it possible to make text file open in same window or not ?

If so,how ?

Thank you.
Logged

farmboy35

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 43
Re: How to prevent "all" photos/files from opening in a new window ?
« Reply #5 on: September 18, 2009, 12:42:15 pm »

You need to upgrade before doing anything else.

<!--Coppermine Photo Gallery 1.4.20 (stable)-->

Is old and has vulnerabilities.

Random QSL is an image.  DX Mix is text file. Browsers display each differently.

Is it possible to upgrade the "existing" picture gallery or do I have to download everything again ?

Incidentally this gallery was downloaded from the cpanel of my webhost which is very easy.
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1510
  • aka 'i-imagine'
    • Home Page
Re: How to prevent "all" photos/files from opening in a new window ?
« Reply #6 on: September 18, 2009, 12:44:43 pm »

Is it possible to make text file open in same window or not ?

I don't think it is possible - look at converting them to images.

UPGRADE!
The manual will describe how to do it.

farmboy35

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 43
Re: How to prevent "all" photos/files from opening in a new window ?
« Reply #7 on: September 18, 2009, 04:37:13 pm »

Hi i-imagine,

Could you please list which types of files are "non clickable and open in same window" ?

I know only the following only :

.jpg
.wav
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How to prevent "all" photos/files from opening in a new window ?
« Reply #8 on: September 18, 2009, 04:42:37 pm »

Coppermine can embedd images and multimedia (sound files and videos) into the page. Documents (i.e. text files, word documents, excel spreadsheets) that require an external viewer that can't be embedded into the page will result in the corresponding file to be downloaded to your client. Depending on your client preferences and browser you will see an extra browser window or just the open/save dialog.
This is not a particular feature of coppermine, but the way the www works and your browser works.

http://grdxc.info/grdxc-picturegallery/ is down and returns a custom 404 message, so I guess this problem can be closed. Please resolve your thread.
Logged

farmboy35

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 43
Re: How to prevent "all" photos/files from opening in a new window ?
« Reply #9 on: September 19, 2009, 08:12:06 pm »

Hello Gau gau,

Just one last clarification.

Is it possible that even images,audio will open in new window,depending on the browser or will they open in same window only ?

As a result of docs opening in new window I have discarded docs albums as the gallery is a closed group.

Thanks for all the help.
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4826
    • Windsurf.me
Re: How to prevent "all" photos/files from opening in a new window ?
« Reply #10 on: September 19, 2009, 08:55:44 pm »

Did you upgrade? It is really simple and should not take you long. I read above that you installed from your hosts cpanel, these are often buggy and it is something we cannot recommend.

If you have not upgraded do so now as per this section of the docs.

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#14

As long as you have not made any custom code changes you should not loose anything. If you run into any problems start a new thread in the relavent section of the forum.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How to prevent "all" photos/files from opening in a new window ?
« Reply #11 on: September 21, 2009, 11:04:15 am »

Is it possible that even images,audio will open in new window,depending on the browser or will they open in same window only ?
Possible if you code it, but not recommended, as needlessly opening new windows will drive visitors away. As suggested: upgrade first. We're not ready to discuss custom hacks if you don't upgrade.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.