Integrating Autogallery SQL into my TGP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ForceWielder
    Registered User
    • Sep 2005
    • 75

    #1

    Integrating Autogallery SQL into my TGP

    I am having trouble integrating Autogallery SQL into my TGP page and if there are a few pointers anyone has, I would be grateful if you were able to share them with me. I have been told that the thumbnail section needs to be resliced.

    Right now the TGP page can be seen at www.americanpornidol.net/tgp.html

    The current design is all set but I do not know how to place the thumb galleries in the specific sections I have, only the text galleries so far.

    Is it a matter of working on the HTML code in the background so that the links show up in the right place?

    Anyways, any help would be much appreciated and I can be reached at 226-764-487 on ICQ or HawkmasterEnt on AIM.
  • DaveMac
    Confirmed User
    • Jul 2001
    • 361

    #2
    Just insert this where you want the thumbs to appear:

    <%GALLERIES
    HASTHUMB 1
    TYPE Submitted
    CATEGORY Mixed
    AMOUNT 16
    GETNEW True
    ORDER Approve_Stamp
    REORDER Build_Counter
    HTML Thumb

    INSERT
    {
    LOCATION +4
    HTML </tr><tr>
    }
    %>

    And have this in your template:

    <%TEMPLATE
    NAME Thumb
    HTML <td><a href="##Gallery_URL##" target="_blank"><img src="##Thumbnail_URL##" border="0" alt="Thumb"></a></td>
    %>

    Comment

    • ForceWielder
      Registered User
      • Sep 2005
      • 75

      #3
      Do I place the <%GALLERIES code into each section where my thumbs are (each little box where a thumb will show), or in the general area (larger box containing the smaller thumb boxes)?

      Also, do I place the <%TEMPLATE code in the autogallery sql somewhere, or within the code of the webpage?

      I'm also curious on what each line represents in the code you sent me.

      Comment

      • DaveMac
        Confirmed User
        • Jul 2001
        • 361

        #4
        Are you using the newer version of AutoGallery SQL

        In edit your template, this should be on top in your template:

        <%TEMPLATE
        NAME Thumb
        HTML <td><a href="##Gallery_URL##" target="_blank"><img src="##Thumbnail_URL##" border="0" alt="Thumb"></a></td>
        %>

        And this should be in your tables where you want to show your thumbs:

        <%GALLERIES
        HASTHUMB 1
        TYPE Submitted
        CATEGORY Mixed
        AMOUNT 16
        GETNEW True
        ORDER Approve_Stamp
        REORDER Build_Counter
        HTML Thumb

        INSERT
        {
        LOCATION +4
        HTML </tr><tr>
        }
        %>

        The above code should give you 4 thumbs in each row for a total of 16 thumbs and this code only works in the newer versions.

        Comment

        Working...