Want to tweak things a bit?
  • To get your website to make /gallery come up when you go to the home page, I put an .htaccess file in the root directory with my index.html file with only this in it:
    Redirect /index.html http://www.yourwebsite.com/gallery/
    This way, one only has to go to yourwebsite.com and voila, they're in your gallery. (gallery is what the directory is named where I put minishowcase)

    Of course you must have an index.html in your root directory of your web site...

    To make the theme transparent so you can put up a background image, edit /gallery/themes/whichever-theme-you-desire/data.php like this:

    under //// colors

    ////change the color to transparent.
    $theme_general_bg = "transparent";
    ////this changes the font to black
    $theme_general_text = "#000";

    look for either font or text, also, and change it to whatever color you want throughout the rest of the file. Now save this to a new folder, and name it whatever you want. Copy the other files from your original folder into this one, too.

    Congratulations, you now have your own theme! (I used transparent because I'm showing how I did my theme)

    TO MAKE A BACKGROUND IMAGE SCALE UNDER "MOST" CIRCUMSTANCES, in /gallery/styles/gallery.css add this after the word body, put this:

    {
    margin: 0px;
    background: <?php echo $theme_general_bg?>;
    background: url(http://www.schroedervision.com/bg2.JPG) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    }

    To change the theme use /gallery/config/settings.php,
    and look for

    /**** LOOK & FEEL *************************************************/

    /* selected theme
    * VALUES: [ theme name ] */
    $settings['use_theme'] = 'transparent';

    Just enter whatever theme you want, like maybe a new one you just made up all by yourself! I entered transparent between the ''s.

    Now you should have a page that looks comparable to what I have (only better, probably)

    Other files to edit are:

    for the first greeting on the first page, edit /gallery/languages/whatever-language-you-a-speak-a.php.


    for the second greeting on the first page, edit /galleries/_info.txt.

    for the stuff under that, use /gallery/config/settings.php and look for

    /* footer content
    * VALUES: [ ]
    * NOTE: you may use HTML in it, please put a backslash (\) before
    * any single quote */
    $settings['gallery_footer'] =

    And just enter whatever you want.

    But be sure you change the link for cpaint to http://cpaint.sourceforge.net/ okay? I used this to put my company logo on the site. (somebody correct me if I'm wrong, but the original link is bad)

    Can't think of anyting else here, except that if you want to do resizing and watermarking incredibly fast, use phatch http://photobatch.stani.be/ until such time as minishowcase can do watermarking automatically... koff koff.

    Any chance of making .ini files so we all can do customization on the fly? A lot of this scripting is not too different from uscript I used to make weapons with in unreal tournament, and also the anticheat packages we used to stop hackers on the servers. They had .ini files that you could change stuff in, and it would customize stuff. Just a thought, not sure it it works that way or not with web stuff.

    Bill



    *edited for accuracy again
  • Nice work, thank you. (Wish there was a way to bookmark posts without posting.)
  • Thank you.
  • Really nice work! Keep up like that!

In this Discussion

Tagged