Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Images Not Albums.  (Read 8098 times)

0 Members and 2 Guests are viewing this topic.

Emilyy

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Images Not Albums.
« on: July 28, 2008, 11:35:01 pm »

Sorry for all the questions. :P
But i wanted to know when you click on the image it brings me to the whole album
i was wondering how do you make it bring you to the image and not the whole album?
Logged

fangweile

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 103
  • Saranghaeyo ^_^
    • All Koreans - Home of Korean Actors and Actresses
Re: Images Not Albums.
« Reply #1 on: July 29, 2008, 04:31:53 am »

Use

Code: [Select]
$options = array('imagelink' => 'normal');
Are you using cpmFetch development version?

Read the cpmfetch manual for more options that you may use.
http://cpmfetch.fistfullofcode.com/docs/stable_advanced/index.html
Logged
[My Coppermine Galleries]
All Koreans, Lim Eun-kyeong's IFC
Saranghae 김태희

Emilyy

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Images Not Albums.
« Reply #2 on: July 29, 2008, 02:56:10 pm »

Use

Code: [Select]
$options = array('imagelink' => 'normal');
Are you using cpmFetch development version?

Read the cpmfetch manual for more options that you may use.
http://cpmfetch.fistfullofcode.com/docs/stable_advanced/index.html

It doesn't work? I'm using the version 2.0
Logged

fangweile

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 103
  • Saranghaeyo ^_^
    • All Koreans - Home of Korean Actors and Actresses
Re: Images Not Albums.
« Reply #3 on: July 30, 2008, 04:02:48 am »

Can you post your code here?

Your code must be similar to this
Code: [Select]

<?php
  
include "./gallery/cpmfetch/cpmfetch.php";
  
$objCpm = new cpm("./gallery/cpmfetch/cpmfetch_config.php");
  
$options = array(
   
'windowtarget' => '_blank',
   
'imagelink' => 'normal');
);
  
$objCpm->cpm_viewLastAddedMedia(1,2$options);
  
$objCpm->cpm_close(); 
?>

Logged
[My Coppermine Galleries]
All Koreans, Lim Eun-kyeong's IFC
Saranghae 김태희

fangweile

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 103
  • Saranghaeyo ^_^
    • All Koreans - Home of Korean Actors and Actresses
Re: Images Not Albums.
« Reply #4 on: July 30, 2008, 04:11:21 am »

Opps!  :o something wrong with the code above:

it should be

Code: [Select]
<?php
  
include "./gallery/cpmfetch/cpmfetch.php";
  
$objCpm = new cpm("./gallery/cpmfetch/cpmfetch_config.php");
  
$options = array(
   
'windowtarget' => '_blank',
   
'imagelink' => 'normal');
  
$objCpm->cpm_viewLastAddedMedia(1,2$options);
  
$objCpm->cpm_close(); 
?>



cpmFetch 2.0 have image link in intermediate picture by default not in albums. The development version have it instead.  ???
Logged
[My Coppermine Galleries]
All Koreans, Lim Eun-kyeong's IFC
Saranghae 김태희

Emilyy

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Images Not Albums.
« Reply #5 on: July 30, 2008, 07:59:13 pm »

Opps!  :o something wrong with the code above:

it should be

Code: [Select]
<?php
  
include "./gallery/cpmfetch/cpmfetch.php";
  
$objCpm = new cpm("./gallery/cpmfetch/cpmfetch_config.php");
  
$options = array(
   
'windowtarget' => '_blank',
   
'imagelink' => 'normal');
  
$objCpm->cpm_viewLastAddedMedia(1,2$options);
  
$objCpm->cpm_close(); 
?>



cpmFetch 2.0 have image link in intermediate picture by default not in albums. The development version have it instead.  ???

here is the code i am using:
Code: [Select]
<?php
  
include "./gallery/cpmfetch/cpmfetch.php";
  
$objCpm = new cpm("./gallery/cpmfetch/cpmfetch_config.php");
  
$options = array('windowtarget' => '_blank');
$objCpm->cpm_viewLastAddedMedia(1,2$options);
$options = array('imagelink' => 'normal');
$objCpm->cpm_close(); 
?>

And should i get the development version?
Logged

Emilyy

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Images Not Albums.
« Reply #6 on: July 30, 2008, 08:01:07 pm »

Oh also i tried the code and it works.
But the image just comes up?
I want it to be like for example when you click on it liek teh whole page comes up like this:
http://www.demidlovato.com/gallery/displayimage.php?album=47&pos=2
and the images would show up there.
Logged

fangweile

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 103
  • Saranghaeyo ^_^
    • All Koreans - Home of Korean Actors and Actresses
Re: Images Not Albums.
« Reply #7 on: July 31, 2008, 04:31:27 am »

This code works on my site

Code: [Select]
<?php
  
include "./gallery/cpmfetch/cpmfetch.php";
  
$objCpm = new cpm("./gallery/cpmfetch/cpmfetch_config.php");
  
$options = array(
   
'windowtarget' => '_blank',
   
'imagelink' => 'normal');
  
$objCpm->cpm_viewLastAddedMedia(1,2$options);
  
$objCpm->cpm_close(); 
?>

It landed me to this page /gallery/displayimage.php?pos=-1369
Must be the same way for you too.
Can you link the page where you used the cpmfetch code?
Logged
[My Coppermine Galleries]
All Koreans, Lim Eun-kyeong's IFC
Saranghae 김태희

Emilyy

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Images Not Albums.
« Reply #8 on: July 31, 2008, 04:15:05 pm »

yeah.
i'm putting the code on this page:
http://demidlovato.com/sidebar.php

I don't want the just the image to come up. like i want everything, the whole page like the albums. but like the image shows up.
like http://nickjonline.com
when you click on the image the whole page comes up.
Logged

fangweile

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 103
  • Saranghaeyo ^_^
    • All Koreans - Home of Korean Actors and Actresses
Re: Images Not Albums.
« Reply #9 on: August 01, 2008, 04:53:26 am »

That's  confusing  ???
If you used the code i've given then it should work. The code is just right.

Have you modified any cpmfetch files lately?. Try to reupload a clean copy of cpmFetch
And will see if same thing will happen.
http://cpmfetch.fistfullofcode.com/downloads/copperminefetch-2.0.0.zip


Logged
[My Coppermine Galleries]
All Koreans, Lim Eun-kyeong's IFC
Saranghae 김태희

fangweile

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 103
  • Saranghaeyo ^_^
    • All Koreans - Home of Korean Actors and Actresses
Re: Images Not Albums.
« Reply #10 on: August 01, 2008, 05:07:40 am »

Opps, :o I found out that you are using the development cpmFetch version

Code: [Select]
CpmFetch release 2.1.1
You must download the latest stable release for cpmfetch
Code: [Select]
copperminefetch-2.0.0
Quote
cpmFetch 2.0  stable version have image link in intermediate picture by default

So you don't have to use this option
Code: [Select]
$options = array('imagelink' => 'normal');
Logged
[My Coppermine Galleries]
All Koreans, Lim Eun-kyeong's IFC
Saranghae 김태희

Emilyy

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Images Not Albums.
« Reply #11 on: August 01, 2008, 11:03:45 pm »

It works!
Thanks!
Logged
Pages: [1]   Go Up
 

Page created in 0.083 seconds with 20 queries.