WordPress.org

Ready to get started?Download WordPress

Forums

Category Grid View Gallery
[resolved] thumbnails not showing still not resolved for me (8 posts)

  1. frankie8
    Member
    Posted 2 years ago #

    Dear Anshul

    I have tried all the suggestions in the thread which is resolved
    Thumbnail Not Showing After 2.2.4 update
    they havent worked for me so am starting a new topic. Category grid view is really useful and unique plugin and It would be great to use it. please help

    I copied my site from a draft copy using plugin called duplicator. The category view gallery worked in draft version but not in the final copied version. the thumbnails were missing as above. When I looked at the code using firebug the urls for the thumbnails had distorted code eg.
    <img title="EMMA McQUINSTON" alt="EMMA McQUINSTON" src="http://79.170.44.96/fletcherjacob.co.uk/wp-content/plugins/category-grid-view-gallery/includes/timthumb.php?src=http%3A%2F%2F79.170.44.96%2Ffletcherjacob.co.uk%2Fwp-content%2Fuploads%2Femma-mcquinston1.jpg&h=120&w=120&zc=1&q=100">

    I tried a completely new install of wordpress with new install of category view gallery and just set up one category and one post - the thumbnail was the same - empty

    I have tried copying the timthumb from verions 2.2, 2.1, downloaded from your forum - still no thumbnails.

    I also noticed that the cache file is in the root directory of your plugin rather than the included folder - so tried removing the 2 dots as advised. still no thumbnails. I also tried copying the cache folder into the includes folder - still no thumbnails

    please help

    my website is a temporary address
    http://79.170.44.96/fletcherjacob.co.uk/actresses/

    I cant think of anything else - I love your plugin please help me to make it work

    thank you

    x frankie8

    http://wordpress.org/extend/plugins/category-grid-view-gallery/

  2. Maria
    Member
    Posted 2 years ago #

    I am having a similar problem in that my thumbnails are not showing either, except it happened with the more recent WordPress version upgrades, 3.3.1 to 3.4.1, maybe even the version before that. I love your plugin and hope there's an easy fix so I can continue using it.

    Any response would be greatly appreciated!

  3. Anshul
    Member
    Plugin Author

    Posted 2 years ago #

    Open PLUGIN_DIR/category-grid-view-gallery/includes/CatGridView.php
    go to line 94

    replace
    src='.urlencode($cg_img).'
    by
    src='.urlencode(str_replace(get_option('siteurl'), '', $cg_img)).'

    if this doesnt work, then replace it by

    src='.str_replace(get_option('siteurl'), '', $cg_img).'

  4. Maria
    Member
    Posted 2 years ago #

    Thank you so much for your quick response, but I was not able to find that first line of code in the file. Any idea what I could be doing wrong? I went to the correct page and searched the document, but could not locate it :-(

  5. Anshul
    Member
    Plugin Author

    Posted 2 years ago #

    It is under the function : cg_get_image

    just before the closing of the function

    return '<a href='.$returnlink.'><img src="'.$cg_url.'/includes/timthumb.php?src='.urlencode($cg_img).'&h='.$size[1].'&w='.$size[0].'&zc=1&q='.$this->params['quality'].'" alt="'.$single->post_title.'" title="'.$single->post_title.'"/></a>';
  6. frankie8
    Member
    Posted 2 years ago #

    Dear anshul
    thank you for suggestions above - I tried them and they didnt work. however have now installed the site on the real domain name as opposed to temp domain address and all is working well
    thank you for a great plugin will send a donation
    fx

  7. Anshul
    Member
    Plugin Author

    Posted 2 years ago #

    Im glad it worked for you. Im hereby closing this topic

  8. Anshul
    Member
    Plugin Author

    Posted 2 years ago #

    Closed

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.