pessoal preciso de uma ajuda queria tirar o o thumb desse codigo e deixar ele mostrando a imagen grande sem ter o thumb alguém pode me ajudar?não quero q quando a pessoa acessar o site ver as imagens em thumb quero q va direto nas images grandes alguém sabe tirar os thumb desse codigo? agradeco a ajuda de todos !!!!
$show_email_link=false; // Shows 'email' button (might not work with all browsers): true or false
$show_poweredby_easyphpalbum=true; // Set to true or false. True is strongly recommended!
// ### Thumbnail layout/creation ###
$thumb_size=160; // Size in px for thumbnails (min. 30 pixels)
$border_width=10; // Add border around photo - width in px (0=no border)
$show_bordershadow=true; // Display shadow around border: true or false
$show_binder=true; // Display binder: true or false
$binder_spacing=8; // Space between binder-rings in px
$clip_corner=15; // Clip corner of photo - size in % of width (0=no clipping)
$clip_corner_round=true; // Clip corner of photo - rounded or straight: true or false
$show_number=false; // Display photo number in thumbnail: true or false
$create_thumbnail_cache=false; // Save thumbnails for faster display (recommended) - requires write access to (sub)directory: true or false
// ### Page layout/behaviour ###
$images_per_page=6; // Number of photos to display per page
$columns_per_page=3; // Number of photos next to each other
$popup=false; // Display photo in popup or on page: true or false
$popup_force_focus=false; // Set to true to force window on top (only for popup)
$image_border=true; // Display border around photo (only when $popup=false): true or false
$slideshow=true; // Enable slideshow (only when $popup=false): true or false
$slideshow_delay=3000; // Time between slides in milliseconds (1 second = 1000 milliseconds). Minimum 1 second.
// ### Photo information ###
$show_name=true; // Display file name: true or false (tip: use filename as short description for photo)
$show_details=false; // Display photo dimensions & filesize: true or false
$show_date=false; // Display date of photo (based on EXIF-date, if not available uses file-date): true or false
$show_date_format='d-m-Y H:i'; // Format for date - see PHP manual function date to change this
$show_exif_comment=false; // Display EXIF comment from photo (only when $popup=false): true or false
$show_download=false; // Show download link for photo in original size: true or false
$image_txtfile=false; // Display text from a textfile (only when $popup=false). Filename for text file is same as photo (myphoto.jpg >> myphoto.txt): true or false
$hit_counter=false; // Enable hit counter - views per photo (not album), requires write access: true or false
$hit_counter_random=true; // Display segments irregular: true or false
$rating=false; // Enable rating system - vistors rate the photo/multimediafile from scale 5 (excellent) to 1 (poor) - only when $popup=false, requires write access: true or false
// ### Photo manipulation for display ###
$image_resize=false; // Set to true to resize photo for display, use this to show large photos in a smaller size: true or false
$image_resizeto=0; // Size in px for resize (min. 30 pixels) or 0 for auto-resize
$image_inflate=false; // Allow photo to be enlarged: true or false
$copyright='EasyPhpAlbum'; // Add copyright notice to photo (only when $image_resize=true)
$image_greyscale=false; // Convert color jpg photo to grayscale (only when $image_resize=true) - only for GDLib2+
$image_sepia_depth=80; // Add 'aged' effect to jpg photo only when $image_greyscale=true (0=disabled) - only for GDLib2+
$image_noise_depth=10; // Add random noise to jpg photo to make it look older only when $image_greyscale=true (0=disabled) - only for GDLib2+
// ### Login - Restrict access ###
$restrict_access=false; // Ask for valid login and password: true or false
$users='fred,1234,guest,guest'; // User(s) with access to this album: name,password comma separated
// ### Login - Administrator access ###
$admin_access=false; // Enable this option to allow file upload/delete: true or false
$admins='admin,1234,admin2,abcd'; // Admin(s) with access to this album: name,password comma separated
$admin_ip=''; // Allow login from specified IP addresses only, one or multiple IP's comma separated - optional
// ### Page,Photo & Menu colors ###
$page_color='#ffffff'; // Page background color
$text_color='#000000'; // Text color
$text_hover_color='#ff0000'; // Text hover color
$title_color='#999999'; // Title color
$border_color='#ffffff'; // Photo border color
$table_color='#ffffff'; // Table background color
$item_border_color='#ffffff'; // Border color table
$line_color='#000000'; // Color for lines
$email_color='#ffff99'; // Color for email button
$menu_line_width='1px'; // Menu border line thickness (top+bottom)
$menu_bar_width='3px'; // Menu bar line thickness (left + right)
$menu_bordertop_color='#000000'; // Menu border top color
$menu_borderbottom_color='#000000'; // Menu border bottom color
$menu_borderleft_color='#000000'; // Menu border left color
$menu_borderright_color='#000000'; // Menu border right color
$menu_bordertop_hover_color='#000000'; // Menu border hover top color
$menu_borderbottom_hover_color='#000000'; // Menu border hover bottom color
$menu_borderleft_hover_color='#000000'; // Menu border hover left color
$menu_borderright_hover_color='#000000'; // Menu border hover right color
$menu_text_color='#000000'; // Menu text color
$menu_texthover_color='#000000'; // Menu text hover color
$menu_background_color='#ffffff'; // Menu background color
$menu_background_hover_color='#cccccc'; // Menu background hover color
$hit_counter_linecolor='#999999'; // Hit counter line color
$hit_counter_segmentcolor='#000000'; // Hit counter segment color
$hit_counter_textcolor='#ffffff'; // Hit counter text color
$rating_blockcolor='#cccccc'; // Rating color - no score
$rating_blockcolor_score='#ff0000'; // Rating color - score
// ### Translations ###
$language_page='Page'; // Text for page number - Change this in your own language
$language_homepage='Home'; // Text for homepage button in menu - change this in your own language
$language_albums='Albums'; // Text for amount of albums - change this in your own language
$language_photos='Photos'; // Text for amount of photos - change this in your own language
$language_view='View'; // Text for tooltip image- change this in your own language
$language_viewmm='Play multimedia file'; // Text for tooltip multimedia file - change this in your own language
$language_dir_empty='No photos in directory (or PHP <4.1.0)'; // Text for empty directory - change this in your own language
$language_login='Login'; // Text for login - change this in your own language
$language_logout='Logout'; // Text for logout - change this in your own language
$language_user='Username'; // Text for username - change this in your own language
$language_passw='Password'; // Text for password - change this in your own language
$language_slideshow='start slideshow'; // Text for starting slideshow - change this in your own language
$language_stop_slideshow='stop slideshow'; // Text for stopping slideshow - change this in your own language
$language_hitcounter_tooltip='Hit counter'; // Text for tooltip of hit counter - change this in your own language
$language_email_alt='Email this page to a friend'; // Text for tooltip of email button - change this in your own language
$language_email_subject='EasyPhpAlbum'; // Text for email subject line - change this in your own language
$language_email_comment='Please copy this link in your browser:'; // Text for email comment line - change this in your own language
$language_download='(right-click to download photo)'; // Text for download link - change this in your own language
$language_admin_delete='Are you sure you want to delete: '; // Text for administrator delete file - change this in your own language
$language_admin_filename='File name'; // Text for administrator file name - change this in your own language
$language_admin_date='Image date'; // Text for administrator image date - change this in your own language
$language_admin_dimensions='Dimensions'; // Text for administrator image dimensions - change this in your own language
$language_admin_size='Size'; // Text for administrator image size - change this in your own language
$language_admin_action='Action'; // Text for administrator action (delete file) - change this in your own language
$language_admin_upload='Upload photos and text files'; // Text for administrator upload button - change this in your own language
$language_admin_upload_wait='Please wait. Uploading files...'; // Text for administrator upload button wait... - change this in your own language
$language_admin_upload_err1='Upload failed - filesize too big'; // Text for administrator upload error filesize - change this in your own language
$language_admin_upload_err2='Upload failed - interrupted'; // Text for administrator upload error interrupted - change this in your own language
$language_admin_totalfiles='Total photos in album:'; // Text for administrator total photos in album - change this in your own language
$language_rating='rating:'; // Text for rating photo - change this in your own language
$language_rating_votes='votes'; // Text for rating photo amount of votes - change this in your own language
$language_rating_tooltip='Rating (5=excellent / 1=poor)'; // Text for rating tooltip - change this in your own language
$language_rating_choose='Choose a rating'; // Text for rating selection - change this in your own language
$language_rating_excellent='5 - Excellent'; // Text for rating selection - change this in your own language
$language_rating_verygood='4 - Very good'; // Text for rating selection - change this in your own language
$language_rating_good='3 - Good'; // Text for rating selection - change this in your own language
$language_rating_fair='2 - Fair'; // Text for rating selection - change this in your own language
$language_rating_poor='1 - Poor'; // Text for rating selection - change this in your own language
// ### Permanent image resize ###
$resizeimages=false; // Set to true to resize all photos in directory permanently for smaller filesize - EXIF information is lost - write access required
$resizeto=640; // Size in px for permanent resize (min. 30 pixels)
//set_time_limit(360); // Optional: Allow more time for resizing and creation of thumbnails (when script times-out)
// End of configuration - Code starts from this line
@imagegif($thumb,$image) or die('Permanent batch resizing failed. Please enable write access to the files in this directory (chmod 0777 directory/ -R)');
if ($size[2]==2)
@imagejpeg($thumb,$image,90) or die('Permanent batch resizing failed. Please enable write access to the files in this directory (chmod 0777 directory/ -R)');
if ($size[2]==3)
@imagepng($thumb,$image) or die('Permanent batch resizing failed. Please enable write access to the files in this directory (chmod 0777 directory/ -R)');
// Attempt to set file-date to the EXIF-file date, will mostly likely fail due to permission issues
@touch($image,$date);
@imagedestroy($im);
@imagedestroy($thumb);
}
}
}
}
}
// Detect sub directories - if present; current index.php file is home (main index) - otherwise detect directories one level higher
$dir_names=array();
$file_names=array();
$album_show=false;
$total_amount_images=0;
if ($dir=@opendir(getcwd())) {
while ($file=@readdir($dir)) {
if (($file!=.') && ($file!='..') && is_dir($file) && file_exists($file.'/index.php')) {
Pergunta
rafa24jp
pessoal preciso de uma ajuda queria tirar o o thumb desse codigo e deixar ele mostrando a imagen grande sem ter o thumb alguém pode me ajudar?não quero q quando a pessoa acessar o site ver as imagens em thumb quero q va direto nas images grandes alguém sabe tirar os thumb desse codigo? agradeco a ajuda de todos !!!!
Ps:o site com thumb http://p2pconection.no-ip.org/foto/albumteste/index.php?
Ps: quero q as fotos abram assim direto sem thumbs http://p2pconection.no-ip.org/foto/albumte...creenwidth=1024
###################### Codigo ##################]
Link para o comentário
Compartilhar em outros sites
2 respostass a esta questão
Posts Recomendados
Participe da discussão
Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.