PHP WEB SCRIPTS    Support Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Thumbnails

 
Post new topic   Reply to topic    PHP Web Scripts Forum Index -> Link Up Gold Support & Discussion
View previous topic :: View next topic  
Author Message
lingolex



Joined: 30 Nov 2011
Posts: 5

PostPosted: Wed Nov 30, 2011 2:05 pm    Post subject: Thumbnails Reply with quote

The script appears to automatically make a thumbnail pic of the website when the import link function is used.

The thumbnail is of the highest level page not the actual url.
eg example.com

Not
example.com/page_about_birds/swan.htm

Is it possible to modify the thumbnail used for each link?

Are the images saved on the home server or are they dynamically created?
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 5691

PostPosted: Wed Nov 30, 2011 2:17 pm    Post subject: Reply with quote

It doesn't create thumbnails of webpages. It uses a thumbnail service which can be changed in configuration. By default it uses thumbnails from thumbshots.org.
Back to top
View user's profile Send private message
lingolex



Joined: 30 Nov 2011
Posts: 5

PostPosted: Thu Dec 01, 2011 12:21 pm    Post subject: Reply with quote

The trouble with this system is that I want to use this script to index my own site as well.

The thumbnails for external sites look fine but the thumbnails for my own site are the same for all links which looks bad.

What I need is a way of overriding the thumbnail default and replacing it with my own image but only when it is my own site or If don't like the thumbnail given by thumbsot.

In a future version you could allow any link to have it's own custom thumbnail but I wonder if there is a way to do this now.
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 5691

PostPosted: Thu Dec 01, 2011 1:47 pm    Post subject: Reply with quote

You can use also another thumbnails service but as far as I know, all of them offer only thumbnails of home pages. The reason probably is that it needs a lot of server resources to create these thumbnails.

I have found this thumbnails generator tool which can be installed on a web server:
http://www.zubrag.com/scripts/website-thumbnail-generator.php
Please take a look and read the requirements, these are quite special. If your server meets them, you can install this tool. If it will work, you can use it to create thumbnails in Link Up Gold. I can help you to configure it.
Back to top
View user's profile Send private message
lingolex



Joined: 30 Nov 2011
Posts: 5

PostPosted: Thu Dec 01, 2011 3:22 pm    Post subject: Reply with quote

The trouble with the http://www.zubrag.com/ system is that it needs to be on a windows server.


The hack I was thinking of would be something like this
doing a modification of the template

$thumb_url = #%thumbnail%#; (somhow get hold of the default value)


if ($link_url contains "mydomain.com")
{

$thumb_url = "http://mydomain.com/mythumb_images/$link_id.gif";
}

then somehow get the $thumb_url back into the template.


d1" colspan="5">#%thumbnail%# <div style="


Each thumb would have the same filename as the id of the link
they would be created manually.

So I would create a gif for each link.


Is something like this possible?
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 5691

PostPosted: Thu Dec 01, 2011 3:37 pm    Post subject: Reply with quote

If you want to create these thumbnails and upload them to a folder on the server, I can modify the script so it will use them. Please email me, I can send you the edited files.
Back to top
View user's profile Send private message
lingolex



Joined: 30 Nov 2011
Posts: 5

PostPosted: Thu Dec 01, 2011 3:45 pm    Post subject: Reply with quote

yes that would be very good.

I only need the customised thumbs for my own site.
I would be very happy with that.

If it were possible to override any thumb of choice with a custom version it would be even better.
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 5691

PostPosted: Thu Dec 01, 2011 4:30 pm    Post subject: Reply with quote

I have sent you an email.
Back to top
View user's profile Send private message
lingolex



Joined: 30 Nov 2011
Posts: 5

PostPosted: Fri Dec 02, 2011 7:53 am    Post subject: Reply with quote

Thank you very much for your help

It is now working fine.

I have manually made lots of thumbnails of my own site.

You can see it here.

http://lingolex.com/learnspanish/links.php?n=9
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 5691

PostPosted: Fri Dec 02, 2011 9:39 am    Post subject: Reply with quote

It's great, thank you Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PHP Web Scripts Forum Index -> Link Up Gold Support & Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group