Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-03-2016, 01:50 AM
induslady induslady is offline
 
Join Date: Jul 2006
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Image Attachment Issue

Hello,
Am using vB v4.2.1.
When I try to attach an image in a post, the image gets added inside the post AND as "Attached Images". Refer screen shot as indicated by red arrow.
Attachment 154376

This is what I do:
-Go to "Advanced Reply"
-Click "Manage Attachments" and upload the required image file.
-Image name appears -"Purple-Flower.jpg" below "Manage Attachments" button
-click the "Attachments" icon in the editor tool (refer screen shot)
Attachment 154377

and select "Purple-Flower.jpg" to include the image inside the post.
-Click "Submit Reply" button and now the image is seen in both the places - inside the post as well as "Attached Images" with its name below the post.

How do I fix this such that when I attach the image inside the post it is seen only inside the post and not as "Attached Images".
Thanks in advance.
Reply With Quote
  #2  
Old 03-03-2016, 04:20 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The easiest way I have found to display attached images inline is to click the "Insert Image" button:



And then use the pop-up dialog to browse your local media to select and upload the image(s).
Attached Images
File Type: png insertimage.png (22.6 KB, 0 views)
Reply With Quote
  #3  
Old 03-03-2016, 05:27 AM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Exactly as Mark says, that's the way to upload attach images.
See also in settings:
Message Attachment Options -> Advanced Insert Image Popup - Enable (this must be to ON) it is at the end off settings.

The way you describe is to upload files zip, rar, etc
Reply With Quote
  #4  
Old 03-03-2016, 12:00 PM
induslady induslady is offline
 
Join Date: Jul 2006
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello Stratis,

yes i have this below setting enabled in AdminCP
Message Attachment Options -> Advanced Insert Image Popup - Enable.

Hello MarkFL,

Am having the issue even if I use "Insert Image" icon to attach images within a post.
This is what I did:

-Clicked "Insert Image" icon in editor tool, selected and uploaded an image file - Minion.jpg
Attachment 154383

-Image is now seen inside the post.
Attachment 154384

-Clicked "Submit Reply"
-Now am seeing the attached image inside the post as well as "Attached Images" with the file name - Minion.jpg.
Attachment 154385

Ideally when I do the above it should include ONLY within the post and should not show "Attached Images" and the file name. How to fix this?
Reply With Quote
  #5  
Old 03-03-2016, 12:05 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try doing it using the standard editor, instead of the WYSIWYG editor. Does it still do the same thing?
Reply With Quote
  #6  
Old 03-03-2016, 12:33 PM
induslady induslady is offline
 
Join Date: Jul 2006
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome MarkFL, yes that helped me resolve the issue.
I edited the setting
Message Posting Interface Option > Enable Clickable Message Formatting controls >
Full Editor > Enable Standard controls

For all the new attachments am uploading, am no longer seeing the issue. Looks good.

But issue is seen in the old attachments i.e images uploaded prior to cahnging the above setting. How do I fix the old attachments as well.

Thanks.
Reply With Quote
Благодарность от:
MarkFL
  #7  
Old 03-03-2016, 12:37 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by induslady View Post
Awesome MarkFL, yes that helped me resolve the issue.
I edited the setting
Message Posting Interface Option > Enable Clickable Message Formatting controls >
Full Editor > Enable Standard controls

For all the new attachments am uploading, am no longer seeing the issue. Looks good.

But issue is seen in the old attachments i.e images uploaded prior to cahnging the above setting. How do I fix the old attachments as well.

Thanks.
Unfortunately, you would likely have to run a manual query or write custom code or manually edit the old posts.
Reply With Quote
  #8  
Old 03-03-2016, 12:55 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, at least a solution for start.

Something else you should see. i assume that your php-sql version does not meet server php-sql version, you must check it.
Reply With Quote
  #9  
Old 03-04-2016, 01:41 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, this is really a problem with Vb4. I have seen this on many sites when uploading multiple images they will display inline if set but also display below. One fix would be to edit the Postbit or Postbit_legacy template.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:44 AM.


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.04241 seconds
  • Memory Usage 2,265KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (1)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete