⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.htm

📁 这是一个图片管理工具
💻 HTM
📖 第 1 页 / 共 2 页
字号:
            value and the web page will attempt to display the
            image. If the thumbnail image is in the same folder
            as the ASP files then this value can be the name only
            (i.e. &quot;<strong>everest_sm.jpg</strong>&quot;).
            If the thunbnail image is in another folder within
            your website then you need the relative path and name
            of the image (i.e. &quot;<strong>images/everest_sm.jpg</strong>&quot;
            or &quot;<strong>../images/everest_sm.jpg</strong>&quot;).
            If the thumbnail image is on another website then
            include the full URL and image name (i.e. &quot;<strong>http://www.website.com/images/everest_sm.jpg</strong>&quot;).</font></p>
        </blockquote>
        <p align="left"><a name="Global variable definitions"><font
        color="#FF0000" size="3"><strong>Global variable
        definitions</strong></font></a></p>
        <blockquote>
            <p align="left"><font size="2"><strong>DataPathName</strong><br>
            &quot;Database path and name&quot; details where the
            discussion database is located in relation to the
            gallery .asp files (where .ASP files are located).
            Examples are &quot;../_private/gallery.mdb&quot;,
            &quot;data/_private/gallery.mdb&quot;...</font></p>
            <p align="left"><font size="2"><strong>DataUserIden</strong><br>
            &quot;Database user identification name&quot; is the
            name used to open a connection to the discussion
            database. If you change this value via Access be sure
            to update the GLOBVARS.ASP file.</font></p>
            <p align="left"><font size="2"><strong>DataPassWord</strong><br>
            &quot;Database password&quot; is the password used to
            open a conncection to the gallery database. See
            Additonal Setup Options. It is &quot;aspgallery&quot;
            as the default.</font></p>
            <p align="left"><font size="2"><strong>NumbImagPage</strong><br>
            &quot;Number images per page&quot; represents the
            numberof images which are displayed on a page. This
            value can be anything greater than 1.</font></p>
            <p align="left"><font size="2"><strong>NumbImagRow_</strong><br>
            &quot;Number images per row&quot; represents the
            numberof images which are displayed on each row on
            the default.asp page. This value can be anything
            greater than 1.</font></p>
            <p align="left"><font size="2"><strong>DispImagTitl</strong><br>
            &quot;Display Image Title&quot; represents whether or
            not you want to display the title text from the
            database when displaying the image. This is only
            applicable to DISPIMAG.ASP. Set to 1 or 0.</font></p>
            <p align="left"><font size="2"><strong>DispImagDesc</strong><br>
            &quot;Display Image Description&quot; represents
            whether or not you want to display the description
            text from the database when displaying the image.
            This is only applicable to DISPIMAG.ASP. Set to 1 or
            0.</font></p>
            <p align="left"><font size="2"><strong>ImagTitlSize</strong><br>
            &quot;Image title size&quot; is the font size for
            displaying title text. The larger the number the
            larger the characters.</font></p>
            <p align="left"><font size="2"><strong>ImagTitlFace</strong><br>
            &quot;Image title face&quot; is the font face for
            displaying image title text. This should always be a
            recognized face name such as &quot;arial&quot;,
            &quot;verdana&quot;, &quot;times roman new&quot;,
            &quot;courier new&quot;, etc. Use FrontPage to see a
            complete list of font faces.</font></p>
            <p align="left"><font size="2"><strong>ImagTitlColo</strong><br>
            &quot;Image title color&quot; is the font color for
            displaying the title text. Some values are: </font><font
            color="#0000FF" size="2">Blue=&quot;#0000FF&quot;; </font><font
            color="#FF0000" size="2">Red=&quot;#FF0000&quot;; </font><font
            color="#008000" size="2">Green=&quot;#008000&quot;; </font><font
            color="#FFFF00" size="2">Yellow=&quot;#FFFF00&quot;; </font><font
            color="#000000" size="2">Black=&quot;#0000000&quot;;</font><font
            color="#00FFFF" size="2"> Teal=&quot;#00FFFF&quot;; </font><font
            color="#408080" size="2">Gray=&quot;#408080&quot;</font></p>
            <p align="left"><font size="2"><strong>ImagDescSize</strong><br>
            &quot;Image description size&quot; is the font size
            for displaying description text. The larger the
            number the larger the characters.</font></p>
            <p align="left"><font size="2"><strong>ImagDescFace</strong><br>
            &quot;Image description face&quot; is the font face
            for displaying image description text. This should
            always be a recognized face name such as
            &quot;arial&quot;, &quot;verdana&quot;, &quot;times
            roman new&quot;, &quot;courier new&quot;, etc. Use
            FrontPage to see a complete list of font faces.</font></p>
            <p align="left"><font size="2"><strong>ImagDescColo</strong><br>
            &quot;Image description color&quot; is the font color
            for displaying the description text. Some values are:
            </font><font color="#0000FF" size="2">Blue=&quot;#0000FF&quot;;
            </font><font color="#FF0000" size="2">Red=&quot;#FF0000&quot;;
            </font><font color="#008000" size="2">Green=&quot;#008000&quot;;
            </font><font color="#FFFF00" size="2">Yellow=&quot;#FFFF00&quot;;
            </font><font color="#000000" size="2">Black=&quot;#0000000&quot;;</font><font
            color="#00FFFF" size="2"> Teal=&quot;#00FFFF&quot;; </font><font
            color="#408080" size="2">Gray=&quot;#408080&quot;.</font></p>
            <p align="left"><font size="2"><strong>EnabThumNail</strong><br>
            &quot;Enable thumbnails&quot; represents whether or
            not you want to display thumbnails on the main page.
            If set to 0 then no thumbnails are displayed. Set to
            1 or 0.</font></p>
            <p align="left"><font size="2"><strong>EnabSearFeat</strong><br>
            &quot;Enable search feature&quot; represents whether
            or not you want to include the search feature in your
            image gallery. The search form will not be displayed
            if this is set to 0. Set to 1 or 0.</font></p>
            <p align="left"><font size="2"><strong>ThumPercSize</strong><br>
            &quot;Thumbnail percentage size&quot; is used if
            EnabThumNail=1 and an image record does not list a
            thumbnail file. In this case ASP-Gallery will
            automatically reduce the image size to this
            percentage. Set to 1 or 0. Remember, not having
            thumbnails files could drastically slow down the
            server response time when viewing the image pages.</font></p>
            <p align="left"><font size="2"><strong>ImagBordThic</strong><br>
            &quot;Image border thickness&quot; represents the
            border thickness for each image. If you do not want a
            border set this value to 0.</font></p>
            <p align="left"><font size="2"><strong>NumbSpacBetw</strong><br>
            &quot;Number spaces between image&quot; represents
            how many character spaces you want between each image
            in the main page. The default is 3. This value should
            be a value greater than 0.</font></p>
        </blockquote>
        <p align="left"><a name="Naming Conventions"><font
        color="#FF0000" size="3"><strong>Naming Conventions</strong></font></a></p>
        <blockquote>
            <p align="left"><font size="2"><strong>1.</strong>
            General. I believe the first four characters of most
            words are usually descriptive enough to remind the
            reader what a word is when used in variable names.
            Therefore, I use this &quot;four-character&quot; rule
            for file, function, and variable names for three
            reasons. One, it creates a consistent naming
            convention. Two, it usually gives enough information
            to suggest to the reader what the name means. Three,
            it helps reduce the size of .ASP files.</font></p>
            <p align="left"><font size="2"><strong>2.</strong>
            File Names. ASP files are named using four-character
            rule of the most two descriptive words I can come up
            with for that file. i.e.<br>
            insemess.asp is &quot;Insert Message&quot;<br>
            dispthre.asp is &quot;Display Thread&quot;<br>
            commfunc.asp is &quot;Common Functions.</font></p>
            <p align="left"><font size="2"><strong>3.</strong>
            Function Names. Again I use the four-character rule
            of the 2-3 most descriptive words for the function
            with a '_' between each word. i.e.<br>
            open_data() is &quot;Open Database&quot;<br>
            upda_info() is &quot;Update Info Table&quot;<br>
            save_emai_addr() is &quot;Save Email Address&quot;.</font></p>
            <p align="left"><font size="2"><strong>4.</strong>
            Global or Public Variable Names. Global variables use
            the four-character rule with the first character of
            each four letters in upper case. i.e.<br>
            SearStri is &quot;Search string&quot;<br>
            PageNumb is &quot;Page Number&quot;<br>
            AutoNumb is &quot;Auto Number&quot;<br>
            Conn is &quot;Connection&quot;</font></p>
            <p align="left"><font size="2"><strong>5.</strong>
            Local or Function Variable Names. Local variables can
            and should be treated differently because they are
            used in a relatively small section of code.
            Therefore, if they are appropriately defined (or the
            definition is obvious), then it is not important to
            have a long descriptive name. As such, all local and
            function variables are restricted to one or two
            characters and are always lower case. The letter may
            signify the beginning of a descriptive word but do
            not always. Another benefit of this approach is that
            there should never be a conflict with global and
            local variables..</font></p>
        </blockquote>
        <p align="left"><a name="Create a child web"><font
        color="#FF0000" size="3"><strong>Create a child web</strong></font></a></p>
        <blockquote>
            <p align="left"><font size="2"><strong>1.</strong>
            Open your root web in FrontPage Explorer.<br>
            <strong>2.</strong> Create a new folder using the
            name you want for you child web.<br>
            <strong>3.</strong> Click on &quot;File, New
            FrontPage Web&quot;.<br>
            <strong>4.</strong> Select from Wizard or Template:
            &quot;Empty Web.&quot; <br>
            <strong>5.</strong> Give it a title with the same
            name and case of the sub folder you created from 2
            above. i.e. &quot;disc&quot;, &quot;images&quot;...<br>
            <strong>6.</strong> Make sure server path is correct.
            i.e. &quot;www.domain.com.&quot; This does not
            include the folder name.<br>
            <strong>7.</strong> Make sure &quot;Add to Existing
            Web&quot; is unchecked. <br>
            <strong>8.</strong> Click OK. </font></p>
        </blockquote>
        </td>
    </tr>
</table>
</center></div>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -