Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Galleria Help

Featured Replies

I am having trouble getting Galleria started. I am just trying it with two large images for the moment so I can get it working more or less before I mess around with the thumbs.

 

At the moment all I get are two images side by side and it's like the juery or galleria code is not being executed, but nothing stands out for me in the html that's wrong. Of course, I am missing something or not doing something correct.

 

I have had to take out the website address code in the head section of the code as I am not allowed to post links yet and of course those are links.

 

Any help much appreciated.

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" ".org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="w.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Architecture - Portfolio</title>
<link href="/css/main.css" rel="stylesheet" type="text/css" />
<script src="jax.googleapis/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script src="/galleria/galleria-1.2.2.min.js"></script>
</head>
<body>
<div id="wrapper"><!-- Begin Wrapper --> 
 <div id="header"></div><!-- End Header -->	
   <div id="header_image"><!-- Begin Header_Image-->
  	<img src="/images/header_main.jpg" /></div>
<!-- End Header_Image -->
   <div id="pri_nav"><!-- Begin Pri_Nav-->    	
       <ul>
       	<li><a href="/index" >HOME</a></li>       	
       	<li><a href="/architecture" class="navselect">ARCHITECTURE</a></li>        	
       	<li><a href="/landscape" >LANDSCAPE</a></li>          
           <li><a href="/contact" >CONTACT</a></li>
       </ul>        
 </div><!-- End Pri Nav-->
   <div id="sec_nav"><!-- Begin Sec Nav-->    
		<ul>
       	<li><a href="/architecture" >About</a></li>        	
  	  		<li><a href="/architecture/portfolio" class="sec_navselect">Portfolio</a></li>        	
  	  		<li><a href="/architecture/prints" >Print Sales</a></li>
           <li><a href="/architecture/stock" >Stock Sales</a></li>                   	         	  		
     </ul>        
   </div><!-- End Sec Nav-->
   <div id="content"><!-- Begin Content Container -->		
  <div id="single_col">   
    	 <h1>May I Present To You My Architectural Portfolio</h1>
    <p>Welcome to my architecture portfolio. Please use interactive portfolio to browse a small sample of my work. Samples include the stunning glass buildings of Manchester and the historic locations of Liverpool. </p>
</div>
<div id="single_col_lower">
<div id="gallery">
   <img src="/images/landscape1.jpg">
   <img src="/images/landscape2.jpg">
</div>    
</div>	 
     <div class="clearfix"></div>
</div><!-- End Content Container -->		
<div id="footer"><!-- Begin Footer -->
		<p>Copyright Jpwild Photography 2011 - Under Construction!</p>
		</div><!-- End Footer -->
</div><!-- End Wrapper -->   
<script>
           Galleria.loadTheme('/galleria/galleria/themes/classic/galleria.classic.min.js');
           $("#gallery").galleria({
               width: 500,
               height: 500
           });
       </script>
</body>
</html>

Don't you need a http:// in your script links?

  • Author

I've removed those as I don't have the relevant number of posts to post links on this forum yet.

Edited by jpw1984

I just looked at the site online and it's not finding the Galleria js

assuming one page ends /architecture/portfolio ;)

ie. it says /architecture/galleria/galleria-1.2.2.min.js was not found on this server.

 

so you need a ../ at the front of your script link. At the moment it's looking from the architecture directory.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.