showing pictures as thumbnails in forums for lavalair

Started on the old forum in November 2012 · view the original in the archive · old links redirect here

4 replies · 580 views · started 14 years ago · 1 min read

3 participants
mirror Developer · 108 posts #1

friends , anyideas abt how to make available only uploading pictures or image files in a lavalair forum which would b visible as thumbnail not as attachment. Along with the topic

mirror Developer · 108 posts #3

pmbguy wrote: its been done, i think one of my scripts here got it in...

Just edit uploader to add image bbcode to post text...

no bro its not here i searched here . centi had posted in his forum topic but it attaches the pic as attachment not as thumbnail

nclemale36 Lead · 537 posts #4

add this to action=viewtpc

$avatar = getavatar($uid);
 if ($avatar=="")
{ 
echo"<img src=\"../images/default.gif\" width=\"60\" height=\"60\" alt=\"avatar\"/>";
}else{
echo"<img src=\"$avatar\" width=\"60\" height=\"60\" alt=\"avatar\"/>";
}
mirror Developer · 108 posts #5

nclemale36 wrote: add this to action=viewtpc

$avatar = getavatar($uid);
 if ($avatar=="")
{ 
echo"<img src=\"../images/default.gif\" width=\"60\" height=\"60\" alt=\"avatar\"/>";
}else{
echo"<img src=\"$avatar\" width=\"60\" height=\"60\" alt=\"avatar\"/>";
}

hey bro i dnt want to add avatar , but i want to be able to post pictures along with text in images , but tht pic shud b shown as thumbnail

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close