vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Image alignment issue in CMS? (https://vborg.vbsupport.ru/showthread.php?t=270315)

charlesr 09-15-2011 10:39 AM

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.

Lynne 09-15-2011 03:48 PM

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?

Digital Jedi 09-15-2011 05:16 PM

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.

charlesr 09-15-2011 07:43 PM

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. :o

--------------- 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.

Digital Jedi 09-15-2011 08:46 PM

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.

charlesr 09-15-2011 09:06 PM

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 :)


All times are GMT. The time now is 06:49 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.01024 seconds
  • Memory Usage 1,725KB
  • 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
  • (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