Thumbnails and image sizes not working
androidtopp
Joined: 2005-02-02
Posts: 11 |
Posted: Mon, 2005-02-14 01:43 |
I seem to have a problem with thumbnail and image size generation. All of my galleries display full size images instead of thumbnails, which makes things rather hard to view. When i do click on a single image, I'm not able to select an image size: only the full size is available. This happens with both netpbm and ImageMagick. Has anyone else had these problems? |
|
Posts: 11
bump...anyone?
Posts: 808
Sorry, I haven't seen this. You might want to enable debug mode and upload some more pictures and see if it is generating an error when it is sizing the picture down to make the thumbnails.
Posts: 314
what is the size for the tumbnail? (Go to Edit album -> Album tab -> Thumbnails). Make sure it's set to something like 150-200. Considering that you random image shows as a decent-size thumbnail, I think the problem is with some of the settings, rather than toolkit error.
Posts: 8601
virshu, imageblock uses a maxSize param so it may be showing a large image but having the browser shrink it down to a reasonable size.. do 'view image' in the browser to check.
Posts: 11
mindless, you are correct. if i view image, it is still full size. however, if an automatic resize works for that, why not for image thumbnails.
my thumbnail size is set to 150. i will toss debug mode on and see if that can tell me anything.
Posts: 11
ok, with the buffered debug turned on, i think this is the output for photo display:
_className => GalleryPhotoItem
id => 12
creationTimestamp => 1108331079
isLinkable => 1
linkId => empty
modificationTimestamp => 1108331079
serialNumber => 1
entityType => GalleryPhotoItem
parentId => 10
pathComponent => archway in the morning 01.jpg
canContainChildren => 0
description => empty
keywords => empty
ownerId => 5
summary => empty
title => archway in the morning 01.jpg
viewedSinceTimestamp => 1108331079
originationTimestamp => 1029087094
mimeType => image/jpeg
size => 1714086
width => 0
height => 0
viewCount => 6
itemSummaries => Array (2)
customfield => empty
newitems => <img src="http://www.atopp.com/galler...
followed by the array containing the valid photo operations. i don't see any outward errors...but it also shows width and height of this image to be 0. is that normal? these images were all added using remote, so could that be causing a problem...and the answer is yes. i've added 4 images to the "CASA Boogie" gallery, and the thumbnails and image sizes work perfectly.
so...is anyone experiencing this problem with remote? the web interface for adding as many photos as i have to add is a little tedious.
thanks,
andrew
Posts: 8601
because thumbnails are intended to be displayed at the size they are created in album views. the sidebar isn't supposed to get too wide so there is a limit.
i agree you should find debug output for the toolkit operation that creates the thumbnail file.. see if you find any error output there, or try the commands from the command line and see if you can make a correctly sized thumbnail image.
Posts: 11
hmm. i see no debug output for the toolkit whatsoever. am i missing something?
Posts: 8601
look in the debug output in the main window, not the popup smarty debug.
you need to make sure to view the debug output on the request where it is actually building the thumbnail.. easiest way is to add a new item and make sure "build thumbnail" is checked so it will make the thumbnail right when you do the upload.
Posts: 11
i see no references to my active graphics toolkit anywhere in either of the debug sections, for both the working, and the non-working gallery. it appears that problems on crop up when i add images through gallery remote. as i mentioned above, when images are added with gallery remote, the smarty debug shows their x and y dimensions as 0.
has anyone had problems with gallery remote and gallery2?
Posts: 7994
Unfortunately, the GR integration with G2 is not moving along as fast as we'd like. We'll definitely fix this, but no estimate as to when.