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 09-15-2011, 10:39 AM
charlesr charlesr is offline
 
Join Date: Aug 2009
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Image alignment issue in CMS?

Hi all
http://www.ntsc-uk.co.uk/content.php...rosoft-Xbox360
I have double clicked on all these images in the advanced editor and selected "center". In the WYSI(Almost)WYG, they all appear in the center.
Looking at the simple editor the code all seems identical for each image (not sure what magic is used to store the alignment selected in the advanced editor). They are all added in exactly the same way in one batch.
I cannot for the life of me get them to all appear in the center.

Any hints?

I haven't as yet tried to remove and replace - I thought I should seek help first in case this is a bug that needs reporting (I can't get to vbulletin.com to check).

Thanks.
Reply With Quote
  #2  
Old 09-15-2011, 03:48 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if you look at the page source, you can see some of the images are inside other divs, and the others are not. The ones inside over divs appear to link to other images and those are centered. The ones that don't link, are not centered. So, there is something different about what you have done to the images in your article code. Have you made some full size and others just small or medium?
Reply With Quote
  #3  
Old 09-15-2011, 05:16 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just to add to that, the images you have that are linked to the lightbox are inside a DIV with the class img_align_center, so the DIV is centering properly. The images themselves have the class align_center, but that in of itself doesn't seem to do anything. It doesn't explain why that's happening, but if you lightbox the remaining images you should get the centering you wanted.
Reply With Quote
  #4  
Old 09-15-2011, 07:43 PM
charlesr charlesr is offline
 
Join Date: Aug 2009
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As far as I remember, I added all the images in one go and moved them around to the place in the text and selected center on each image. I think I also selected left or right on the ones that weren't centered and then put them back to center to see if that fixed it (didn't help).

Not sure what you mean about a lightbox sorry. Please can you explain a little?

--------------- Added [DATE]1316121644[/DATE] at [TIME]1316121644[/TIME] ---------------

Ah the lightbox is the popup thing with picture browse left/right yeah?

How would I "lightbox" them ?

--------------- Added [DATE]1316122488[/DATE] at [TIME]1316122488[/TIME] ---------------

I now see what you mean about the lightbox - some of them can be clicked to get them to do the lightbox thing - some of them can't.

I have no idea how to make them behave one way or the other.

I just test added an image:
1) switch to advanced editor
2) click the image button
3) add file from pc
4) it appears in the wysiwyg on the left
5) double click and press center
6) it appears in the center in the wysiwyg
7) save article.

Looking at the article page it's still on the left. Not center.

I now have no idea how I made the other ones centered.

--------------- Added [DATE]1316122705[/DATE] at [TIME]1316122705[/TIME] ---------------

If I then go back to the simple/code editor and put center tags around the attachment, it centers fine. I haven't saved that change yet though.

I'm using FFox btw.
Reply With Quote
  #5  
Old 09-15-2011, 08:46 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've never had much luck getting consistency out of any WYSIWYG editor, from any forum/CMS software. I'd recommend sticking to the simple or HTML editor when formatting is important, as long as it's doing what you ask it to.
Reply With Quote
  #6  
Old 09-15-2011, 09:06 PM
charlesr charlesr is offline
 
Join Date: Aug 2009
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think that's the most sensible advice I've ever seen on the interwebs.
The only reason I was using the advanced mode was because I thought the "upload from pc" option didn't work in the simple mode, but it looks like that has been fixed in some version since I first tried. yay
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 01:45 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.04980 seconds
  • Memory Usage 2,206KB
  • Queries Executed 11 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete