Results 1 to 3 of 3
  1. #1
    New Pligger dontfeedthemonkeys's Avatar
    Joined
    Aug 2009
    Posts
    4

    Align Uploaded Images

    Hi guys,

    I've been searching and looking (both forums and site code) to try and determine how to align images that have been uploaded to the left.

    I have a Pligg 1.0 install, running the (super sexy) thestandard theme (sunshine). and am currently going back and forward trying to just make it a little bit "my own". (Donations incoming to dev).

    However, I was pretty keen to left-align (with a little white space to the right hand side) my uploaded images for each story I submit.

    Any tips or pointers would be greatly appreciated!! Even what particular ID to look for in the CSS etc..

    Site is sitting at: www.dontfeedthemonkeys.com

    Cheers!

  2. #2
    Pligg Founder Yankidank's Avatar
    Joined
    Dec 2005
    Location
    San Francisco, CA
    Posts
    5,063
    Site
    http://pligg.com/demo/
    Well you could either manually add the thumbnail image tags to the link_summary.tpl file or wrap a <div> around the thumbnails using Upload Module settings page. The "HTML code to place before the Thumbnails" and "HTML code to place after the Thumbnails" fields are there so that you can wrap some <div> around the automatically embedded thumbnails.

    Here's a quick example to float all uploaded thumbnails to the right of the article by using the Upload module settings page.

    Where to embed thumbnails: tpl_link_summary_pre_story_content

    HTML code to place before the Thumbnails: change the width value to match the width of your thumbnails. Alternatively you could alter the "Manual Thumbnail HTML format" field so that images will better align themselves.
    Code:
    <div style="float:right;margin:0 0 6px 10px;width:200px;">
    HTML code to place after the Thumbnails:
    Code:
    </div>
    Manually place this code in link_summary.tpl just before your story tools section:
    Code:
    <div style="clear:both;"> </div>
    The Facebook Module for Pligg CMS!
    Register, Login, and Submit Stories with Facebook. An absolute MUST HAVE for all Pligg sites!

  3. #3
    New Pligger dontfeedthemonkeys's Avatar
    Joined
    Aug 2009
    Posts
    4
    Thanks for the SUPER-prompt response Yanki!

    I'll give these a go. I had tried HTML coding around the embed tag previously, but ended up with the story having both the uploaded image at top and then again where i had done the coding. Will start out with this and update the thread.

    Cheers!

Similar Threads

  1. Insert images in rss feeds uploaded with "Upload Module"
    By Leonel78 in forum Questions & Comments
    Replies: 0
    Last Post: 06-24-2011, 02:20 AM
  2. align="absmiddle" or somethig else?
    By dollars5 in forum Questions & Comments
    Replies: 5
    Last Post: 04-12-2007, 10:26 AM
  3. uploaded avatar images cannot be displayed
    By ddayn in forum Questions & Comments
    Replies: 5
    Last Post: 02-13-2007, 09:00 AM
  4. Help. Uploaded, but cant't Vote
    By Adcentered in forum Questions & Comments
    Replies: 5
    Last Post: 12-25-2006, 10:58 AM
  5. not all data uploaded?
    By daled in forum Questions & Comments
    Replies: 3
    Last Post: 09-17-2006, 10:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Donate to Pligg CMS Dreamhost Web Hosting Host Gator Web Hosting