can i use ur plugin in Vertical ? can i use ur plugin in Vertical ?
 

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]

Main Menu

can i use ur plugin in Vertical ?

Started by Mr-Cute, June 15, 2009, 05:30:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mr-Cute

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

phill104

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

Mr-Cute

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>



Joachim Müller

Quote from: Joachim Müller on May 25, 2009, 08:46:14 AM
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.

Mr-Cute

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



Mr-Cute

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

in Horizontal
i want thumbnail work in Vertical

Joachim Müller

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

phill104

It is a mistake to think you can solve any major problems just with potatoes.

Mr-Cute


Joachim Müller