The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
|||
|
|||
![]()
Try this and let me know if it works for you.
Code:
<if condition="THIS_SCRIPT == 'adv_index'"><a href="showthread.php?$session[sessionurl]t=$news[threadid]"><img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&stc=1&thumb=1" border="0" alt="<phrase 1="$attachment[filename]" 2="$attachment[counter]" 3="$attachment[filesize]">$vbphrase[image_larger_version_x_y_z]</phrase>" /></a> <else /> <a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]"><img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&stc=1&thumb=1" border="0" alt="<phrase 1="$attachment[filename]" 2="$attachment[counter]" 3="$attachment[filesize]">$vbphrase[image_larger_version_x_y_z]</phrase>" /></a> <if condition="$show['br']"><br /><br /></if></if> |
#22
|
|||
|
|||
![]()
Thats it! Works a treat.
Thanks for that! |
#23
|
|||
|
|||
![]()
No problem I been messing with it and I kept going till I got It. At first my members had to be going crazy cause I had 2 attachments per news post until I figured out.
I also edited the phrase for it so it didnt show click to show larger image this way it just shows the image name and size. |
#24
|
||||
|
||||
![]()
is that any hack for resize [img]files in vbadvanced ?? i realy need it ..
|
#25
|
|||
|
|||
![]()
how small do you want the images?
|
#26
|
||||
|
||||
![]()
250 * 300 pixel . and if possible fix the images so that it automaticly shows up in the top left corner of the box .
tnx |
#27
|
|||
|
|||
![]()
thats a huge image.. you might want to look on vbadvanced to see if anyone resized them that large. personally I would never have them that large on my main page.
|
#28
|
||||
|
||||
![]()
u know in this site ( link in post #2 ) : http://www.niinterests.com/
all the pics are in 118*112pixel . i think its alitlle small for my job .. if i know the quality of big pics are not going to be low , this size is perfet size . otherwise i think 150*180 PIXEL is great .. tnx |
#29
|
|||
|
|||
![]()
no the quality of the pics dont change at all. test it out see how you like it. I use mine for news post this way I can have different images on each news post.
|
#30
|
||||
|
||||
![]()
ok .. good .. so the size is not important anymore .. i can use this size too ( 118 * 112 ) but how can i make it ? with which code or hack ?
Tnx anyway for ur quick response ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|