Webmastersite.net
Register Log In

Thumbnail code
need coding help

Comments on Thumbnail code

blackkn58
Member

Usergroup: Customer
Joined: Feb 01, 2006

Total Topics: 4
Total Comments: 14
Posted Mar 03, 2006 - 6:10 AM:

I have used my own software to crawl and cache thumbnails of web sites in my directory. I was wondering if anyone had any ideas on what kind of code I should use to call on the images. Label the images by numbers (linkid). I am not sure if I need a php or cgi script to call on them or just a piece of code calling on them by linkid and same numbered image? Am I on the right track? Oh before someone mentions about attachements, I am not using this feature.
Thanks.
blackkn58
Member

Usergroup: Customer
Joined: Feb 01, 2006

Total Topics: 4
Total Comments: 14
Posted Mar 03, 2006 - 12:31 PM:

I asked my host about GD and ImageMagick but haven't reponded yet. For some reason I think he might come back and say its not possible to run those programs because I am installing my WSN links on a secure server.
I have done what the other posts request about the thumb.php But I still get a little box with an x in it. No errors. I just don't think my host has either of those programs installled on the server.
Which brings me back to Square one. I have a folder of thumbnails labeled according to linkid. 246,248,247 ... etc I need a script to call any of those pictures according to link id.
Not looking for anyone to do it all for me but ideas or places to look would be great.

Thanks.
blackkn58
Member

Usergroup: Customer
Joined: Feb 01, 2006

Total Topics: 4
Total Comments: 14
Posted Mar 03, 2006 - 2:17 PM:

Well GD is installed by zend. Looked in my php.ini and the dll file for GD2 is there. Checking the GD.php but not sure where to go from here.
blackkn58
Member

Usergroup: Customer
Joined: Feb 01, 2006

Total Topics: 4
Total Comments: 14
Posted Mar 03, 2006 - 7:17 PM:

Where's the support here? I paid and no support. That sucks.
Gd is installed and selected in the admin and all I get is a box with a x in it. Why?

The code I am using in the displaylinks.tpl is this:

<img src="thumbnail.php?id={LINKID}&attachid={ATTACHID}&thumbwidth=60&thumbheight=60">

Any input any one? Admin? What gives? shaking head
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Mar 05, 2006 - 12:30 AM:

Ditch your attitude and don't expect a personal slave who responds instantly if you want a response.

The 'link details' template already has the proper thumbnail code in it. If your thumbnails aren't working on the link details page, you must have a problem with the file uploads, bad file path, unsupported format (bitmap, or gif in older versions of GD), or haven't actually selected GD as your graphics method in your settings.
blackkn58
Member

Usergroup: Customer
Joined: Feb 01, 2006

Total Topics: 4
Total Comments: 14
Posted Mar 05, 2006 - 9:08 AM:

I have delt with all kinds of venders and when you have a product or line of products you sell there is an expectation of support. I don't have an attitude and I wouldn't call it " wanting a slave". It's called professionalism and in its absence here I became disappointed and frustrated.

This behind us, the lastest version of GD is installed, I have selected it in the admin panel and they are JPG's. For it to work do I have to upload the pictures using the admin panel? There is no place to put the path for GD in the admin panel. Is there a file where I can check for the path?

I am not looking for a person to personally code it for me just some ideas or answers. Lastly, you resonded to me quicker before and this is the reason for my frustration. My apologies.sad
blackkn58
Member

Usergroup: Customer
Joined: Feb 01, 2006

Total Topics: 4
Total Comments: 14
Posted Mar 05, 2006 - 9:47 AM:

I answered my own question. I did get it to work using the attachments function. So all the thumbnails I crawled can be attached to the links. However the image is appearing at the bottom and not at the top left of it, any ideas?

Also I credit admin for helping me figure it out by saying "you must have a problem with the file uploads". I would have never thought of the attachments function in admin.smiling face
blackkn58
Member

Usergroup: Customer
Joined: Feb 01, 2006

Total Topics: 4
Total Comments: 14
Posted Mar 05, 2006 - 10:11 AM:

Got it done. Figured it out.

Thanks for your help Paul.

Blackkn58cool
blackkn58
Member

Usergroup: Customer
Joined: Feb 01, 2006

Total Topics: 4
Total Comments: 14
Posted Mar 05, 2006 - 3:30 PM:

Here are the results of my hard work. No relying on another persons scripts and no stack overflow errors from thumbshots.org's script in EI browers. Its all worth it in the end. Plus with other software you can do what ever you like to the thumbshot. In my case I placed a shadow behind it. I feal great.grin

Attached Files:
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.