Gå til innhold

Anbefalte innlegg

heisan dreiv og la inn støtter får diverse ting på mit board (backup osv).

Så kom eg til der hvor det er mulig og hente ut exinfo (det som sier når bilde er tat osv) da fikk eg veldig store problemer det funker lisom ikkje heilt...alt ser jo rektig ut,ja ja shitt au tenker eg og lager alt på nytt og da funka det,men det er lit kjedlig siden eg har så mange bilder og noen comment fra den "gammle" Gallery sida mi,

bruker Gallery v1.3.3

jhead precomile får linux....

 

her er fra den som ikkje funker config.php (http://www.ulovlig.info/gallery)

?>

<?php

/*

* Protect against very old versions of 4.0 (like 4.0RC1) which

* don't implicitly create a new stdClass() when you use a variable

* like a class.

*/

if (!$gallery) {

$gallery = new stdClass();

}

if (!$gallery->app) {

$gallery->app = new stdClass();

}

 

/* Version */

$gallery->app->config_version = 31;

 

/* Features */

$gallery->app->feature["zip"] = 0; // (missing <i>zipinfo</i> -- it's optional, missing <i>unzip</i> -- it's optional)

$gallery->app->feature["rewrite"] = 1;

$gallery->app->feature["mirror"] = 0; // (missing <i>mirrorSites</i> -- it's optional)

 

/* Constants */

$gallery->app->galleryTitle = "ulovlig.info";

// optional <i>pnmDir</i> missing

$gallery->app->ImPath = "/usr/X11R6/bin";

$gallery->app->graphics = "ImageMagick";

$gallery->app->highlight_size = "200";

// optional <i>zipinfo</i> missing

// optional <i>unzip</i> missing

$gallery->app->use_exif = "/home/ulovlig/public_html/gallery/jhead.c";

$gallery->app->movieThumbnail = "/home/ulovlig/public_html/gallery/images/movie.thumb.jpg";

$gallery->app->albumDir = "/home/ulovlig/public_html/albums";

$gallery->app->tmpDir = "/tmp";

$gallery->app->photoAlbumURL = "http://www.ulovlig.info/gallery";

$gallery->app->albumDirURL = "http://www.ulovlig.info/albums";

// optional <i>mirrorSites</i> missing

$gallery->app->showAlbumTree = "no";

$gallery->app->cacheExif = "yes";

$gallery->app->jpegImageQuality = "95";

$gallery->app->timeLimit = "30";

$gallery->app->debug = "no";

$gallery->app->use_flock = "yes";

$gallery->app->expectedExecStatus = "0";

$gallery->app->sessionVar = "gallery_session";

$gallery->app->userDir = "/home/ulovlig/public_html/albums/.users";

 

/* Defaults */

$gallery->app->default["bordercolor"] = "black";

$gallery->app->default["border"] = "1";

$gallery->app->default["font"] = "arial";

$gallery->app->default["cols"] = "3";

$gallery->app->default["rows"] = "3";

$gallery->app->default["thumb_size"] = "150";

$gallery->app->default["resize_size"] = "off";

$gallery->app->default["fit_to_window"] = "no";

$gallery->app->default["use_fullOnly"] = "no";

$gallery->app->default["print_photos"] = "none";

$gallery->app->default["returnto"] = "yes";

$gallery->app->default["showOwners"] = "no";

$gallery->app->default["albumsPerPage"] = "5";

$gallery->app->default["showSearchEngine"] = "yes";

$gallery->app->default["useOriginalFileNames"] = "yes";

$gallery->app->default["display_clicks"] = "yes";

$gallery->app->default["public_comments"] = "yes";

?>

 

og her er den som er "ny" og funker.... (http://www.ulovlig.info/gallery2)

?>

<?php

/*

* Protect against very old versions of 4.0 (like 4.0RC1) which

* don't implicitly create a new stdClass() when you use a variable

* like a class.

*/

if (!$gallery) {

$gallery = new stdClass();

}

if (!$gallery->app) {

$gallery->app = new stdClass();

}

 

/* Version */

$gallery->app->config_version = 31;

 

/* Features */

$gallery->app->feature["zip"] = 0; // (missing <i>zipinfo</i> -- it's optional, missing <i>unzip</i> -- it's optional)

$gallery->app->feature["rewrite"] = 1;

$gallery->app->feature["mirror"] = 0; // (missing <i>mirrorSites</i> -- it's optional)

 

/* Constants */

$gallery->app->galleryTitle = "pre beta ";

// optional <i>pnmDir</i> missing

$gallery->app->ImPath = "/usr/X11R6/bin";

$gallery->app->graphics = "ImageMagick";

$gallery->app->highlight_size = "200";

// optional <i>zipinfo</i> missing

// optional <i>unzip</i> missing

$gallery->app->use_exif = "/home/ulovlig/public_html/gallery2/jhead.c";

$gallery->app->movieThumbnail = "/home/ulovlig/public_html/gallery2/images/movie.thumb.jpg";

$gallery->app->albumDir = "/home/ulovlig/public_html/albums2";

$gallery->app->tmpDir = "/tmp";

$gallery->app->photoAlbumURL = "http://www.ulovlig.info/gallery2";

$gallery->app->albumDirURL = "http://www.ulovlig.info/albums2";

// optional <i>mirrorSites</i> missing

$gallery->app->showAlbumTree = "no";

$gallery->app->cacheExif = "yes";

$gallery->app->jpegImageQuality = "95";

$gallery->app->timeLimit = "30";

$gallery->app->debug = "no";

$gallery->app->use_flock = "yes";

$gallery->app->expectedExecStatus = "0";

$gallery->app->sessionVar = "gallery_session";

$gallery->app->userDir = "/home/ulovlig/public_html/albums2/.users";

 

/* Defaults */

$gallery->app->default["bordercolor"] = "black";

$gallery->app->default["border"] = "1";

$gallery->app->default["font"] = "arial";

$gallery->app->default["cols"] = "3";

$gallery->app->default["rows"] = "3";

$gallery->app->default["thumb_size"] = "150";

$gallery->app->default["resize_size"] = "off";

$gallery->app->default["fit_to_window"] = "no";

$gallery->app->default["use_fullOnly"] = "no";

$gallery->app->default["print_photos"] = "none";

$gallery->app->default["returnto"] = "yes";

$gallery->app->default["showOwners"] = "no";

$gallery->app->default["albumsPerPage"] = "5";

$gallery->app->default["showSearchEngine"] = "yes";

$gallery->app->default["useOriginalFileNames"] = "yes";

$gallery->app->default["display_clicks"] = "yes";

$gallery->app->default["public_comments"] = "yes";

?>

ja ja ser ut som eg må adde alt på nytt her dritt jobb :(

Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
×
×
  • Opprett ny...