CSS Image Gallery Support Product Page
  Answered 
 Center Image
 Asked  24 Apr 2009  18:58:10 
  3 
      have  this question  
  24 Apr 2009  18:58:10 Denis Hoffmann posted: 
 Hi, how can I center the MainImage.
cheers
Denis
Official Answer
 Replied 02 Sep 2010  11:37:14 
  Hello Denis,
You can center the images by X axis adding:
text-align:center;
in
.dmxGallery .imageContainer
For the centering by Y axis - there is no such a solution, you either have to create ll of the images such a resolution that fits in the gallery or to use the auto size option in the gallery.
 
  You can center the images by X axis adding:
text-align:center;
in
.dmxGallery .imageContainer
For the centering by Y axis - there is no such a solution, you either have to create ll of the images such a resolution that fits in the gallery or to use the auto size option in the gallery.
Replies
 Replied 26 Apr 2009  20:35:07 
   26 Apr 2009  20:35:07 Josep Lluis Pardo replied: 
  I also need to centre the image 
   Replied 04 Jan 2010  15:17:20 
   04 Jan 2010  15:17:20 Paul Rodarte replied: 
  I would be interested in knowing how to do this as well.
 
   Replied 05 Jan 2010  11:00:55 
   05 Jan 2010  11:00:55 Miroslav Zografski replied: 
  Hello All, Happy New Year & etc.
The main image can be only "centered" if you set thumbs to be shown inside instead of outside of main image. Then you will have only main image shown until mouse is hovered over the gallery.
 
Regards,
  The main image can be only "centered" if you set thumbs to be shown inside instead of outside of main image. Then you will have only main image shown until mouse is hovered over the gallery.
Regards,
 Replied 28 Mar 2010  00:53:07 
   28 Mar 2010  00:53:07 Denis Hoffmann replied: 
  Hi Miro,
I dont understand that, can you give an example?
Thanks a lot,
Denis[
] 
  I dont understand that, can you give an example?
Thanks a lot,
Denis[
 Replied 29 Mar 2010  09:45:04 
   29 Mar 2010  09:45:04 Miroslav Zografski replied: 
  Hi Denis,
in property inspector of the CSSIG you have an option to show thumbnails "inside" the image. Thus they overlay the main image when mouse hovers it.
Regards,
  in property inspector of the CSSIG you have an option to show thumbnails "inside" the image. Thus they overlay the main image when mouse hovers it.
Regards,
 Replied 30 Aug 2010  14:45:04 
   30 Aug 2010  14:45:04 Denis Hoffmann replied: 
  is there a way to show in images?
I want to center the mail image, not the thumbs ?
Denis
  I want to center the mail image, not the thumbs ?
Denis
 Replied 31 Aug 2010  01:03:15 
   31 Aug 2010  01:03:15 Teodor Kuduschiev replied: 
  Dear Denis,
Could you please explain a little more detailed how do you want to center the main image? To center it where?
 
  Could you please explain a little more detailed how do you want to center the main image? To center it where?
 Replied 01 Sep 2010  21:56:37 
   01 Sep 2010  21:56:37 Denis Hoffmann replied: 
  Hi Teodor,
www.denis-online.de/css.php
I want to center/absolut the MainImages in the green container (.dmxGallery .imageContainer) must it be.
www.denis-online.de/css.php
So that they start in the center.
thats all :-)
Cheers
Denis
  www.denis-online.de/css.php
I want to center/absolut the MainImages in the green container (.dmxGallery .imageContainer) must it be.
www.denis-online.de/css.php
So that they start in the center.
thats all :-)
Cheers
Denis
 Replied 02 Sep 2010  11:37:14 
   02 Sep 2010  11:37:14 Teodor Kuduschiev replied: 
  Hello Denis,
You can center the images by X axis adding:
text-align:center;
in
.dmxGallery .imageContainer
For the centering by Y axis - there is no such a solution, you either have to create ll of the images such a resolution that fits in the gallery or to use the auto size option in the gallery.
 
  You can center the images by X axis adding:
text-align:center;
in
.dmxGallery .imageContainer
For the centering by Y axis - there is no such a solution, you either have to create ll of the images such a resolution that fits in the gallery or to use the auto size option in the gallery.
 Replied 02 Sep 2010  12:44:15 
   02 Sep 2010  12:44:15 Denis Hoffmann replied: 
  Hi Teodor,
thanks for the answer.
Maybe this would be cool for an update.
Cheers
Denis
  thanks for the answer.
Maybe this would be cool for an update.
Cheers
Denis
 Replied 16 Apr 2013  13:00:04 
   16 Apr 2013  13:00:04 pong lee replied: 
  My still not work to center main imageContainer.  Please need help!
I added text-align:center; in .dmxGallery .imageContainer but no luck.
This is my sample page
insidepd.com/untitled.php
  I added text-align:center; in .dmxGallery .imageContainer but no luck.
This is my sample page
insidepd.com/untitled.php


