Results 1 to 8 of 8

Thread: website thumbnails with girafa

  1. #1
    Join Date
    Feb 2004
    Location
    Slovakia
    Posts
    72

    Default website thumbnails with girafa

    Do you now Free Thumbnail Pictures, Web Thumbnail Preview Images & Thumbshots for Search Engines & Directories Look at their thumbnail generating service:
    Thumbnail Pictures, Free Thumbnail Images & Thumbnail Pics - Girafa.com

    And then look at these instructions:
    Web Development Blog - Dynamic thumbnails from websites

    It looks great - and thanks to cache feature, for me will be free 2000 thumbnails a day pretty enough.

    But when I read those instructions on web development blog, I dont know in which file I should paste that function thumbnail($url), how to activate cache and how to include all this into rows.html template.

    Can anybody help me with integration into Indexu?
    Vsevedko
    Vsevedko - Slovak Directory - Indexu Deluxe 1.4.2, Catalog of slovak blogs - Indexu 5.4.0

  2. #2
    Join Date
    Jun 2007
    Posts
    15

  3. #3
    Join Date
    Feb 2004
    Location
    Slovakia
    Posts
    72

    Smile

    Quote Originally Posted by WengChun View Post
    this look good, i've just signed up
    If you find the way how to integrate it into indexu, please share it with us. :-)
    Vsevedko
    Vsevedko - Slovak Directory - Indexu Deluxe 1.4.2, Catalog of slovak blogs - Indexu 5.4.0

  4. #4
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    its a function, it needs to be called once, put it in an indexU file that gets included once, for example, application.php.

    you then need to send the variable to the function, so wherever yoiu want hte image to appear put this.
    <%php%>
    thumbnail(<%/php%><%$url%><%php%>)
    <%/php%>

    that should work, failing that, you would need to modify it a little to work with smarty.

    matt
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  5. #5
    Join Date
    Feb 2004
    Location
    Slovakia
    Posts
    72

    Default

    Quote Originally Posted by inspireme View Post
    <%php%>
    thumbnail(<%/php%><%$url%><%php%>)
    <%/php%>

    I tried that code, but with no success.
    I get this error:
    Parse error: syntax error, unexpected T_ECHO, expecting ')' in /data/www/virtuals/vsevedko/html540/templates_c/%%5F^5F5^5F547AFF%%sponsored_rows.html.php on line 39

    I´ve also tried to play with it, but nothing...
    Vsevedko
    Vsevedko - Slovak Directory - Indexu Deluxe 1.4.2, Catalog of slovak blogs - Indexu 5.4.0

  6. #6
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    not sure how it would work because our mixing php and smarty... but it maybe jsut that i missed off the semicolon

    ;

    try

    <%php%>
    thumbnail(<%/php%><%$url%><%php%>);
    <%/php%>
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  7. #7
    Join Date
    Feb 2004
    Location
    Slovakia
    Posts
    72

    Default

    Quote Originally Posted by inspireme View Post
    not sure how it would work because our mixing php and smarty... but it maybe jsut that i missed off the semicolon

    ;

    try

    <%php%>
    thumbnail(<%/php%><%$url%><%php%>);
    <%/php%>
    Tried it, but the same effect:
    Parse error: syntax error, unexpected T_ECHO, expecting ')' in /data/www/virtuals/vsevedko/html540/templates_c/%%5F^5F5^5F547AFF%%sponsored_rows.html.php on line 38

    ... :-(
    Vsevedko
    Vsevedko - Slovak Directory - Indexu Deluxe 1.4.2, Catalog of slovak blogs - Indexu 5.4.0

  8. #8
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    im not sure how you can use smarty in a php section of code. I think you would be better to create a smarty function to do this...

    sorry cant be any mor ehelp, i would do it for you but im too busy right now.
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

Similar Threads

  1. populate thumbnails for each link.
    By grayeminence in forum Blocks and Modification
    Replies: 56
    Last Post: 02-03-2008, 11:06 AM
  2. Site thumbnails next to each link Mod
    By ilya in forum Blocks and Modification
    Replies: 64
    Last Post: 05-31-2007, 11:49 AM
  3. Create "Website" thumbnails for your site
    By gspinney in forum Blocks and Modification
    Replies: 1
    Last Post: 04-01-2007, 09:18 AM
  4. Register your website
    By 12noon in forum v5.x
    Replies: 1
    Last Post: 10-01-2004, 04:37 AM
  5. About Top website by hits
    By aladdin in forum v3.2
    Replies: 8
    Last Post: 05-24-2003, 05:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •