Go Back   Pligg CMS Forum > Pligg Development > Pligg Templates > Template Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-13-2008, 11:39 AM
New Pligger
Pligg Version: 9.8.2.
Pligg Template: none
 
Join Date: Nov 2007
Posts: 21
Thanks: 2
Thanked 0 Times in 0 Posts
Question CSS Help: Position of Upload Image

Hi,

I need some help with CSS.

I tried to position the upload image left from the story description like on eVIPlist.com 5.0 Where INFORMATION IS POWERed by You! but when put the image with CSS on that Position ist lays over the description.

Hope you understand my englisch and someone can help me!

Thanks!
Reply With Quote
  #2 (permalink)  
Old 02-17-2008, 06:05 AM
Koshin's Avatar
Casual Pligger
Pligg Version: 9.9.0
Pligg Template: Convergence v9.9.0
 
Join Date: Jan 2008
Posts: 34
Thanks: 1
Thanked 0 Times in 0 Posts
I think the code u need would look like something like

Quote:
{if $use_thumbnails eq true && $pagename eq "story" && $url_short neq "http://" && $url_short neq "://"}
<b><img src="http://images.websnapr.com/?url={$url_short}&size=T" style="float:right; padding-left:5px;padding-top:5px;"></b>
{/if}
im using the coolwater theme
Reply With Quote
  #3 (permalink)  
Old 02-17-2008, 07:37 AM
redwine's Avatar
Pligg Donor
Pligg Version: 9.8
Pligg Template: custom templat
 
Join Date: Jul 2007
Location: Canada
Posts: 216
Thanks: 20
Thanked 102 Times in 65 Posts
Picture position

Quote:
Originally Posted by dogmog View Post
Hi,

I need some help with CSS.

I tried to position the upload image left from the story description like on eVIPlist.com 5.0 Where INFORMATION IS POWERed by You! but when put the image with CSS on that Position ist lays over the description.

Hope you understand my englisch and someone can help me!

Thanks!
In the site you provided, they are placing the image in the place where the avatar goes.

If you want to use this concept, here is the code you have to modify:

Open link_summary.tpl in your template and look for this block of code.
Code:
<a href="javascript://" onclick="show_hide_user_links(document.getElementById('userlinks-{$link_shakebox_index}'));">  
   {if $UseAvatars neq "0"}<span id="ls_avatar-{$link_shakebox_index}"><img src="{$Avatar_ImgSrc}" alt="Avatar" /></span>{/if}
   </a>
You can alter this code to place the image there.
Reply With Quote
The Following User Says Thank You to redwine For This Useful Post:
  #4 (permalink)  
Old 02-18-2008, 09:44 AM
New Pligger
Pligg Version: 9.8.2.
Pligg Template: none
 
Join Date: Nov 2007
Posts: 21
Thanks: 2
Thanked 0 Times in 0 Posts
Thumbs up

it works!

Thank you guys!
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Image Upload Module -- Call for feature requests cent Modification Tutorials 12 11-15-2008 12:13 PM
Need help with Upload image - position PliggerOL Modification Tutorials 0 03-19-2008 12:30 PM
Latest SVN - Image Upload v0.4 broken? aaronpais General Help 3 05-22-2007 03:19 PM
Image Upload / Image display with stories mod - Will pay for dev and share adampoots Modification Tutorials 11 04-10-2007 07:22 PM


Search Engine Friendly URLs by vBSEO 3.2.0