Search…

X3 Photo Gallery Support Forums

Search…
 
julien
Experienced
Topic Author
Posts: 31
Joined: 17 Jan 2011, 15:34

Margin Image

25 May 2011, 04:10

Good morning !

Is there any way to set margin on the image ? I need more space between the bottom and the image.
I looked at the CSS but I didn't find anything about this... :?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14000
Joined: 30 Sep 2006, 03:37

Re: Margin Image

25 May 2011, 05:37

julien wrote:Is there any way to set margin on the image ? I need more space between the bottom and the image.
I looked at the CSS but I didn't find anything about this... :?
I assume you mean for the flash image gallery? You can do to admin -> settings -> image.image.margin, but this will set a global margin for ALL 4 sides of the image. It could lead to the image being very small on small screens if you increase the margin to 200px.

The reason you can't set margin-per-side is because of the technical nature of image scaling and positioning based on image size and screen size. Since an image does not align to either left, right, top or bottom, then it is not feasible to use a margin.

Just for the record: CSS is only for editing text-formatting in Imagevue. It can not be used for layout as with HTML.
 
julien
Experienced
Topic Author
Posts: 31
Joined: 17 Jan 2011, 15:34

Re: Margin Image

25 May 2011, 07:36

Ok, I get it.

And yes, I mean Flash gallery. I'll send you a link of my website to show you why I wanted to know that.

Thanks Karl. ;)