Hello Dear friend VUUD
I install yesterday copperminefetch-2.0.0 http://bollywoodfunda.com/cpmFetch_test.php
and it's work fine
but my question were this
how can be images can open in new page????
like when someone click on image and it's open in new page??
any code to edit?
or it's doesn't work in that way??
and all it's showing LAST ADDED IMAGES
I know I have to change this code cpm_viewLastAddedMedia and I don't know
for most hits what I have to change ;D
Quote from: mastimasti on June 08, 2007, 05:44:48 AM
Hello Dear friend VUUD
I install yesterday copperminefetch-2.0.0 http://bollywoodfunda.com/cpmFetch_test.php
and it's work fine
but my question were this
how can be images can open in new page????
like when someone click on image and it's open in new page??
any code to edit?
or it's doesn't work in that way??
and all it's showing LAST ADDED IMAGES
I know I have to change this code cpm_viewLastAddedMedia and I don't know
for most hits what I have to change ;D
It is all in the documentation
For the new page, look at the options array
For the function, look in the functions list.
Take care,
Vuud
Quote from: vuud on June 08, 2007, 09:01:28 PM
It is all in the documentation
For the new page, look at the options array
For the function, look in the functions list.
Take care,
Vuud
I still need help with NEW PAGE code
I were not able to find out
but I did the other one
cpm_viewRandomMediaFrom("album=7",1,5);so if u can help with other code
to open image in new page
Quote from: mastimasti on June 26, 2007, 07:12:25 AM
I still need help with NEW PAGE code
I were not able to find out
but I did the other one cpm_viewRandomMediaFrom("album=7",1,5);
so if u can help with other code
to open image in new page
Look at this page int he documentation:
http://cpmfetch.fistfullofcode.com/docs/stable_basic/cpmfetch/tutorial_explainations.optionsarray.pkg.html#option.windowtarget
Read about windowtarget
You want _blank
thanks for ur help VUUD
I think it's hard for me to do it
so I happy with what I have
I don't want to add pics on my other site
becuase it's not easy for ME :(
any code from anyone
how code will be look like?
I did tried
""""""""Example of creating the option array
//Example #1
$options = array( 'option_name' => 'option_value' , 'option_name' => 'option_value' );
$objCpm->viewRandomMediaFrom("",1,1,$options);
//Example #2
$objCpm->viewRandomMediaFrom("",1,1, array( 'option_name' => 'option_value' , 'option_name' => 'option_value' ));
//Example #3 Real world example
$options = array( 'subtitle' => 'Image {{pTitle}} is {{pFilesizeKB}} KB' , 'imagewidth' => '200', "tablestyle" => "cssfortables" );
$objCpm->viewRandomMediaFrom("",1,1,$options);
"""""""""""
were able to find out
Quote from: vuud on June 26, 2007, 03:27:10 PM
Look at this page int he documentation:
http://cpmfetch.fistfullofcode.com/docs/stable_basic/cpmfetch/tutorial_explainations.optionsarray.pkg.html#option.windowtarget
Read about windowtarget
You want _blank
One more
Thank you vuud!!!! Quote from: mastimasti on July 15, 2007, 05:46:54 PM
any code from anyone
how code will be look like?
Exampleecho "<CENTER>";
include_once ("./Gallery/cpmfetch/cpmfetch.php");
$objCpm = new cpm("./Gallery/cpmfetch/cpmfetch_config.php");
$options = array( 'imagewidth' => '80', 'windowtarget' => '_blank');
$objCpm-> cpm_viewLastCommentedImages ( 4, 2, $options);