How to center the row of images when using imageBlock plugin

evobenno

Joined: 2012-02-08
Posts: 18
Posted: Sun, 2012-04-08 14:19

Hi

im using imageblock as follows

@readfile('http://www.somesite.com/mediaGallery/main.php?g2_view=imageblock.External&g2_blocks=randomImage|randomImage|randomImage|randomImage|randomImage|randomImage|randomImage|&g2_show=none&g2_itemId=62&g2_maxSize=60');

i cant find any way to centre the block inside a tables cell

the table cell is a header, all is set to centre

but the imageblock output stays left aligned. its crazy

( i refuse to use mediablock, because it add enormous padding around pictures and messes up the whole design of page)

a

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-04-08 15:10

mediaBlock 3.x no longer uses the <table /> layout that G2 does and instead uses CSS tables and styles
Examples

AND it is compatible with the new Multimedia Module

-s

 
evobenno

Joined: 2012-02-08
Posts: 18
Posted: Mon, 2012-04-09 03:41

Hi thanks for reply

Im stuck using gallery2 cos u cant embedd Gallery3 on website yet

or maybe hmmm might just change the theme of g3

if this is possible

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2012-04-09 12:55
Quote:
Im stuck using gallery2 cos u cant embedd Gallery3 on website yet

How is that stuck?
Gallery2 is still a more powerful and more fully featured app than G3.

I'm still using it in all my new projects where a gallery is required.

Personally don't like G3 and don't see my opinion changing anytime soon.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2