| View previous topic :: View next topic |
| Author |
Message |
lingolex
Joined: 30 Nov 2011 Posts: 5
|
Posted: Wed Nov 30, 2011 2:05 pm Post subject: Thumbnails |
|
|
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 |
|
 |
PHPWebScripts Richard - Admin
Joined: 13 Jan 2003 Posts: 5691
|
Posted: Wed Nov 30, 2011 2:17 pm Post subject: |
|
|
| 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 |
|
 |
lingolex
Joined: 30 Nov 2011 Posts: 5
|
Posted: Thu Dec 01, 2011 12:21 pm Post subject: |
|
|
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 |
|
 |
PHPWebScripts Richard - Admin
Joined: 13 Jan 2003 Posts: 5691
|
Posted: Thu Dec 01, 2011 1:47 pm Post subject: |
|
|
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 |
|
 |
lingolex
Joined: 30 Nov 2011 Posts: 5
|
Posted: Thu Dec 01, 2011 3:22 pm Post subject: |
|
|
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 |
|
 |
PHPWebScripts Richard - Admin
Joined: 13 Jan 2003 Posts: 5691
|
Posted: Thu Dec 01, 2011 3:37 pm Post subject: |
|
|
| 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 |
|
 |
lingolex
Joined: 30 Nov 2011 Posts: 5
|
Posted: Thu Dec 01, 2011 3:45 pm Post subject: |
|
|
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 |
|
 |
PHPWebScripts Richard - Admin
Joined: 13 Jan 2003 Posts: 5691
|
Posted: Thu Dec 01, 2011 4:30 pm Post subject: |
|
|
| I have sent you an email. |
|
| Back to top |
|
 |
lingolex
Joined: 30 Nov 2011 Posts: 5
|
|
| Back to top |
|
 |
PHPWebScripts Richard - Admin
Joined: 13 Jan 2003 Posts: 5691
|
Posted: Fri Dec 02, 2011 9:39 am Post subject: |
|
|
It's great, thank you  |
|
| Back to top |
|
 |
|