Forums

PhotoContest Plugin
How to Change the Size of the Pluin??? (4 posts)

  1. Nessaia
    Member
    Posted 1 year ago #

    Hey,

    the plugin works.
    but it is displayed all over the page.
    where can I change the size of the representation (of each box) change so that it fits into my theme?

  2. frekel
    Member
    Posted 1 year ago #

    Good to hear it works....

    Two pointers:

    1) If you are referring to the viewimg.php page, goto the wp-photocontest --> edit settings --> edit VIEWBOX. Note: You have to resize the already uploaded pictures!!

    2) If you are referring to the view.php page, you need to edit a couple of things: First edit the sizes (162,200) in view.php and edit lib/wp-photocontest.class.php the same thing. If the flashboxes are ok, then you should edit the stylesheets!

    Greets,
    Frank

  3. Nessaia
    Member
    Posted 1 year ago #


  4. frekel
    Member
    Posted 1 year ago #

    Take a look at the readme file:

    = Customization =
    
    The plugin provides a config entry in wp-photocontest-config.php file to skins the pages
    created by WP-PhotoContest. This entry points to a directory underneath the 'skins' directory.
    This directory must contain the following files:
    
    * template.tpl	: This file is used as template for the pages created by WP-PhotoContest (*)
    * theme.css		: This stylesheet is used for styling the pages created by WP-PhotoContest
    
    To create a new skin, you can copy the aqua directory in the directory 'skins' into and other
    directory and edit as aproperiate. Then change the 'CONTESTS_SKIN' contant in
    wp-photocontest-config.php file.
    
    (*) Important:
    When using a theme, you need to copy page.php or index.php to template.tpl
    and replace "The\_Loop" with [WP-PHOTOCONTEST CONTENT]. See for more information:
    'http://codex.wordpress.org/The\_Loop'
    
    There needs to be a class called 'content_wppc'. The contest will be placed in the HTML-tag
    with this class.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic