Social Gallery for WordPress
Results 1 to 4 of 4

Thread: Image Size not displayed correctly at the social page

  1. #1
    Junior Member
    Join Date
    Apr 2014
    Posts
    2

    Image Size not displayed correctly at the social page

    Hello,

    iam using sg and it works really fine.
    But the image displayed on the Social Gallery Page is too big and so i had to scroll the attachment-site. Also the sidebar goes down under the picture.
    I dont know where the problem comes from. I use the "Modest" - Theme from elegantthemes.com.

    Please take a look at the picture to understand my problem.

    http://commaik.de/2014/03/wpc-terras...ruck-reinigen/
    http://commaik.de/social-gallery/wpc...iele-reinigen1

    I hope you understand my english?
    thanks
    Maik

    SG1.jpgSG2.jpgSG3.jpgsg4.jpg

  2. #2
    Administrator mikemayhem3030's Avatar
    Join Date
    Dec 2012
    Location
    UK
    Posts
    967
    Hi Maik

    Have you read the guide on Social Gallery Page Templates? You will need to edit this

    http://www.socialgalleryplugin.com/g...age-templates/

    Cheers

  3. #3
    Junior Member
    Join Date
    Apr 2014
    Posts
    2
    Hi,
    thx for the link.

    i set the picture size to 75%.

    PHP Code:
    <img class="alignnone size-full wp-image-157" src="<?php echo $src?>" title = "<?php echo $title?>" height = "75%" width = "75%"/>
    But the sidebar is still under the social buttons. I found no way to make it fine.

    Here is the page.php template from my Modest Theme

    PHP Code:
    <?php get_header(); ?>

        <?php get_template_part('includes/top_info'); ?>

        <div id="left-area">
        <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
            <?php if (get_option('modest_integration_single_top') <> '' && get_option('modest_integrate_singletop_enable') == 'on') echo(get_option('modest_integration_single_top')); ?>

            <div class="entry clearfix post">
                <?php
                    $thumb 
    '';
                    
    $width 188;
                    
    $height 188;
                    
    $classtext 'post-thumb';
                    
    $titletext get_the_title();
                    
    $thumbnail get_thumbnail($width,$height,$classtext,$titletext,$titletext,false,'Entry');
                    
    $thumb $thumbnail["thumb"];
                
    ?>

                <?php if($thumb <> '' && get_option('modest_page_thumbnails') == 'on') { ?>
                    <div class="post-thumbnail">
                        <?php print_thumbnail($thumb$thumbnail["use_timthumb"], $titletext$width$height$classtext); ?>
                        <span class="post-overlay"></span>
                    </div>     <!-- end .post-thumbnail -->
                <?php ?>

                <?php the_content(); ?>
                <?php wp_link_pages(array('before' => '<p><strong>'.esc_html__('Pages','Modest').':</strong> ''after' => '</p>''next_or_number' => 'number')); ?>
                <?php edit_post_link(esc_html__('Edit this page','Modest')); ?>
            </div> <!-- end .entry -->

            <?php if (get_option('modest_show_pagescomments') == 'on'comments_template(''true); ?>

            <?php if (get_option('modest_integration_single_bottom') <> '' && get_option('modest_integrate_singlebottom_enable') == 'on') echo(get_option('modest_integration_single_bottom')); ?>
        <?php endwhile; endif; ?>
        </div>     <!-- end #left-area -->
        <?php get_sidebar(); ?>

    <?php get_footer(); ?>
    What can i do to show the Sidebar on the right place?

    Maik

  4. #4
    Administrator mikemayhem3030's Avatar
    Join Date
    Dec 2012
    Location
    UK
    Posts
    967
    Hi - you'll have to edit the Social Gallery Page template as per the guide

    If you need PRO help: http://epicplugins.com/epic-freelance/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •