vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Images Attachment in Centre Cannot Show (https://vborg.vbsupport.ru/showthread.php?t=262893)

ITQalam 04-30-2011 10:51 AM

Images Attachment in Centre Cannot Show
 
hi...........!

when i upload image attachment (jpg,gif) through manage attachment

after i use Centre Tag to show it in Centre,,,,

then Attachment cannot show

if i cannot use any tag and simple attach attachment

and sumbit thread then attachment show.....

can u tell me what i do then after uploading attachment i show it in

Centre,Left,Right Tags

i am using vb 3.8.7

Frosty 04-30-2011 03:49 PM

Are you using postbit or postbit_legacy? But I think it doesn't matter. Open the template of one you're using, and find this part:

PHP Code:

<if condition="$show['thumbnailattachment']">
<
fieldset class="fieldset">
<
legend>$vbphrase[attached_thumbnails]</legend>
<
div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</
div>
</
fieldset>
</if> 

Change it to:

PHP Code:

<if condition="$show['thumbnailattachment']">
<
div style="padding:$stylevar[formspacer]px">
<
center>$post[thumbnailattachments]</center>
</
div>
</if> 

Save..

It looks like this:
http://i.imgur.com/iiCDS.png

ITQalam 05-01-2011 12:18 AM

could u please tell me the editing u give me is it for postbit? or is it for postbit_legacy?

Frosty 05-01-2011 12:53 AM

Which postbit style are you using?

ITQalam 05-02-2011 01:45 PM

1 Attachment(s)
i do it as u give me

but problem is same

in firefox when i thread open
attachment show like as
Attachment 128747

and in internet explorer i thread open
attachment showing like as
Attachment 128748
only in opera attachment showing

ITQalam 05-03-2011 02:51 AM

reply?


All times are GMT. The time now is 03:51 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01303 seconds
  • Memory Usage 1,723KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete