Need help on wordpress and TimThumb.php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bigmath
    Confirmed User
    • Mar 2003
    • 884

    #1

    Need help on wordpress and TimThumb.php

    Hi guys!

    I just try to use adultwpthemes.com like template and they use timthumb on it but i'm not able to use timthumb on my page. Can someone help me please? I receive everytime error on my thumbs.

    I just need to know what to do to have my pic appear on the big screen ( No image is associated with this post ).

    Thanks!
    Adult Webmaster Empire
  • Babaganoosh
    ♥♥♥ Likes Hugs ♥♥♥
    • Nov 2001
    • 15841

    #2
    What is the error? Also, make sure timthumb is a current version. Old versions have a huge security issue.
    I like pie.

    Comment

    • bigmath
      Confirmed User
      • Mar 2003
      • 884

      #3
      Take a look at latexpirate (dot) com and you can see the problem I have. Thanks!
      Adult Webmaster Empire

      Comment

      • cooldude7
        Confirmed User
        • Nov 2009
        • 4306

        #4
        use like this.,

        timthumb.php?src=http://somedomain.com/image.jpg

        or

        <img src="timthumb.php?src=http://somedomain.com/image.jpg">

        Comment

        • cooldude7
          Confirmed User
          • Nov 2009
          • 4306

          #5
          Originally posted by bigmath
          Take a look at latexpirate (dot) com and you can see the problem I have. Thanks!
          okie so u want to show the image from the post ?

          if thats what u want then use plgin called

          gettheimage or getimage somethilng like that.,

          then u can use something like this in your index.php


          <?php get_the_image( array( 'image_scan' => 'true','default_size' => 'thumbnail') ); ?>

          info :the script looks for the first image attached to your post. If there is one, then it grabs that image and uses it.
          Last edited by cooldude7; 11-06-2011, 08:46 AM.

          Comment

          • bigmath
            Confirmed User
            • Mar 2003
            • 884

            #6
            I did that already but as soon as I do that, I receive a x icone.
            Adult Webmaster Empire

            Comment

            • cooldude7
              Confirmed User
              • Nov 2009
              • 4306

              #7
              i am using the get the image plugin on my site check here


              movieonlineplus dot com

              Comment

              • bigmath
                Confirmed User
                • Mar 2003
                • 884

                #8
                Is it me or you have the same problem as me? No image appear?
                Adult Webmaster Empire

                Comment

                • robber
                  Web Developer
                  • Jan 2011
                  • 264

                  #9
                  Try cleaning your site cache out on the server if you're making changes to anything that effects an image as otherwise you would see no difference until it times out

                  Kind Regards

                  Rob

                  Comment

                  • bigmath
                    Confirmed User
                    • Mar 2003
                    • 884

                    #10
                    I know that but I still have the same problem.
                    Adult Webmaster Empire

                    Comment

                    • powerteam
                      Confirmed User
                      • Apr 2010
                      • 435

                      #11
                      I had the same problem with a site being hostef on hostgator. I contacted their support and they had to white list or white label (dont remember exactly it was called) the domain and it solved the problem.
                      Free Adult Blog Hosting - FreeAdultWP.com
                      ICQ: 617646871 Email: [email protected]

                      Comment

                      • bigmath
                        Confirmed User
                        • Mar 2003
                        • 884

                        #12
                        Ok but now timthumbs.php work but i'm not able to put the picture on the big place. It's probably only a problem in my code. Right now it's similar to that but I probably miss something to appear on the big picture place : <a href="GALLERYURL"><img src="timthumb.php?src=nhob-396.jpg" alt="" border="1" /></a>
                        Adult Webmaster Empire

                        Comment

                        • cooldude7
                          Confirmed User
                          • Nov 2009
                          • 4306

                          #13
                          try accesing timthumb.php?src=nhob-396.jpg

                          if it shows the image then its fault in code or its fault in the jpg path

                          good luck.

                          Comment

                          • bigmath
                            Confirmed User
                            • Mar 2003
                            • 884

                            #14
                            Cool! this one work great but my problem if you check the website, the thumb are supposed to appear on the left side in the main menu! Now I have nothing there.
                            Adult Webmaster Empire

                            Comment

                            • cooldude7
                              Confirmed User
                              • Nov 2009
                              • 4306

                              #15
                              edit in div class photo

                              check tag

                              <img src=putthecode in here"/>

                              Comment

                              • bigmath
                                Confirmed User
                                • Mar 2003
                                • 884

                                #16
                                Ok here my situation. I have a Post with a description and IMAGE * <img src="timthumb.php?src=nhob-396.jpg" alt="" border="1" /> * but I think I need a special code on my post for the picture to be take from there and move on the main page because right now the noimage.jpg appear on the page.

                                The main page code :

                                <div class="fpslide">
                                <div class="photo">
                                <a href="<?php the_permalink() ?>" title="<?php the_title() ?>">
                                <?php
                                $key = 'thumbnail';
                                $themeta = get_image_path($post->ID,$key);

                                if($themeta != '') {

                                if($timthumb == 'on') {

                                echo '<img src="timthumb.php?src='.$themeta.'&amp;h=300&amp;w =490&amp;zc=1" alt="'.get_the_title().'" />';

                                } else {

                                echo '<img src="'.$themeta.'" alt="'.get_the_title().'" />';

                                }

                                } else {
                                echo '<img src="'.get_bloginfo('template_url').'/images/noimage.jpg" alt="" />';
                                }
                                ?>

                                </a>
                                </div>
                                Adult Webmaster Empire

                                Comment

                                • cooldude7
                                  Confirmed User
                                  • Nov 2009
                                  • 4306

                                  #17
                                  now check the code from right i.e. div photopost , which fetches image then copy it to the left., as simple as that, coz right is showing image.

                                  Comment

                                  Working...