Page 1 of 6 123 ... LastLast
Results 1 to 10 of 56

Thread: No thumbnail of images on home page and ad page

  1. #1
    Thread Starter
    Amateur
    Not a Verified Customer
    cmccarra's Avatar
    Join Date
    Jul 2009
    Posts
    16
    Thanks
    0
    Thanked 1 Time in 1 Post

    No thumbnail of images on home page and ad page

    Hi All,

    I can successfully upload images and they are there, but no thumbnails are created for the homepage and adpage (it's only a text link on the ad page that when clicked the image opens in fullsize). So I know the images are being uploaded.

    I have read every topic on this forum with the same issue and tried all the suggested fixes, such as:

    Making sure directories are set to 777.

    Changing permalink to '/%postname%/'.

    Totally reinstalling wordpress and the theme.

    The folder is named 'classipress' , and yes with no spaces.


    My website is http://poultry.darrenmccarra.com/marketplace/.

    Please help me find a fix!

    Thanks in Advance,
    Connor

  2. #2
    Senior Member herb_'s Avatar
    Join Date
    May 2009
    Posts
    230
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: No thumbnail of images on home page and ad page

    Installing wordpress at the root instead of a subdirectory might do the trick, as it has for me and others. Tho, there should be a way to have it work in a subdirectory. Also, I had a similar problem when apparently my host server setup was not playing nice with some function of classipress.

  3. #3
    Thread Starter
    Amateur
    Not a Verified Customer
    cmccarra's Avatar
    Join Date
    Jul 2009
    Posts
    16
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: No thumbnail of images on home page and ad page

    Well not really, There is a wordpress installation on poultry.darrenmccarra.com , and then another installation on poultry.darrenmccarra.com/marketplace/ and both working fine. Though eventually they will be moved to poultry.ie as I'm only using poultry.darrenmccarra.com as a testing domain.

  4. #4
    Founder dcowgill's Avatar
    Join Date
    Mar 2009
    Location
    San Francisco, CA
    Posts
    1,939
    Thanks
    66
    Thanked 135 Times in 99 Posts

    Re: No thumbnail of images on home page and ad page

    Try going in and changing the path in /includes/img_resize.php on line 7. You might want to hardcode in your url since you've got a subdirectory setup.

    Code:
    $image_url = "../../../../wp-content/uploads/classipress/".$_GET["url"];
    to:

    Code:
    $image_url = "http://poultry.darrenmccarra.com/marketplace/wp-content/uploads/classipress/".$_GET["url"];

  5. #5
    Thread Starter
    Amateur
    Not a Verified Customer
    cmccarra's Avatar
    Join Date
    Jul 2009
    Posts
    16
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: No thumbnail of images on home page and ad page

    Quote Originally Posted by dcowgill
    Try going in and changing the path in /includes/img_resize.php on line 7. You might want to hardcode in your url since you've got a subdirectory setup.

    Code:
    $image_url = "../../../../wp-content/uploads/classipress/".$_GET["url"];
    to:

    Code:
    $image_url = "http://poultry.darrenmccarra.com/marketplace/wp-content/uploads/classipress/".$_GET["url"];
    I already have that done, but it didn't make a difference.

  6. #6
    Founder dcowgill's Avatar
    Join Date
    Mar 2009
    Location
    San Francisco, CA
    Posts
    1,939
    Thanks
    66
    Thanked 135 Times in 99 Posts

    Re: No thumbnail of images on home page and ad page

    It has something to do with your paths or permissions not being setup correctly.

    This is the path to the thumbnail image that should be viewed in your browser. Change the domain and image so it matches yours. If the url doesn't show the image, then the path isn't correct somewhere.

    http://localhost/classipress/wp-content ... -11419.gif

  7. #7
    Thread Starter
    Amateur
    Not a Verified Customer
    cmccarra's Avatar
    Join Date
    Jul 2009
    Posts
    16
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: No thumbnail of images on home page and ad page

    Hey dcowgill,

    Quote Originally Posted by dcowgill
    It has something to do with your paths or permissions not being setup correctly.

    This is the path to the thumbnail image that should be viewed in your browser. Change the domain and image so it matches yours. If the url doesn't show the image, then the path isn't correct somewhere.

    http://localhost/classipress/wp-content ... -11419.gif" onclick="window.open(this.href);return false;

    That didn't wok either just got a 404. Any other ideas?

    Thanks,
    Connor

  8. #8
    Thread Starter
    Amateur
    Not a Verified Customer
    cmccarra's Avatar
    Join Date
    Jul 2009
    Posts
    16
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: No thumbnail of images on home page and ad page

    Anyone? Please!

  9. #9
    Founder dcowgill's Avatar
    Join Date
    Mar 2009
    Location
    San Francisco, CA
    Posts
    1,939
    Thanks
    66
    Thanked 135 Times in 99 Posts

    Re: No thumbnail of images on home page and ad page

    Well first of all, the img_resize.php file isn't even there so that's a problem.

    Code:
    http://poultry.darrenmccarra.com/marketplace/wp-content/themes/classipress/includes/img_resize.php
    Once you get that put back, hopefully it will solve everything.

    If not, then it's most likely a pathing issue with img_resize.php. You need to change the $image_url to the correct path so it takes the image and resizes it correctly.

    So here's one of your images that works fine so we know it's there.
    http://poultry.darrenmccarra.com/market ... 460224.jpg

    Here's the thumbnail code that takes the image and resizes it.
    http://poultry.darrenmccarra.com/market ... 460224.jpg

    So go back into img_resize.php and try a couple of different paths.
    Code:
    $image_url = "../../../../wp-content/uploads/classipress/".$_GET["url"];

  10. #10
    Thread Starter
    Amateur
    Not a Verified Customer
    cmccarra's Avatar
    Join Date
    Jul 2009
    Posts
    16
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: No thumbnail of images on home page and ad page

    Quote Originally Posted by dcowgill
    Well first of all, the img_resize.php file isn't even there so that's a problem.

    Code:
    http://poultry.darrenmccarra.com/marketplace/wp-content/themes/classipress/includes/img_resize.php
    Once you get that put back, hopefully it will solve everything.

    If not, then it's most likely a pathing issue with img_resize.php. You need to change the $image_url to the correct path so it takes the image and resizes it correctly.

    So here's one of your images that works fine so we know it's there.
    http://poultry.darrenmccarra.com/market ... 460224.jpg" onclick="window.open(this.href);return false;

    Here's the thumbnail code that takes the image and resizes it.
    http://poultry.darrenmccarra.com/market ... 460224.jpg" onclick="window.open(this.href);return false;

    So go back into img_resize.php and try a couple of different paths.
    Code:
    $image_url = "../../../../wp-content/uploads/classipress/".$_GET["url"];

    Well, first of all the img_resize.php is there because I just checked it out in my ftp.

    I also commented out the default path and put in my absolute path but still no difference.

    Is this a bug that classipress thumbnails don't work on sub-domains?

Page 1 of 6 123 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)