Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
kungphoto
Experienced
Topic Author
Posts: 27
Joined: 24 Dec 2014, 04:36

How can i set a photo 100% size and just display at middle

10 Jan 2015, 09:56

as topic
Choose a problem to solve, not an idea to build
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: How can i set a photo 100% size and just display at midd

11 Jan 2015, 00:05

You mean don't scale the image, even if viewed from a small device like an iphone? We can add some setting for this, but I would like to understand how you intend to use it ...
 
User avatar
kungphoto
Experienced
Topic Author
Posts: 27
Joined: 24 Dec 2014, 04:36

Re: How can i set a photo 100% size and just display at midd

11 Jan 2015, 03:37

like this page, cant find a good way to make it right

http://www.kungchan.com/about/
Choose a problem to solve, not an idea to build
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: How can i set a photo 100% size and just display at midd

11 Jan 2015, 06:31

Since you want a custom layout, you probably need to add custom HTML, and disable the auto-added items. Try add the setting below, including the custom content section, in addition to your existing settings.
Code
layout: narrower
context: items:content
content: |
  <h1 class=text-center>About</h1>
  <div class=row>
  <div class='large-7 medium-12 large-push-5 columns'>
  <p>I am a beauty hunter;I am the perfect moment;I am part of joyful & love;I am KUNG Chan!<br>D-VISION Art Director<br><a href="http://www.weibo.com/kungphoto" target="_blank">新浪微博</a><br>微信號:kungphoto</p>
  </div>
  <div class='large-5 medium-12 large-pull-7 columns'>
  <img src=http://www.kungchan.com/content/6.about/KUNGCHAN.JPG class=x3-style-frame />
  </div>
  </div>
Should provide a layout like this: https://d.pr/i/1et9j

I will offer better tutorials on implementing custom html later ...