Viewing 15 replies - 1 through 15 (of 15 total)
  • Unless you specify a count= parameter, all images should be displayed. As for the GIF files — could you try this? About line 72 in autonav-wl.php add the two lines about gif:

    // Resample
        if (preg_match("#jp#i", $ext)) {
          $from_image = imagecreatefromjpeg($pic_full_path);
        } elseif (preg_match("#png#", $ext)) {
          $from_image = imagecreatefrompng($pic_full_path);

    } elseif (preg_match("#gif#", $ext)) {
          $from_image = imagecreatefromgif($pic_full_path);

    } else {
          return;
        }

    Let me know if that works. — wlindley@wlindley.com

    Thread Starter nicole2009

    (@nicole2009)

    Thanks so much for your reply.

    I did not specify a count= parameter but I have used the plugin on about 30 pages and they all show 5 images even though I have more than 5 posts in each category on nearly every page.

    Maybe I should add a count= parameter with a big number. Maybe that will increase the number of images?

    I will try your suggestion regarding the gif.

    Thread Starter nicole2009

    (@nicole2009)

    I tried added the following shortcode but it still only shows 5 posts:

    [autonav display=”posts, list, thumb” postid=”category:63″ count=13]

    I had 13 posts in this category. They all have thumbnails but it still shows only 5 posts.

    Ohh… I think I see what is happening. Investigating.

    On or about line 451 of autonav-wl.php could you also change:

    if ($attr['count']) { $query .= '&posts_per_page=' . $attr['count']; }

    to

    if ($attr['count']) { $query .= '&numberposts=' . $attr['count']; }

    and see if that helps? If so, this will be in v1.2.9.

    Thread Starter nicole2009

    (@nicole2009)

    Thank you very much.
    It works now BUT only when shortcode shows count=a higher number than 5 (which did not work before your change). If you use the shortcode without count= then it still only shows 5.

    Another problem is that there are quite a few images which are not shown and I cannot see why since there is no difference between them and the other images that are showing. I have included a URL in case you can see the problem:

    Thanks again!!!!

    http://www.yetzira.com/%d7%9e%d7%99%d7%97%d7%96%d7%95%d7%a8.html

    Thread Starter nicole2009

    (@nicole2009)

    I just noticed that there is a problem with the plugin in Firefox.

    With IE it looks OK even without the images that are missing. There are rectangles with a little cross in for each missing image.

    In Firefox it repeats the title of the missing image (instead of the image) and looks quite messy. For some reason images are moved all over the page (I think that it takes the image from the page that it is shown on and moves it to the middle of the list – although I am not 100% sure that that is the problem).

    Any idea why this happens?

    It looks like the directory

    http://www.yetzira.com/wp-content/uploads/2009/11/

    is not writable when the plugin executes, so the files in 2009/10 work but 2009/11 do not, for example — could you check that please?

    Thread Starter nicole2009

    (@nicole2009)

    Can you please explain how I check this? I have never touched this. Could files become not writable without me making that change?

    Thread Starter nicole2009

    (@nicole2009)

    I am not sure if I understood what you asked me to check so this might not be what you wanted but I checked the permissions of the upload files and both the 2009 file and the 2010 files have the same permissions: 755

    the individual files in 2009/11 and 2009/10 are both 755.

    Thread Starter nicole2009

    (@nicole2009)

    Thanks so much for checking out this problem.

    I think I found the problem.

    I used the following plugin to regenerate images. http://wordpress.org/extend/plugins/regenerate-thumbnails/

    It changed the name of the images such that the size appears on the file name. If I reload the image with no size at the end then it appears in the list.

    For example:
    An image name before was: colored-sand-240×360
    now it is: sand
    After the change it appears in the list.

    Thread Starter nicole2009

    (@nicole2009)

    Sorry about all of the messages…. I just keep trying to figure this out…

    The images that also appear also have numbers in them for example: lion-200×149

    so I don’t think that this is connected as I did before.

    Ah… AutoNav does assume that images ending in “-200×149” for example, are thumbnail images that *it* generated… and those do get excluded from some of the directory scans. But that should only happen when you display all files from a directory, as opposed to thumbnails for posts.

    Thread Starter nicole2009

    (@nicole2009)

    Is there any way to get the plugin to look better in Firefox?
    It puts the list on top of the first image of the page and looks quite messy.

    For example: http://www.yetzira.com/%d7%a2%d7%95%d7%92%d7%95%d7%aa-%d7%99%d7%95%d7%9d-%d7%94%d7%95%d7%9c%d7%93%d7%aa.html

    This can be changed through CSS. The easiest way to see what is happening, and interactively test without having to edit files, is to use the Firebug add-on in Firefox.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘[Plugin: Autonav] number of images limited’ is closed to new replies.