coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: Piceo2k on March 23, 2007, 01:43:55 PM

Title: To open album, not it image
Post by: Piceo2k 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:


<?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();
?>

Title: Re: To open album, not it image
Post by: Piceo2k on March 28, 2007, 02:36:18 AM
Nobody knows like doing what I request, or this is not possible to do?
Title: Re: To open album, not it image
Post by: vuud on March 28, 2007, 02:56:39 AM
Quote from: Piceo2k on March 28, 2007, 02:36:18 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
Title: Re: To open album, not it image
Post by: Piceo2k 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



<?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();
?>

Title: Re: To open album, not it image
Post by: vuud on March 28, 2007, 04:27:29 AM
Quote from: Piceo2k 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



<?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"));


Title: Re: To open album, not it image
Post by: Piceo2k 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",
Title: Re: To open album, not it image
Post by: vuud on March 28, 2007, 08:01:01 AM
Quote from: Piceo2k 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",

????
Title: Re: To open album, not it image
Post by: Joachim Müller 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.
Title: Re: To open album, not it image
Post by: Piceo2k on March 29, 2007, 11:37:30 AM
Thansk. No problem. Close to conversation.