USGS Multimedia Gallery
Each individual photo pages provide the simple HTML code to embed that image in your site in various sizes. But what if you want to show more than just one image? What if you want to embed an entire Collection on your site, or a specific Set of images, or even multiple Collections in one gallery? Not a problem. Just follow the instructions below to get the specific type of embed option you need, copy and paste the provided HTML code for your site, and you're all set.
Note: We currently provide the specific to the type of gallery you want to embed. The most popular option for embedding the gallery is using the path as the source file for an <iframe> tag. You can however link to the specific path if you wish. Future embedding methods will be looked at.
This is how a Thumb Pop gallery would look on your site. You can change the height and width options as needed (the current view is simply meant as proof of concept).
This example is specific to the "Natural Hazards" collection. If you would like to have a different gallery collection simply replace the Natural Hazards in the HTML code with another existing collection, set, tag, discipline, program, cost center name, or search.
Displaying Multiple Galleries Changing Number of Images: For Videos: |
<iframe id="thumbpop_photos" name="thumbpop_photos" height="400" width="600" frameborder="0" scrolling="auto" title="Natural Hazards Collection" src="http://gallery.usgs.gov/photo_shares/thumbs/collections/Natural Hazards/1">[This content is contained within an inline frame. You can also <a href="http://gallery.usgs.gov/photo_shares/thumbs/collections/Natural Hazards/1">access it directly</a>.]</iframe>
This is how a List View gallery would look on your site. You can change the height and width options as needed (the current view is simply meant as proof of concept).
All of the same options available in the thumb pop gallery are available for customizing the list view gallery. The only difference in this case is changing "thumbs" to "list" within the source file reference. Example:
|
Below is an example of a photo slideshow icon, which opens up a new window, that would appear on your page. By putting the following HTML code on your page, you can create a link to open a small slideshow of images based upon a existing collection, set, tag, discipline, program, or cost center.
If you want to display multiple collections, sets, disciplines, programs, or cost centers, then place the "~" character between the various groups in the HTML code where labeled in black, underline. Please note that multiple tags slideshows are currently not available.
|
<script type="text/javascript" src="http://gallery.usgs.gov/share/slideshow.js" language="javascript"></script> |
![]() |
Below is an example of a video player icon would appear on your page. By putting the following HTML code on your page, you can create a link to open a small video player with a playlist of items defaulted to a specific video collection. Choose the video collection group you want to have appear as the default and simply replace the black, underlined sections of the HTML code below with that title.
|
<script type="text/javascript" src="http://gallery.usgs.gov/share/video.js" language="javascript"></script>
|
![]() |
If you find a specific image that you would like to embed on your own Web site, you will find the HTML code underneath the photo on any specific photo page (example below). Clicking the "Embed this image" link underneath the photo will give you the options of getting the code for embedding a thumbnail, medium, or large size image.

Disclaimer: The options listed below DO NOT consitute an endorsement of any specific product, service, or company/organization. The options listed below are provided as a possible methods to help further spread the usage of USGS video/imagery to the public using the provided MediaRSS files.