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 01-31-2008, 10:45 PM
jonbolden is offline jonbolden
Registered User

Join Date: Jan 2008
Posts: 2

PHAlbum thumbnail question

I love this so far!

I am using it for side by side comparison on small files. is there a way to just disable thumbnails altogether and show the full file size without having to click on it?

I can't seem to figure out how to get the thumb size to be 100% of the actual width / height
Reply With Quote
  #2  
Old 01-31-2008, 11:31 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

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

Disable auto_thumb by settings it's value to 0 in the script.

Then find this bit of code in your script (starts line 596):
PHP Code:
                    If($drop_shadow) {
                        
//Cool drop shadow effect.
                        
$images .= "<td width=\"".$cell_width."\" align=\"center\"><div style=\"width:".($thumb_width+20)."px;height:".($thumb_height+20)."px;filter:shadow(color:grey,strength:15, direction:135);\"><a href=\"".$files_path.$album.$file."\" target=\"_blank\"><img src=\"".$files_path.$album.$file_name.$thumb."\" style=\"border:0px;\" width=\"".$thumb_width."\" height=\"".$thumb_height."\" alt=\"".ucwords($display_name)."\" /></a></div>".ucwords($display_name)."<br />".$remove."</td>\n";

                    } Else {
                        
//Image border
                        
$images .= "<td width=\"".$cell_width."\" align=\"center\"><a href=\"".$files_path.$album.$file."\" target=\"_blank\"><img src=\"".$files_path.$album.$file_name.$thumb."\" style=\"border:0px;\" width=\"".$thumb_width."\" height=\"".$thumb_height."\" class=\"image\" alt=\"".ucwords($display_name)."\" /></a><br />".ucwords($display_name)."<br />".$remove."</td>\n";
                        
                    } 
Replace it with this:
PHP Code:
                    If($drop_shadow) {
                        
//Cool drop shadow effect.
                        
$images .= "<td width=\"".$cell_width."\" align=\"center\"><a href=\"".$files_path.$album.$file."\" target=\"_blank\"><img src=\"".$files_path.$album.$file_name.$thumb."\" style=\"border:0px;\" alt=\"".ucwords($display_name)."\" /></a>".ucwords($display_name)."<br />".$remove."</td>\n";

                    } Else {
                        
//Image border
                        
$images .= "<td width=\"".$cell_width."\" align=\"center\"><a href=\"".$files_path.$album.$file."\" target=\"_blank\"><img src=\"".$files_path.$album.$file_name.$thumb."\" style=\"border:0px;\" class=\"image\" alt=\"".ucwords($display_name)."\" /></a><br />".ucwords($display_name)."<br />".$remove."</td>\n";
                        
                    } 
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #3  
Old 02-01-2008, 07:33 AM
jonbolden is offline jonbolden
Registered User

Join Date: Jan 2008
Posts: 2

awesome! this is a great program and obviously you know what you are doing. thanks so much
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 corny phphq.Net Forums 0 03-11-2009 10:21 AM
phAlbum billian phphq.Net Forums 5 09-24-2008 03:49 PM
PhAlbum tazz0710 phphq.Net Forums 2 12-07-2007 10:55 AM
phAlbum tazz0710 phphq.Net Forums 9 10-26-2007 12:28 AM
How to generate thumbnail code? Comcom phphq.Net Forums 2 02-23-2005 12:54 PM


All times are GMT -5. The time now is 11:06 PM.




Powered by vBulletin®