imageDefault.png resize/crop

Is the imageDefault.png excluded from the specified size/crop dimensions set in the theme options? It only seems to appear at its native size for me. For example, if i set the theme to crop thumbnails to 100x100, but the imageDefault.png is 200x300, the thumbnail displays at 200x300 rather than 100x100.

Comments

  • Same problem here
  • imageDefault.png is used only when there is no image found for some reason. It served directly without any modificatins.
  • in my case images in the album index are supposed to be 75 by 75 but as of the last upgrade they are 100 by 100, images within the album are still 75 by 75. See:

    http://img234.imageshack.us/img234/1539/48750966op8.jpg
  • acrylian Administrator, Developer
    Please tell us which Zenphoto version you are using.
  • zenphoto version 1.2.2 [3150]
  • Size of thumbnails is determined: if you have enabled cropping the crop size. If you have not enabled cropping the thumb size.
  • I have set cropping at 75 by 75 pixels so I guess gallery thumbs should be 75 by 75 pixels. The album thumbs are! Am I missing something here. You can see from the screenshot I uploaded only the last thumb (after the upgrade) is 100 by 100 all of a sudden.
  • The screenshot looks like album thumbs. Anyway, screen shots are pretty useless for us. Much better is a link to your site.

    What theme are you using?
  • that's no problem if I can pm or email 'cause these albums are in a restricted area
    I am using a default theme by the way
  • still can't figure out what's going on with the thumbnails. for this album: http://sweetbellausa.com/home-accessories , the thumbnails are set to 200 default with a 150x150 crop. They display at 200x200 on the top level page, and at the lowest level sub-album, they display at 150x150 http://sweetbellausa.com/home-accessories/ceramic-tiles/medium-bird/#jump . Interestingly, it appears that they are being *resized* to 150x150, and not actually cropped to that size. Any ideas?
  • Given that both pages are using exactly the same cache image I would assume you have some kind of CSS sizing difference between the pages.
  • I have their containers set to auto width and height in the CSS, and there is no CSS applied to the img tag.
  • Well, then I have no idea, since the image can be only one size and both are using the same cache image.
  • that's what makes it so strange, problem persists nonetheless
  • Is it possible that it's related to this bug? http://www.zenphoto.org/trac/ticket/863 My issue even occurs on a clean install of the nightly build with the default theme...
  • Could be, since we cannot reproduce that problem we don't know what the issue is. You can follow the debugging instructions there and produce a log that we can look at.
  • I think could be
  • Is there a way to use custom versions of the default images (imageDefault.png, multimediaDefault.png, etc.)? I mean, of course, without editing them directly since I would assume they would be overridden in any upgrades.

    I ask because I don't like this:

    "imageDefault.png is used only when there is no image found for some reason. It served directly without any modificatins."

    The alignment of my albums is off because everything was adjusted around a 85x85 thumbnail and the imageDefault.png doesn't get resized when displayed for an album. (And yes, I do need some empty albums as "place holders".)

    Also, I am working on a little integration of zenphoto into my wiki and the thumbnails for media files (mp3's) are not resized when using the printLatestImagesByDate() function. They always show as 100x100.

    Well, that's just for me, but I think probably others, too, would prefer the same resizing behavior for the default images.
  • acrylian Administrator, Developer
    Sounds somehow reasonable, but I will leave that to sbillard (I am not familiar with the code), but in case you don't know you can have "real thumbnails" for your multimedia files, too: http://www.zenphoto.org/2008/08/troubleshooting-zenphoto/#19
    A little manual work to do though.
  • Yes, of course. Place the image you want to use in your a folder called `images` in your theme.
Sign In or Register to comment.