Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorfropker
    • CommentTimeMar 13th 2010
     
    hi

    i m new to plogger, it is great script and after modification everything is working well for me except after using plugins included in latest version. after putting code on collections.php page all images are vertical and avobe collections are in horizontal way. i want my recent pictures and random pictures to horizontal way.

    how i can do this pls help. thanks in advance.

    Pls see my gallery at http://bigadda.org

    and pls help
    • CommentAuthorfropker
    • CommentTimeMar 13th 2010
     
    i don't know what to do?

    need your help.

    i want to integrate this in to my another site after this modification only.
    •  
      CommentAuthorkimparsell
    • CommentTimeMar 13th 2010
     
    Open both plugin files and look for the following lines near the end:

    Random Images - random-images.php:
    <p class="random-images-caption"><?php echo $caption ?></p>
    Latest Images - latest-images.php:
    <p class="latest-images-caption"><?php echo $caption ?></p>
    Change them to read as follows:

    Random Images - random-images.php:
    <span class="random-images-caption"><?php echo $caption ?></span>
    Latest Images - latest-images.php:
    <span class="latest-images-caption"><?php echo $caption ?></span>
    Save both files and upload them to your server in the proper folders, overwriting the existing files that are there.

    This will allow the images to display horizontally instead of vertically.
    • CommentAuthorfropker
    • CommentTimeMar 13th 2010
     
    nothing has changes after doing changes. what to do now ?
    •  
      CommentAuthorkimparsell
    • CommentTimeMar 13th 2010
     
    If you are not planning on displaying captions on that page, you can remove that line and the break tag at the end of the previous line. See the following examples on how to fix both plugins.

    random-images.php:
    <a href="<?php echo generate_url('picture', $id); ?>" title="<?php echo addcslashes($cap_or_name, '"') ?>"><img class="random-images-thumbnail" src="<?php echo generate_thumb($path, $id); ?>" alt="<?php echo $name ?>" /></a><br />
    <p class="random-images-caption"><?php echo $caption ?></p>

    Change to this:
    <a href="<?php echo generate_url('picture', $id); ?>" title="<?php echo addcslashes($cap_or_name, '"') ?>"><img class="random-images-thumbnail" src="<?php echo generate_thumb($path, $id); ?>" alt="<?php echo $name ?>" /></a>
    latest-images.php:
    <a href="<?php echo generate_url('picture', $id); ?>" title="<?php echo addcslashes($cap_or_name, '"') ?>"><img class="latest-images-thumbnail" src="<?php echo generate_thumb($path, $id); ?>" alt="<?php echo $name ?>" /></a><br />
    <p class="latest-images-caption"><?php echo $caption ?></p>

    Change to this:
    <a href="<?php echo generate_url('picture', $id); ?>" title="<?php echo addcslashes($cap_or_name, '"') ?>"><img class="latest-images-thumbnail" src="<?php echo generate_thumb($path, $id); ?>" alt="<?php echo $name ?>" /></a>
    • CommentAuthorfropker
    • CommentTimeMar 13th 2010
     
    thanks for your support. random images are come now in horizontal row but still latest images are in vertical row. how to fix this
    •  
      CommentAuthorkimparsell
    • CommentTimeMar 13th 2010
     
    You also have to change the latest-images.php file. See the fix for that in the code I posted above.
    • CommentAuthorfropker
    • CommentTimeMar 13th 2010
     
    Sir

    i have do the changes in both files. but only one is working for me right now. what to do now?
    •  
      CommentAuthorkimparsell
    • CommentTimeMar 13th 2010
     
    You have to upload both files to their respective folders. I just checked the source code, and the Latest Images plugin isn't reflecting the change.

    Did you upload the changed latest-images.php to plog-content/plugins/latest-images/?
    Thankful People: fropker
    • CommentAuthorfropker
    • CommentTimeMar 13th 2010
     
    Wow. i just uploaded it to recent comment folder. i made a mistake. sorry for inconvenience. its working perfect now.

    thanks agains

    bigadda.org
    fropker.com
    •  
      CommentAuthorkimparsell
    • CommentTimeMar 13th 2010
     
    It's an easy mistake to make. Glad it's working for you now!
    • CommentAuthorfropker
    • CommentTimeMar 14th 2010
     
    Today i have successful installed and designed my main site fropker.com
    Thanks once agains for help