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: can i use ur plugin in Vertical ?  (Read 5735 times)

0 Members and 1 Guest are viewing this topic.

Mr-Cute

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
can i use ur plugin in Vertical ?
« on: June 15, 2009, 05:30:38 pm »

hey can i use ur plugin to generate random 10 Pictures from all my albums ?
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: can i use ur plugin in Vertical ?
« Reply #1 on: June 15, 2009, 05:51:47 pm »

Yes you can, how you layout the images generated is up to you.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Mr-Cute

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: can i use ur plugin in Vertical ?
« Reply #2 on: June 15, 2009, 07:00:54 pm »

thx you but how can i generate it in Vertical ?

this is my code :

<?php
header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' );
header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
header( 'Cache-Control: no-store, no-cache, must-revalidate' );
header( 'Cache-Control: post-check=0, pre-check=0', false );
header( 'Pragma: no-cache' );
?>
<style type="text/css">
<!--
body {
   background-color: #141414;
   border:0px;
}
-->
</style>
<div align="center">
<?php
  include "./gallery/cpmfetch/cpmfetch.php";
  $objCpm = new cpm("./gallery/cpmfetch/cpmfetch_config.php");
  $options = array('windowtarget' => '_blank');
  $objCpm->cpm_viewLastAddedMedia(1,8, $options);
  $objCpm->cpm_close();
?>
</div>


Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: can i use ur plugin in Vertical ?
« Reply #3 on: June 15, 2009, 07:07:18 pm »

http://forum.coppermine-gallery.net/index.php/topic,58804.msg289537.html#msg289537
Sounds familiar? Indeed: that was a reply to one of your support requests. What you need to do to get support hasn't changed at all.
Logged

Mr-Cute

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: can i use ur plugin in Vertical ?
« Reply #4 on: June 15, 2009, 08:48:21 pm »

no if this topic : http://forum.coppermine-gallery.net/index.php/topic,58804.msg289537.html
i was using the plugin in Horizontal way
and the thumbnail not appear

but now the plugin work great on my new hosting

am using the plugin in horizontal here :
http://haifafans.net/Last_Uploads.php

but i wanna make another one in Vertical


Logged

Mr-Cute

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: can i use ur plugin in Vertical ?
« Reply #5 on: June 15, 2009, 08:50:17 pm »

sorry the link is here
http://haifafans.net/Last_Pictures_Haifa_Wehbe.php

in Horizontal
i want thumbnail work in Vertical
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: can i use ur plugin in Vertical ?
« Reply #6 on: June 15, 2009, 09:53:38 pm »

Yes, I have understood that. Why don't you just RTFM? Changing
Code: [Select]
$objCpm->cpm_viewLastAddedMedia(1,8, $options);to
Code: [Select]
$objCpm->cpm_viewLastAddedMedia(8,1, $options);does the trick... ::)
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: can i use ur plugin in Vertical ?
« Reply #7 on: June 15, 2009, 10:12:51 pm »

Also, try reading this manual.

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

<!--Coppermine Photo Gallery 1.4.20 (stable)-->
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Mr-Cute

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: can i use ur plugin in Vertical ?
« Reply #8 on: June 15, 2009, 11:27:59 pm »

Perfect
Thx you
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 19 queries.