![]() |
|
i.php - image Details - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: i.php - image Details (/thread-7590.html) |
i.php - image Details - Largo - 2010-09-08 Hello, When I crop an thumbnail, after done one or more are not showing in menu. I used external places for images, but this is not a problem, because photos always return ( FireBug ), but in HTML page I cannot see them. For better fun, when I used FireBug and check element they're... exists, so where is the fail of script? How can I fix that? I try with headers, imagecreatefrom... functions, nothing work. i.php - image Details - acrylian - 2010-09-08 I fear I do not really understand your problem. When are images not seen by what HTML page and in what menu they don't show up? i.php - image Details - Largo - 2010-09-08 When cropping thumbnails. I think I found a problem: SERVERCACHE . getImageCacheFilename(filesystemToInternal($album), filesystemToInternal($image), $args) When I used static files evyrthink is OK, so in that line is problem. Please, check it. i.php - image Details - acrylian - 2010-09-08 Please provide some info in which context you are actually using this. i.php - image Details - Largo - 2010-09-08 What do You mean? Trace all when i.php is used to create/show thumbnails. That fails sometimes and for no reason. I add a static file and when I have ~40 albums I see all thumbnails. i.php - image Details - Largo - 2010-09-08 functions-image.php This is the function where script looses new thumbnails... i.php - image Details - acrylian - 2010-09-08 Do you encounter this on your Zenphoto site when using a standard Zenphoto theme or when? Are you trying to precache images maybe? You did also mention something of external. So do you use i.php directly and when from where do you use it. Same server, different server, same site? If on a Zenphoto theme we have images theme and object model functions to create thumbs as well. This all might be important to find any possible bug. i.php - image Details - kagutsuchi - 2010-09-08 It would probably help if you told us what imaging library you're using as well. (GD or Imagick) i.php - image Details - Largo - 2010-09-09 GD Lubrary ( I use zenPhoto 1.2.9 ). This is the i.php showing code of images: `if (!$debug) {
} else {
"; }` i.php - image Details - acrylian - 2010-09-09 Well, 1.2.9 is a little old. We have only resource to support the current version which is 1.3.1.2. Please install that and try with it. From the example: Why don't you use the object model and the existin image functions? I might not understand what you are doing why of course. i.php - image Details - Largo - 2010-09-09 I used external place for photos and other data that is not in database. So, I write new classes to get information about that files, so there is no problem. I have a path, but I can't use Location header, because that data is hidden from people and I don't have any public domain which can saw them, so I read them as You see upper. This is OK, but why sometimes after modify thumbnails I see only URL with anchor, to better fun when I click in Firefox 'Refresh image' they're shown, so? Sometimes they not returned the image but only for first click, files was created, added to DB, everythink cool, but showing fail. You know why I do that? PS. I cannot update zenPhoto as fast as You can do. This is modify in multiple places, so updating after ~2 weeks is not fun for me, for You too, as You work as developer and You know about merging and finding differences :-) i.php - image Details - acrylian - 2010-09-09 Well you know that the image functions from Zenphoto are meant to be used with Zenphoto and optimized that way. If you use them outside Zenphoto context you might better go with the php image libary functions directly. (GD - or in current release Imagick). Unless I missundertood. [i]PS. I cannot update zenPhoto as fast as You can do. This is modify in multiple places, so updating after ~2 weeks is not fun for me, for You too, as You work as developer and You know about merging and finding differences :-)[/i] |