Go Back   Novahq.net Forum > phphq.Net > phphq.Net Forums
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-26-2009, 06:57 PM
muntaindw is offline muntaindw
Registered User

Join Date: Jul 2009
Posts: 3

phAlbum link to page w/ image instead of direct.

I'm trying to incorporate your phAlbum script into my site, and I think it would be better if instead of linking directly to the image, it linked to a page that still showed the navigation links and displays the full sized image with 100% width.

underneath that it would be nice to have a previous and next link, and THEN we could post a direct link to the image, but that's not my main goal.


to summarize, right now the script functions by navigating like this:
1. folder
2. thumbnails
3. direct link

I would like to change that to:
1. folder
2. thumbnails
3. browser-resized fullsize image w/ current folder nav (prev. and next links only if possible)
4. direct link.

is this something that can be done with a quick fix, or will I need to work with it the way it is?
Reply With Quote
  #2  
Old 07-27-2009, 08:08 AM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,922

It's not really an easy fix. The album was created for quick and dirty image displaying.
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #3  
Old 07-28-2009, 12:19 AM
muntaindw is offline muntaindw
Registered User

Join Date: Jul 2009
Posts: 3

thanks for the reply.

speaking of incorporating into a site design, I found a rather simple way to have the admin functionality without having the login information showing on every page.

1. in phAlbum.php, leave $display_admin variable as 1, then
2. comment out the html code for the login form like so:
HTML Code:
<!-- <form method="post" action="<?=$script_url;?>?<?=$_SERVER['QUERY_STRING'];?>">
	<table style="border:0px;width:250;" align="center">
		<tr>
			<td>Username:</td>
			<td> <input type="text" name="username" size="20" /></td>
		</tr>
		<tr>
			<td>Password:</td>
			<td> <input type="password" name="password" size="20" /></td>
		</tr>
		<tr>
			<td align="center" colspan="2">
			<input type="hidden" name="login" value="true" />
			<input type="submit" value=" Log me in " />
			</td>
		</tr>
	</table>
</form> -->
3. create your own login form on a separate page:
HTML Code:
<form method="post" action="http://www.muntaindw.com/mm/screenshots.php?">
<table width="250" align="center">
  <tr>
    <td colspan="2"><div id="header2" align="center"><p>Screenshot Login</p></div></td>
  </tr>
  <tr>
    <td><div align="right"><p>Username:</td>
    <td><input type="text" name="username" size="15"></td>
  </tr>
  <tr>
    <td><div align="right"><p>Password:</td>
    <td><input type="password" name="password" size="15"></td>
  </tr>
  <tr>
    <td colspan="2"><div align="center"><center><p><input type="hidden" name="login" value="true" /><input type="submit" name="submit"value="Log In"></td>
  </tr>
</table>
</form>
Reply With Quote
  #4  
Old 07-28-2009, 08:05 AM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,922

Thanks for sharing
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
phAlbum Image link help Happyman phphq.Net Forums 5 09-09-2009 08:50 AM
can phAlbum have 'page breaks" damian phphq.Net Forums 2 04-06-2008 09:40 AM
Add a Link to the Thank You page Andrew phphq.Net Forums 2 08-20-2005 08:59 PM
<Previous page 1 2 3 4 5 6 next page> script big n00b at php phphq.Net Forums 4 03-11-2005 12:35 PM
some body goof on the link to main page Hellfighter Feedback / Novahq.net Support 6 05-09-2004 04:27 PM


All times are GMT -5. The time now is 04:52 AM.




Powered by vBulletin®