DriveHQ Start Menu
Cloud Drive Mapping
Folder Sync
Cloud Backup
True Drop Box
FTP/SFTP Hosting
Group Account
DriveHQ Start Menu
Online File Server
My Storage
|
Manage Shares
|
Publishes
|
Drop Boxes
|
Group Account
WebDAV Drive Mapping
Cloud Drive Home
|
WebDAV Guide
|
Drive Mapping Tool
|
Drive Mapping URL
Complete Data Backup
Backup Guide
|
Online Backup Tool
|
Cloud-to-Cloud Backup
FTP, Email & Web Service
FTP Home
|
FTP Hosting FAQ
|
Email Hosting
|
EmailManager
|
Web Hosting
Help & Resources
About
|
Enterprise Service
|
Partnership
|
Comparisons
|
Support
Quick Links
Security and Privacy
Download Software
Service Manual
Use Cases
Group Account
Online Help
Blog
Contact
Cloud Surveillance
Sign Up
Login
Features
Business Features
Online File Server
FTP Hosting
Cloud Drive Mapping
Cloud File Backup
Email Backup & Hosting
Cloud File Sharing
Folder Synchronization
Group Management
True Drop Box
Full-text Search
AD Integration/SSO
Mobile Access
IP Camera & DVR Solution
More...
Personal Features
Personal Cloud Drive
Backup All Devices
Mobile APPs
Personal Web Hosting
Sub-Account (for Kids)
Home/PC/Kids Monitoring
More...
Software
DriveHQ Drive Mapping Tool
DriveHQ FileManager
DriveHQ Online Backup
DriveHQ Mobile Apps
Pricing
Business Plans & Pricing
Personal Plans & Pricing
Price Comparison with Others
Feature Comparison with Others
Install Mobile App
Sign up
Creating account...
Invalid character in username! Only 0-9, a-z, A-Z, _, -, . allowed.
Username is required!
Invalid email address!
E-mail is required!
Password is required!
Password is invalid!
Password and confirmation do not match.
Confirm password is required!
I accept
Membership Agreement
Please read the Membership Agreement and check "I accept"!
Free Quick Sign-up
Sign-up Page
Log in
Signing in...
Username or e-mail address is required!
Password is required!
Keep me logged in
Quick Login
Forgot Password
Up
Upload
Download
Share
Publish
New Folder
New File
Copy
Cut
Delete
Paste
Rate
Upgrade
Rotate
Effect
Edit
Slide
History
############################################################################### # BizDesign ImageFolio Lite Edition 4.2 (Four-dot-Two) ############################################################################### # # ## ### VERSION : 4.2 # #### ## ## RELEASED ON : 02/15/2007 # ## ## ## LAST MODIFIED : 02/15/2007 # ########## ## # ## ### ## # ## ### ######## # ############################################################################### # Released by BizDesign, Inc. # written by Dirk Koppers and Greg Raaum of BizDesign # # Purchasing : http://imagefolio.com/purchase/ # Support : http://imagefolio.com/support/ # Phone : (214) 642-9787 # Email : sales@bizdesign.com ############################################################################### # COPYRIGHT AND LICENSE INFORMATION : # # Copyright (c) 1999-2007 BizDesign, Inc. All rights reserved. # # Selling or distributing the code for this program without prior written # consent is expressly forbidden. # # One licensed copy of the program may reside on a single server, in use by a # single domain. For each installed instance of the program, a separate # license is required. # # Licensed users may alter or modify this software, at their own risk, of # course. They may also hire others to modify their own copy of the code, as # long as the code is not transferred to or retained by the individual who is # hired (unless he/she is also a license holder). Although license-holders # may modify the code for their use, modified code may NOT be resold or # distributed. # # THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, # INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND # FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BIZDESIGN, # INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR # BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER # IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # # BizDesign, Inc. is not liable for any conduct associated with image gallery # activity, nor for any binary media posted using this program, including but # not imited to images, photographs, movies, and clipart. # # The user must assume the entire risk of using the program. Although this # program has been thoroughly tested on BizDesign's servers, BizDesign does not # warrant that it works on all servers and will not be held liable for anything, # including but not limited to, misusage, error, or loss of data. ANY # LIABILITY OF THE SELLER WILL BE LIMITED EXCLUSIVELY TO PRODUCT REPLACEMENT # OR REFUND OF PURCHASE PRICE. Use at your own risk! ############################################################################### # Do not modify below this line unless you know what you are doing. ############################################################################### ############################################################################### # GEN IMAGE TABLE # Makes the all important table containing images and image data ############################################################################### foreach my $field (@iptc_thumbnails_fields) { $IPTC_THUMB_INFO{$field}=1; } foreach my $field (@iptc_thumbnails_popup_fields) { $IPTC_THUMB_POPUP{$field}=1; } push(@iptc_thumbnails_fields, @iptc_thumbnails_popup_fields); if (@iptc_thumbnails_fields or $save_upload_date or $using_picturepost_mod or (lc($myextension_fullsize) eq 'zip')) { require "$libpath/iptc.pl"; } sub get_template { open (TEMPLATE,"$thumb_template") or &Error("Could not open template. Reason $!"); while (
) { if (//i) { $template .= &ssi_include($2); } elsif (//i) { $template .= &ssi_exec_include($2); } else { $template .= $_; } } close(TEMPLATE); require "$libpath/headerfooter.pl"; $template =~ s/%%%TEXTNAV%%%/$textnav/ig; if ($use_textlinks) { $template =~ s/%%%NAV%%%/<$font>$textnav<\/font>/ig; } else { $template =~ s/%%%NAV%%%/$nav/ig; } $template =~ s/%%%QUERY%%%/$newthisdirectory/ig; $newthisdirectory =~ s/<[\/]?[^>]*>//mig; $template =~ s/%%%PAGEQUERY%%%/$newthisdirectory/ig; $template =~ s/%%%PAGELINKS%%%/$pagelinks/g; $template =~ s/%%%SUBCATEGORIES%%%/$subcatlinks/ig; $template =~ s/%%%PREVIOUS_PAGE%%%/$prevpage/ig; $template =~ s/%%%SITE_TITLE%%%/$site_title/ig; $template =~ s/%%%IFIMAGES%%%/$if_images_directory/ig; $template =~ s/%%%JS_ROLLOVERS%%%/$jsrollovers/ig; $template =~ s/%%%TEXTPULLDOWN_MENU%%%/$textpulldown_menu/ig; $template =~ s/%%%MAIN_TABLE_BORDER_COLOR%%%/$main_table_border_color/ig; $template =~ s/%%%MAIN_HEADER_BGCOLOR%%%/$main_header_bgcolor/ig; $template =~ s/%%%MAIN_NAV_BGCOLOR%%%/$main_nav_bgcolor/ig; $template =~ s/%%%MAIN_HEADER_FONT%%%/$main_header_font/ig; if ($totalnames >= 1) { $template =~ s/%%%THUMBNAILS%%%/$thumbimages/ig; } if ($totalnames > $numtolist) { $template =~ s/%%%PAGES_LINKED%%%/$nextlinks/ig; $template =~ s/%%%NEXT_PAGE%%%/$nextpage/ig; } $template =~ s/%%%SEARCH_INFO%%%/$pageinfo/ig; $template =~ s/%%%PULLDOWN_MENU%%%/$pulldown_menu/ig; $template =~ s/%%%SEARCH_BOX%%%/$search_box/ig; $template =~ s/%%%PREVIOUS_CATEGORY%%%/$previous_category/ig; $template =~ s/%%%NEXT_CATEGORY%%%/$next_category/ig; $template =~ s/%%%PRINTBUTTON_ADD_SELECTED%%%/|; $template =~ s/%%%IF_JAVASCRIPT%%%/$if_javascript/ig; if ($previous_category or $prevpage or $nextlinks or $nextpage or $next_category) { $template =~ s/%%%BOTTOM_NAV_BEGIN%%%/-->/ig; $template =~ s/%%%BOTTOM_NAV_END%%%/<\!--/ig; } } sub get_thumbcaps { @thumbcaps = (); $newlink = $path; $newlink =~ s/\//\./g; $newcaplink = "$data_directory/$newlink.tcaptions.txt"; if (-e $newcaplink && $if2_thumbcaption) { open (CAPTIONS,"< $newcaplink"); while (
) { chomp; push(@thumbcaps, $_); } close(CAPTIONS); } } sub get_counts_rating { $hits = "0"; $rated = "0.00"; $downloads = "0"; $votes = "0"; $real_shortname = $shortname; $real_shortname =~ s/$mypattern//g; $votefile = "$image_directory/$path/$real_shortname.vote"; @vote = (); if (-e $votefile && $display_rates) { open (FILE,"$votefile") or &Error("Could not open $votefile. $!"); while (
) { ($votes, $rated) = split(/\t/, $_); last; } close(FILE); } $countfile = "$image_directory/$path/$real_shortname.count"; @hits = (); if (-e $countfile && ($display_hits or $found_downloads)) { open (FILE,"$countfile") or &Error("Could not open $countfile. $!"); while (
) { ($hits,$blah,$downloads) = split(/\t/, $_); last; } close(FILE); } } ############################################################################### # BUILD THUMBNAIL TABLE # build $numtolist thumbnails on a page by reading the array names ############################################################################### sub build_thumbnail_table { # $display_fileinfo = 1; if ($display_fileinfo) { if ($thumb_info_right) { $columns++ if int($columns/2)*2 != $columns; $thumb_info_below = (); $vthumbalign = "center"; $vthumbinfoalign = "center"; $cnt_factor = 2; } else { $thumb_info_below = 1; $vthumbalign = "bottom"; $vthumbinfoalign = "top"; $thmbrowspan = qq| rowspan="2"|; $cnt_factor = 1; } } else { $thumb_info_right = (); $thumb_info_below = (); $vthumbalign = "bottom"; } $imgtable_width_all = int (100 / $columns); if ($imgtable_width_all*$columns != 100) { $imgtable_width_last = 100-($imgtable_width_all*$columns); $imgtable_width_last += $imgtable_width_all; } else { $imgtable_width_last = $imgtable_width_all; } $imgtable_width_all .= "%"; $imgtable_width_last .= "%"; $colspanrow =($columns + $columns) + 1; $count=0; $alt_text_temp = $alt_text; $adjCB = 1; $adjCE = 1; $adjTB = 1; $adjTE = 1; $thumbimages .= qq|
|; $thumbimages .= qq|
|; if ($FORM{'direct'} or $FORM{'search'}) { $skip_next_save_upload_date = 1; $save_upload_date = 0; } if ($FORM{'lightbox'}) { $from_lb = "&lbview=$FORM{'lightbox'}"; } my ($i); my $img = $FORM{'img'}; my($most) = $img + $numtolist; $SIZE=@names; $RESULTS=@names; if ($most > $SIZE) { $most = $SIZE; } for ($cnt=$img; $cnt < $most; $cnt++) { $filesize_done = (); $fullsize_link = (); $image_checked = 1; if ($FORM{'direct'}) { ($nulldate, $name) = split(/\t/, $names[$cnt]); } elsif ($FORM{'search'}) { ($name, $path, $nulldate) = split(/\|/, $names[$cnt]); $linkimage_exp = 0; if (!-e "$image_directory/$path/$name"){ $linkimage_exp = 1; } } elsif ($FORM{'lightbox'}) { ($path, $linkimage, $mykey) = split(/\|/, $names[$cnt]); $name = $linkimage . '.' . $mykey; $lckey = lc($mykey); $extfound = 0; $linkimage_exp = 0; if (-e "$image_directory/$path/$name"){ if ($linkimage !~ /$mypattern/i){ $extfound = 1; if (-e "$image_directory/$path/$mypattern$linkimage.jpg"){$name = qq|$mypattern$linkimage.jpg|;} elsif (-e "$image_directory/$path/$mypattern$linkimage.JPG"){$name = qq|$mypattern$linkimage.JPG|;} elsif (-e "$image_directory/$path/$mypattern$linkimage.gif"){$name = qq|$mypattern$linkimage.gif|;} elsif (-e "$image_directory/$path/$mypattern$linkimage.GIF"){$name = qq|$mypattern$linkimage.GIF|;} } } else { $linkimage_exp = 1; } } if ($FORM{'direct'} or $FORM{'search'} or $imageThumb_cgi) { ($linkimage) = $name =~ m,^(.*)\.\w+$,; $linkimage =~ s/$mypattern//g; foreach $key (keys %extensions) { $lckey = lc($key); $uckey = uc($key); $extfound = 0; $mykey = ""; if ( -e "$image_directory/$path/$linkimage.$lckey" ) { $mykey = $lckey; $extfound = 1; last; } elsif ( -e "$image_directory/$path/$linkimage.$uckey" ) { $mykey = $uckey; $extfound = 1; last; } } } if ($extfound) { $if_filetype = $extensions{$lckey}[0]; $if_link = $extensions{$lckey}[1]; $if_tagfile = $extensions{$lckey}[2]; $if_target = $extensions{$lckey}[3]; $default_icon = $extensions{$lckey}[4]; $linkimage .= ".$mykey"; $clink = qq||; $newname = $linkimage; $admin_image1 = $linkimage; $file_type = $if_filetype; $default_icon2 = uc($default_icon); if ($imageThumb_cgi) { $if_target = "_parent"; } if ($name =~ /$mypattern/i) { $imagesrc = "$imageurl/$path/$name"; $admin_image2 = $name; } else { if (-e "$skin_dir/images/icons/$default_icon") { $imagesrc = "$icons_dir/$default_icon"; } else { $imagesrc = "$icons_dir/$default_icon2"; } $admin_image2 = ""; } if (($display_filesize or $display_date or $display_downloads) or ($showtotallightboxsize && $FORM{'lightbox'}) or ($use_fullsize && $download_link_under_thumbnail)) { &find_size_date($path, $admin_image1, $admin_image2); if ($skip_next_save_upload_date) { $filedate = $nulldate; } $filedate = unix_to_date($filedate); #convert unix time to a legible day } if ($no_preview_link) { $slink = qq|
|; } elsif ($if_link == 1) { if ($FORM{'search'}) { $slink = qq|
|; } else { $slink = qq|
|; } } else { $slink = qq|
|; } } elsif ($linkimage_exp){ $newname = $name; $file_type = $extensions{$lckey}[0]; $filesize = 'NaN'; $filedate = 'NaN'; $slink = (); $clink = (); $if_filetype = "File Not Found"; $imagesrc = "$icons_dir/404.jpg"; $image_checked = 0; $admin_image1 = (); $admin_image2 = (); } elsif (!$extfound && $name =~ /$mypattern/i) { $file_type = "No Match Found"; if (($display_filesize or $display_date or $display_downloads) or ($use_fullsize && $download_link_under_thumbnail)) { &find_size_date($path, $name); if ($skip_next_save_upload_date) { $filedate = $nulldate; } $filedate = &unix_to_date($filedate); #convert unix time to a legible day } $slink = (); $clink = (); $newname = $name; $imagesrc = "$imageurl/$path/$name"; $admin_image1 = (); $admin_image2 = $name; } if (! $linkimage_exp) { if (!$filesize_done) { $totalfilesize += $filesize; if ($filesize < 1500) { $filesize = &commify($filesize) . " bytes"; } else { $filesize = int($filesize/1024); if ($filesize < 1500) { $filesize = &commify($filesize) . " Kb"; } else { $filesize = int($filesize/10.24); $filesize = ($filesize/100) . " Mb"; } } } } ($shortname) = $newname =~ m,^(.*)\.\w+$,; if ($if2_thumbcaption) { if ($FORM{'search'} or $FORM{'lightbox'} or $imageThumb_cgi) { &get_thumbcaps unless $quickdisplay; } } if ($display_hits or $display_rates or $found_downloads) { &get_counts_rating unless $quickdisplay; } if ($count==0){ $thumb_image = qq|
|; $thumb_info_below = qq|
| if $thumb_info_below; } &show_thumbnail; $count++; if ($count==$columns) { if ($display_fileinfo) { $js_cell_adjust .= qq|adjTdo($adjCB, $adjCE, $adjTB, $adjTE);|; } $adjCB = $adjCE; $adjTB = $adjTE; $thumb_image .= qq|
|; $thumb_info_below .= qq|| if $thumb_info_below; $thumbimages .= $thumb_image . $thumb_info_below; $thumbimages .= qq|
|; $count=0; } $i++; } #end of foreach if ($count>0) { if ($display_fileinfo) { $js_cell_adjust .= qq|adjTdo($adjCB, $adjCE, $adjTB, $adjTE);|; } while ($count < $columns) { if (($count + $cnt_factor) == $columns) { $imgtable_width = $imgtable_width_last; } else { $imgtable_width = $imgtable_width_all; } $count++; $thumb_image .= qq|
|; if ($thumb_info_right) { $count++; $thumb_image .= qq|
|; } $thumb_image .= qq|
|; $thumb_info_below .= qq|
| if $thumb_info_below; } $thumb_image .= qq||; $thumb_info_below .= qq|| if $thumb_info_below; $thumbimages .= $thumb_image . $thumb_info_below; $thumbimages .= qq|
|; } $thumbimages .= qq|
|; @names = (); $thumbimages .= qq|| if $display_fileinfo; # die "display_fileinfo: $display_fileinfo"; } ############################################################################### # SHOW THUMBNAIL # this is where we show what each thumbnail will look like # called from gen_image_table ############################################################################### sub show_thumbnail { if ($imageThumb_cgi) { $thumb_info_below = 1; $thumb_info_right = (); } if (($count + $cnt_factor) == $columns) { $imgtable_width = $imgtable_width_last; } else { $imgtable_width = $imgtable_width_all; } $imagesrc =~ s/([^a-zA-Z0-9$ignore_chars])/'%' . sprintf("%2x", ord($1))/ge; if ($imageThumb_cgi) { $thumb_image = (); $thumb_info_below = (); $thumbinfo_target = qq| target="_parent"|; } $thumbcaption = (); $fade_out = (); $alt_text = $alt_text_temp; if (-e $newcaplink && $if2_thumbcaption && !$quickdisplay) { foreach $thumbcap(@thumbcaps) { my($image_filename, $tcaption) = split(/\t/, $thumbcap); next if !$tcaption; ($new_image_filename) = $image_filename =~ m,^(.*)\.\w+$,; if ($new_image_filename eq $shortname) { $thumbcaption = $tcaption . "
"; last; } } } if (@iptc_thumbnails_fields or $using_picturepost_mod or (lc($myextension_fullsize) eq 'zip')) { if ($admin_image2) { $iptc_thumnail_path = $admin_image2; } else { $iptc_thumnail_path = $name; } $iptc_thumnail_path = qq|$image_directory/$path/$iptc_thumnail_path|; &iptc_thumbnail; if ($custom18_file_type) { $file_type = $extensions{lc($custom18_file_type)}[0]; } if ($custom18_approval) { # $display_fileinfo = 1; $alt_text_temp = $alt_text; if ($is_admin) { $fade_out = qq| style="opacity: .35; filter:alpha(opacity=35); -moz-opacity: .35;"|; } else { $slink = (); $clink = (); $fullsize_link = (); $imagesrc = "$icons_dir/AP.jpg"; $alt_text = "Approval Pending"; } } } if ($iptc_list2) { $iptc_list2 = qq|
<$font>$iptc_list2
|; $iptc_list2 = HTML::Entities::encode($iptc_list2); $iptc_list2 =~ s/\'/\\\'/ig; my $OVERLIB_TEXT = qq| onmouseover="return overlib('$iptc_list2',FULLHTML);" onmouseout="return nd();"|; $slink =~ s/%%%OVERLIB_TEXT%%%/$OVERLIB_TEXT/ig; } else { $slink =~ s/%%%OVERLIB_TEXT%%%//ig; } if ($thumb_info_right){ $cell_id = qq| id="adjC$adjCE"|; $adjCE++; } $thumb_image .= qq|
|; $thumb_image .= qq|$slink
$clink
|; if ($is_admin && $image_checked) { $thumb_image .= &create_image_tools; } elsif ($is_user && $custom18_user) { $thumb_image .= qq||; } if ($using_lightbox_mod){ $pixel_height = 4; my ($base) = $newname =~ m,^(.*)\.\w+$,; my ($ext) = ($newname =~ /\.([^.]+)$/); my $inout = 1 if defined $LIGHTBOX{"$path|$base|$ext"}; $thumb_image .= qq||; } else { $pixel_height = 1; } $thumb_image .= $fullsize_link; $thumb_image .= qq|| if $use_printbutton; $thumb_image .= "
"; # $thumb_info_below .= qq|
|; # if (!$display_fileinfo) { # $thumb_info_below .= qq|
|; # } if ($display_fileinfo) { # $js_cell_adjust .= qq|var adjC$row_cnt = document.getElementById('adjC$cell_cnt');|; # $js_cell_adjust .= qq|var row_$row_cnt = document.getElementById('cell_$row_cnt');alert(row_$row_cnt+" : "+row_$row_cnt.offsetHeight+" : "+row_$row_cnt.offsetWidth);|; # $js_cell_adjust .= qq|document.getElementById('C${row_cnt}T${table_id}').style.height=row_$row_cnt.offsetHeight+"px";|; # $js_cell_adjust .= qq|var table = document.getElementById('C${row_cnt}T${table_id}');table.setAttribute("height",300);|; $thumb_info = qq|
|; $ratelink = qq|a href="javascript:" onClick="window.open('$imagefolio_url?main=imageRate&direct=|; $ratelink .= qq|$path&file=$newname','Rate','height=200,width=200');return false"|; $thumb_info .= qq|
<$font>|; if ($custom18_approval) { $thumb_info .= qq|
Approval Pending
|; if (!$imageThumb_cgi) { $thumb_info .= qq|This file first needs to be approved before it can be accessed. We are reviewing it at the moment.
| unless $quickdisplay; } } if (!$custom18_approval or $is_admin) { if ($display_filename) { if (!$quickdisplay) {$thumb_info .= qq|
$shortname
|;} else { $thumb_info .= qq|
$shortname
|;} } if ($iptc_list) { $thumb_info .= qq|$iptc_list|; } if ($if2_thumbcaption) { $thumb_info .= qq|$thumbcaption|; } if ($display_filetype) { $thumb_info .= qq|$file_type
|; } if ($display_hits) { $thumb_info .= qq|Hits: $hits
|; } if ($found_downloads) { $thumb_info .= qq|Downloads: $downloads
|; } if ($display_rates) { $thumb_info .= qq|<$ratelink>Rating: $rated
|; if ($FORM{'search'} eq 'RATES') { $thumb_info .= qq|($votes votes)
|; } } if ($display_filesize) { $thumb_info .= qq|Size: $filesize
|; } if ($display_date) { $thumb_info .= qq|Added: $filedate
|; } } $thumb_info .= qq|
|; $thumb_info_below .= $thumb_info if $thumb_info_below; if ($thumb_info_right) { $thumb_image .= $thumb_info; $count++; } $adjCE++; $adjTE++; } # $thumb_info_below .= "
"; if (!$imageThumb_cgi) { $thumb_image .= qq|
|; } else { $imagethumb = $thumb_image . "
" . $thumb_info; } $thumb_info = (); } 1;
thumbnails.pl
Page URL
File URL
Prev
22/23
Next
Download
( 26 KB )
Note: The DriveHQ service banners will NOT be displayed if the file owner is a paid member.
Comments
Total ratings:
0
Average rating:
Not Rated