Lo script PHP che ti ho fatto lo metterai subito dopo che chiuderai il tag della form (</form>) nella pagina galleria_1.html (Dovrai passare l'estensione a .php quindi la pagina sara galleria_1.php)

Form:

codice:
    <form action="" name="pass" method="post">
     <table>
       <tbody>
         <tr>
	  <th><font face="Arial">Password:</font></th>
          <th><input id="cifra1" name="pass" size="20" type="password"></th>
	  <th>
<button type="submit"><a> Invia </a></button></th>
	 </tr>
	</tbody>
      </table>
     </form>
Codice PHP:
session_start();

$password "QUI CI METTI LA TUA PASSWORD"//la tua password
$pass $_POST['pass']; //la password che inserisce l'utente
$url "cartella/url_image.jpg"//qui l'url dell'immagine che l'utente dovra vedere dopo aver inserito la password

if($pass === $passsword) { //se la password è esatta

$_SESSION['pass'] = true;

echo 
"La password che hai inserito è corretta";

echo 
"<img src=\"$url\"> </img>";

}else { 
//se la password è errata

$_SESSION['pass'] = false;

echo 
"La password che hai inserito è incorretta";