8.12. Foundation Picture

发布时间 :2025-10-25 12:24:35 UTC      

Foundation provides responsive images to create thumbnails and picture pop-up windows:

尝试一下 »

8.12.1. Thumbnail image

In <img> Add outside the element <a> Element uses the picture as an anchor link.

In <a> Add to label .th Moving the mouse over it will display a light blue frame:

Example

<a href="paris.jpg" class="th">
  <img src="paris.jpg" alt="Paris">
</a>

尝试一下 »

Note

响应式图片

Pictures in Foundation are responsive by default. We can resize the browser on the instance page to see the image zooming effect.

8.12.2. Rounded corner picture

We can do it in .th Class addition .radius Class to set fillet thumbnails:

Example

<a href="paris.jpg" class="th radius">
  <img src="paris.jpg" alt="Paris">
</a>

尝试一下 »

8.12.3. A simple pop-up window

Foundation can easily implement picture pop-up windows.

To create a pop-up window, you can use the <ul> Add on the element .clearing-thumbs Class and data-clearing Property. In <ul> Add a list of pictures within.

注意: Picture pop-up window requires JavaScript. So you need to initialize Foundation JS before using it.

Example

<ul class="clearing-thumbs" data-clearing>
  <li><a href="rock600x400.jpg" class="th"><img
src="rock200x100.jpg"></a></li>
  <li><a href="skies600x400.jpg" class="th"><img
src="skies200x100.jpg"></a></li>
  <li><a href="lights600x400.jpg" class="th"><img
src="lights200x100.jpg"></a></li>
</ul>
<!-- Initialize Foundation JS -->
<script>
$(document).ready(function() {
    $(document).foundation();
})
</script>

尝试一下 »

8.12.4. Picture text description

Can be added data-caption Property to each picture to set the description of the picture:

Example

<ul class="clearing-thumbs" data-clearing>
  <li><a href="rock600x400.jpg" class="th"><img data-caption="The Pulpit
Rock" src="rock200x100.jpg"></a></li>
  <li><a href="skies600x400.jpg" class="th"><img data-caption="Sunrise
Skies" src="skies200x100.jpg"></a></li>
  <li><a href="lights600x400.jpg" class="th"><img data-caption="Northern
Lights" src="lights200x100.jpg"></a></li>
</ul>

尝试一下 »

提示: You can add HTML elements to the data-caption attribute, such as data-caption= “< H2 > Pulpit Rock < / H2 > < p > Located in Norway < / p >”

8.12.5. Show only one thumbnail

When you need to show only one thumbnail, you can use the <ul> For use in .clearing-feature Class and in the <li> For use in .clearing-featured-img Class.

Example

<ul class="clearing-thumbs clearing-feature" data-clearing>
  <li><a href="rock600x400.jpg" class="th"><img data-caption="The Pulpit
Rock" src="rock200x100.jpg"></a></li>
  <li><a href="skies600x400.jpg" class="th"><img data-caption="Sunrise
Skies" src="skies200x100.jpg"></a></li>
  <li class="clearing-featured-img"><a href="lights600x400.jpg"
class="th"><img data-caption="Northern Lights"
src="lights200x100.jpg"></a></li>
</ul>

尝试一下 »

Principles, Technologies, and Methods of Geographic Information Systems  102

In recent years, Geographic Information Systems (GIS) have undergone rapid development in both theoretical and practical dimensions. GIS has been widely applied for modeling and decision-making support across various fields such as urban management, regional planning, and environmental remediation, establishing geographic information as a vital component of the information era. The introduction of the “Digital Earth” concept has further accelerated the advancement of GIS, which serves as its technical foundation. Concurrently, scholars have been dedicated to theoretical research in areas like spatial cognition, spatial data uncertainty, and the formalization of spatial relationships. This reflects the dual nature of GIS as both an applied technology and an academic discipline, with the two aspects forming a mutually reinforcing cycle of progress.