Webmastersite.net
Register Log In

thumbnail attachment
not showing

Comments on thumbnail attachment

trued
Experienced

Usergroup: Customer
Joined: Oct 10, 2003

Total Topics: 19
Total Comments: 69
trued
Posted Jul 25, 2005 - 8:46 AM:

I am still working on the integration but in another install of wsn links I am using
<img src="thumbnail.php?id={LINKID}&thumbwidth=100&thumbheight=100">
but I just see an x where the image should be. If I click on the attachment text link I get the picture but thumbnail is not showing.

Any ideas what could be wrong. btw, I got the code from the manual.

I also tried
site.com/wsn/thumbnail.php?...00&thumbheight=100&debug=1 


but nothing comes up.
trued
Experienced

Usergroup: Customer
Joined: Oct 10, 2003

Total Topics: 19
Total Comments: 69
trued
Posted Jul 25, 2005 - 9:24 AM:

ok, the debug line worked to show something but I dont know how to read it.
Load time so far: 0.42 seconds.
Performing query: SELECT name,content FROM wsnlinks_settings WHERE id>0 ORDER BY id ASC ;


Load time so far: 0.46 seconds.
Performing query: SELECT id FROM wsnlinks_categories WHERE validated=1 AND hide=0 AND isalbum=0 ORDER BY id DESC LIMIT 0,1;


Load time so far: 0.49 seconds.
Performing query: SELECT name,value FROM wsnlinks_switches WHERE id>0 ;


Number of rows is 51 for Resource id #37

Load time so far: 0.49 seconds.
Performing query: SELECT id,type,original,replacement,description,originalclose,replacementclose,sortorder FROM wsnlinks_markup WHERE type='wsncode' ORDER BY sortorder ;


Number of rows is 22 for Resource id #39

Load time so far: 0.5 seconds.
Performing query: SELECT original,replacement,description,id,sortorder FROM wsnlinks_markup WHERE type='smilie' ORDER BY sortorder ;


Number of rows is 14 for Resource id #40

Load time so far: 0.51 seconds.
Performing query: SELECT id,title,caneditown,caneditall,canvote,isadmin,canpost,canemail,validatecats,validatecomments,validatelinks,validateedits,cansubmitlinks,cansubmitcategories,cansubmitcomments,caneditownlinks,caneditowncategories,caneditowncomments,caneditownprofile,caneditalllinks,caneditallcategories,caneditallcomments,caneditallprofiles,candownloadfiles,canupload,canviewip,limitlinks,canemailmembers,canusehtml,limitlinksdaily,canalias,cancopy,candeleteown,candeleteall,candofulledit,candeletecategories,candeletecomments,candeleteowncategories,candeleteowncomments,candeletemembers,candeleteownmembers,canaliascategories,canviewpages,caneditvotes,numaliases,canviewvotes,canhideownlinks,canhideowncategories,canhideowncomments,canhidealllinks,canhideallcategories,canhideallcomments,canratecomments,bytespermem,canpm,canim,canharddelete,limitpms,limitpmsdaily,canviewdeleted,cansubmitpolls,candeletepolls,candeleteownpolls,caneditpolls,caneditownpolls,attachperpost,attachperpm,canviewshouts,caneditshouts,caneditownshouts,candeleteshouts,candeleteownshouts,cansubmitshouts,canpollvote,customtitle,canviewinvisible,namestyle,canpmimportant,canviewmodlog,isleader,cansubmitquotes,validatequotes,candeletequotes,candeleteownquotes,canreport,canusesearch,attachperlink,validateattachments FROM wsnlinks_membergroups WHERE id>0 ;


Load time so far: 0.52 seconds.
Performing query: SELECT id,name,links,comments,time,usergroup,password,ip,totalhits,totalhitsin,email,validated,template,language,lastattempt,allowemail,signature,avatarname,stylesheet,allowuseremail,albumid,failedattempts,totalbytes,funds,notifyoflinks,lastvisit,timezone,rating,pmfolders,notifyofpms,acceptpms,cookieduration,banned,location,homepage,occupation,bio,aim,icq,msn,yahoo,inactive,timeonline,totalpms,buddies,ignored,isonline,acceptims,adminpermissions,referrer,groupreverttime,grouprevertto,moderationpm,secondarygroups,linksperpage,commentsperpage,shouts,customtitle,shoutban,topicbans,forumbans,visibility,birthdate,lastsession,interests,posteditor,forumaccess,pmpopup,pmnotify,modnotes,guestnotes,salt,lastmodnote,newpms,imflag,orderalbums,lastguestnote,autosubscribe,notifymethod,showavatars,showsigs,warninglevel FROM wsnlinks_members WHERE id=1 AND validated=1 ;


Load time so far: 0.53 seconds.
Performing query: SELECT id,name,parent,validated,description,time,parentnames,parentids,numlinks,hide,lastlinktime,custom,lastedit,moderators,headerinfo,related,numsub,type,permissions,subscribers,subscriber,mixtypes,isalbum,orderlinks,totalcomments,ulsearchmax,ulsearchquery,ulsearchadult,alias,catcols,linkcols,dmozpath,sponsorlinks,views,customwrap,deleted,reqlinks,reqcoms,reqlinksdelay,priority,levelsdeep,lastposterid,lastpostername,lastcommenttime,lastthreadid,lastthreadtitle,linkshere,unvalidatedlinks,unvalidatedcomments,actaslink,countposts FROM wsnlinks_categories WHERE validated=1 AND deleted=0 AND hide=0 ;


Number of rows is 1 for Resource id #47

Load time so far: 0.53 seconds.
Performing query: LOCK TABLES wsnlinks_email WRITE, wsnlinks_links WRITE, wsnlinks_categories WRITE, wsnlinks_members WRITE;


Load time so far: 0.53 seconds.
Performing query: SELECT id,`to`,subject,message,headers,replacement,mime FROM wsnlinks_email WHERE timesent=0 ORDER BY id ASC LIMIT 0,10;


Number of rows is 0 for Resource id #48

Load time so far: 0.54 seconds.
Performing query: UNLOCK TABLES;


Load time so far: 0.54 seconds.
Performing query: SELECT id,title,url,description,rating,votes,validated,catid,sumofvotes,email,time,hits,numcomments,hide,ownerid,voterips,voterids,lastedit,type,notify,suspect,pendingedit,funds,suspended,alias,expire,ip,inalbum,typeorder,recipurl,hitsin,recipwith,hitsinips,hitsoutips,lastcomment,related,inhidden,viewers,threadviewers,hitsintemp,hitsouttemp,origtype,importance,parentids,timesdead,timesemailed,threadclosed,threadposters,lastposterid,lastpostername,ownername,deleted,deletionreason,movedto,deletedby,timevalidated,filefield FROM wsnlinks_links WHERE id=4 LIMIT 0,1;


The file we're looking for is /home/site/public_html/wsn/attachments/


/usr/bin/convert -geometry 100x100 "/home/site/public_html/wsn/templates/default/images/.png" "/home/site/public_html/wsn/templates/default/images/.png"

/usr/bin/convert -geometry 100x100 "/home/site/public_html/wsn/templates/default/images/.png" "/home/site/public_html/wsn/templates/default/images/.png"

/usr/bin/convert -geometry 100x100 "/home/site/public_html/wsn/templates/default/images/.png" "/home/site/public_html/wsn/templates/default/images/.png"

/usr/bin/convert -geometry 100x100 "/home/site/public_html/wsn/templates/default/images/.png" "/home/site/public_html/wsn/templates/default/images/.png"

/usr/bin/convert -geometry 100x100 "/home/site/public_html/wsn/templates/default/images/.png" "/home/site/public_html/wsn/templates/default/images/.png"


The last lines continue on for a long time , repeating, it pretty much froze my windows.. so if you know what this is about , I would love to know. thanx!
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Jul 25, 2005 - 11:49 PM:

trued wrote:
I am still working on the integration but in another install of wsn links I am using
<img src="https://www.webmastersite.net/forums/thumbnail.php?id={LINKID}&thumbwidth=100&thumbheight=100">
but I just see an x where the image should be. If I click on the attachment text link I get the picture but thumbnail is not showing.


The default templates don't use a thumbnail url of that sort anywhere, as it's not a legal format anymore. Specifying a link id doesn't specify what image you want a thumbnail of since there could be a dozen images attached to that link. I've updated the manual now to reflect 3.20 there, but just copy what's in the 'link details' template for example.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



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