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: To open album, not it image  (Read 5733 times)

0 Members and 1 Guest are viewing this topic.

Piceo2k

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
To open album, not it image
« on: March 23, 2007, 01:43:55 pm »

Since I can do, for when it selects one of the photos, one opens to the album and not it image:

Example:

If pulse the image opens to this - > http://www.hilary-duff.es/galeria/displayimage.php?pos=-23935


I want that this is opened  -> http://www.hilary-duff.es/galeria/thumbnails.php?album=905

Use the following code:

Code: [Select]
<?php
  
include "./cpmfetch.php";
  include 
"./style.css";
  
$objCpm = new cpm("./cpmfetch_config.php");
  
$objCpm->cpm_viewLastUpdatedAlbumsFrom(4,4,2,array("imagestyle" => "test1"windowtarget => "_blank"));
  
$objCpm->cpm_close();
?>

« Last Edit: March 29, 2007, 04:10:51 pm by GauGau »
Logged

Piceo2k

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Re: To open album, not it image
« Reply #1 on: March 28, 2007, 02:36:18 am »

Nobody knows like doing what I request, or this is not possible to do?
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: To open album, not it image
« Reply #2 on: March 28, 2007, 02:56:39 am »

Nobody knows like doing what I request, or this is not possible to do?


It is in the instructions

http://cpmfetch.fistfullofcode.com/docs/manual_1.6/ch06s04.html
Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

Piceo2k

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Re: To open album, not it image
« Reply #3 on: March 28, 2007, 03:40:52 am »

Incredible… Single I needed what I indicate down but in negrita within the code. Not habeis thought a page with examples and tests? This ayudaria to people. This badly I not to speak or to write English no?   ;D


Code: [Select]
<?php
  
include "./cpmfetch.php";
  include 
"./Style2.css";
  
$objCpm = new cpm("./cpmfetch_config.php");
  
$objCpm->cpm_viewLastUpdatedAlbumsFrom(4,4,2,array([b]imagelink => "album",[/b"imagestyle" => "test1"windowtarget => "_blank"));
  
$objCpm->cpm_close();
?>

Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: To open album, not it image
« Reply #4 on: March 28, 2007, 04:27:29 am »

Incredible… Single I needed what I indicate down but in negrita within the code. Not habeis thought a page with examples and tests? This ayudaria to people. This badly I not to speak or to write English no?   ;D


Code: [Select]
<?php
  
include "./cpmfetch.php";
  include 
"./Style2.css";
  
$objCpm = new cpm("./cpmfetch_config.php");
  
$objCpm->cpm_viewLastUpdatedAlbumsFrom(4,4,2,array([b]imagelink => "album",[/b"imagestyle" => "test1"windowtarget => "_blank"));
  
$objCpm->cpm_close();
?>



What?


$objCpm->cpm_viewLastUpdatedAlbumsFrom(4,4,2,array("imagelink" => "album", "imagestyle" => "test1", windowtarget => "_blank"));


Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

Piceo2k

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Re: To open album, not it image
« Reply #5 on: March 28, 2007, 04:29:47 am »

Pardon, which I needed to add to the code that tapeworm already put was this: imagelink => "album",
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: To open album, not it image
« Reply #6 on: March 28, 2007, 08:01:01 am »

Pardon, which I needed to add to the code that tapeworm already put was this: imagelink => "album",

????
Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: To open album, not it image
« Reply #7 on: March 29, 2007, 08:05:02 am »

@Piceo2k: don't use an online translator, it just returns garbage that nobody can understand. If your English is not good enough, ask a friend to translate for you.
Logged

Piceo2k

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Re: To open album, not it image
« Reply #8 on: March 29, 2007, 11:37:30 am »

Thansk. No problem. Close to conversation.

Logged
Pages: [1]   Go Up
 

Page created in 0.037 seconds with 15 queries.