Thumbnails of Story Image

Register an Account
Reply
 
Thread Tools Display Modes
  #21 (permalink)  
Old 11-27-2009, 09:32 PM
Casual Pligger
 
Join Date: Apr 2009
Posts: 49
i have 2 questions.

1) where exactly should i place the 2 codes in the link_summary.tpl???

{if $use_thumbnails eq true && $pagename eq "story" && $url_short neq "http://" && $url_short neq "://"}
<b><img src="http://images.websnapr.com/?url={$url}&size=T" style="float:right; padding-left:10px;padding-top:20px;"></b>
{/if}

{if $url_short neq "http://" && $url_short neq "://"}
<img src="http://images.websnapr.com/?url={$url}&size=T" style="float:right; padding-left:10px;padding-top:20px;">
{/if}


2) will these thumbnails be of the homepages snap shots or will they be thumbnails of the actual story URL (inner pages)

Thank you so much i appreciate the help!

-Lex
Reply With Quote
  #22 (permalink)  
Old 11-27-2009, 09:45 PM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Social Pro Kit
 
Join Date: Jun 2006
Posts: 5,448
Quote:
Originally Posted by spirrsguy View Post
i have 2 questions.

1) where exactly should i place the 2 codes in the link_summary.tpl???

{if $use_thumbnails eq true && $pagename eq "story" && $url_short neq "http://" && $url_short neq "://"}
<b><img src="http://images.websnapr.com/?url={$url}&size=T" style="float:right; padding-left:10px;padding-top:20px;"></b>
{/if}

{if $url_short neq "http://" && $url_short neq "://"}
<img src="http://images.websnapr.com/?url={$url}&size=T" style="float:right; padding-left:10px;padding-top:20px;">
{/if}


2) will these thumbnails be of the homepages snap shots or will they be thumbnails of the actual story URL (inner pages)

Thank you so much i appreciate the help!

-Lex

From a quick glance of your code, it will float right of a story and only be the main url. not individual screen shots of the submitted url. You will have to pay a service for that.. No one will thumb individual pages on the fly like that for free.
As for where you should place it? It really depends on your template. As for the default Wistie template. I would recommend. Just after line 138 in link_summary.tpl
Reply With Quote
  #23 (permalink)  
Old 11-28-2009, 03:01 AM
Banned
 
Join Date: Aug 2009
Posts: 180
Quote:
Originally Posted by chuckroast View Post
From a quick glance of your code, it will float right of a story and only be the main url. not individual screen shots of the submitted url. You will have to pay a service for that.. No one will thumb individual pages on the fly like that for free.
As for where you should place it? It really depends on your template. As for the default Wistie template. I would recommend. Just after line 138 in link_summary.tpl
So what service is that? and what to pay for the individual screen shots? And is this working with rss feeds?
JP
Reply With Quote
  #24 (permalink)  
Old 11-28-2009, 05:56 AM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Social Pro Kit
 
Join Date: Jun 2006
Posts: 5,448
Quote:
Originally Posted by janpatat View Post
So what service is that? and what to pay for the individual screen shots? And is this working with rss feeds?
JP
Go search google.
Reply With Quote
  #25 (permalink)  
Old 11-28-2009, 06:18 AM
Banned
 
Join Date: Aug 2009
Posts: 180
Quote:
Originally Posted by chuckroast View Post
Go search google.
Always the same. You bringing some reply here and when there come Questiens you not home. When you hate me ok but there a lot of other people they ask you the same. JP
Reply With Quote
  #26 (permalink)  
Old 11-28-2009, 12:03 PM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Social Pro Kit
 
Join Date: Jun 2006
Posts: 5,448
Quote:
Originally Posted by janpatat View Post
Always the same. You bringing some reply here and when there come Questiens you not home. When you hate me ok but there a lot of other people they ask you the same. JP
janpatat is this so hard for you to do?
Reply With Quote
  #27 (permalink)  
Old 11-28-2009, 01:34 PM
Banned
 
Join Date: Aug 2009
Posts: 180
Quote:
Originally Posted by chuckroast View Post
Ofcorse its not so hard. For all the others it is hard what program is doing that what you say it is doing that. Make tumbnail from STORY page. Not FROM HOMEPAGE.

You say in your reply there is an program that do this so what program is doing that. (or is it a maby there is an program that can do that).
JP

I did try thumbshots.com but can they do that with rss feeds. (most google news).
JP

Last edited by janpatat; 11-28-2009 at 02:13 PM.
Reply With Quote
  #28 (permalink)  
Old 11-28-2009, 10:18 PM
Casual Pligger
 
Join Date: Apr 2009
Posts: 49
Quote:
Originally Posted by chuckroast View Post
From a quick glance of your code, it will float right of a story and only be the main url. not individual screen shots of the submitted url. You will have to pay a service for that.. No one will thumb individual pages on the fly like that for free.
As for where you should place it? It really depends on your template. As for the default Wistie template. I would recommend. Just after line 138 in link_summary.tpl
Thank alot chuckroast!

So i tried the codes in the areas you suggested but i could get anything to appear... i used websnapr and shrink the web codes but not luck, can u please tell me if im doing anything wrong?

{if $use_thumbnails eq true && $pagename eq "story" && $url_short neq "http://" && $url_short neq "://"}
<b><img src="http://images.websnapr.com/?size=T&key=j7KEW6g2q5z2&url=url" style="float:right; padding-left:10px;padding-top:20px;"></b>
{/if}

{if $url_short neq "http://" && $url_short neq "://"}
<img src="http://images.websnapr.com/?size=T&key=j7KEW6g2q5z2&url=url" style="float:right; padding-left:10px;padding-top:20px;">
{/if}


OR


{if $use_thumbnails eq true && $pagename eq "story" && $url_short neq "http://" && $url_short neq "://"}
<b><img src="http://www.shrinktheweb.com/xino.php?embed=1&STWAccessKeyId=2ca808dfdfb9c0c&st wsize=sm&stwUrl=" style="float:right; padding-left:10px;padding-top:20px;"></b>
{/if}

{if $url_short neq "http://" && $url_short neq "://"}
<img src="http://www.shrinktheweb.com/xino.php?embed=1&STWAccessKeyId=2ca808dfdfb9c0c&st wsize=sm&stwUrl=" style="float:right; padding-left:10px;padding-top:20px;">
{/if}

thanks again...
Reply With Quote
  #29 (permalink)  
Old 11-28-2009, 11:15 PM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Social Pro Kit
 
Join Date: Jun 2006
Posts: 5,448
Quote:
Originally Posted by spirrsguy View Post
Thank alot chuckroast!

So i tried the codes in the areas you suggested but i could get anything to appear... i used websnapr and shrink the web codes but not luck, can u please tell me if im doing anything wrong?
Try something like
Code:
<img src="http://images.websnapr.com/?url={$url_short}"  style="float:right; padding-left:10px;padding-top:20px;">
Reply With Quote
  #30 (permalink)  
Old 11-29-2009, 12:14 AM
Casual Pligger
 
Join Date: Apr 2009
Posts: 49
thanks again chuck roast.. so i got it to work with shrink the web... it seems it placed the code in the wrong line...

DO you know if the certain website thumbnails can be excluded??? for example... if you tube links are prevalent in my pligg site, and i dont want so many youtube homepage thumbails, is it possible to exclude thumbnails from being generated from such sites???

will this be done in my link_summary.tpl? what kinds of codes will i need to EXCLUDE thumbnails from specific URL's???

thanks!!!
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upload Module (File and Image Attachment) Yankidank Free Modules 268 02-03-2012 12:19 PM
Image Upload -> Link Image to Story MikeF Questions and Comments 9 04-11-2011 07:30 PM
image_upload: click to open story not image? Notimega Questions and Comments 2 12-06-2008 07:10 PM
Image Upload - Make image link to story swese44 Questions and Comments 1 07-22-2008 10:07 PM
[SOLVED] When I upload a image when submitting a news story... gossipqueenie Questions and Comments 3 10-27-2007 12:44 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development