![]() |
|
Thumb size MaxSpace and + ZenPage Question - 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: Thumb size MaxSpace and + ZenPage Question (/thread-1735.html) Pages:
1
2
|
Thumb size MaxSpace and + ZenPage Question - olihar - 2008-10-11 I have problems with the ` Screenshot if you do a refresh few time you will see sometimes the thumbs are bigger then they should be, for some odd reason. ZenPage Question... Is it possible to use Iframes when posting? The reason I am asking is I have some panoramas in Zoomify I would like to manually put Google maps to it like I have on my current web page. I did try few times with iFrames with no luck see here. http://www.olihar.com/album/pages/Hafnarfjordur or would you suggest some other way of implementing manual Google maps with these photos this is how its now on my old page. Thumb size MaxSpace and + ZenPage Question - acrylian - 2008-10-11
Thumb size MaxSpace and + ZenPage Question - olihar - 2008-10-11
When I put iFrame into codeblock and I save it changes the code from ` `
The reason I want to change from how it is to being pages is all the manual work involved in making these pages and links. Thumb size MaxSpace and + ZenPage Question - olihar - 2008-10-11 I found how to get past the iframe problem. if `` it works just fine. I am getting to love ZenPage. Thumb size MaxSpace and + ZenPage Question - acrylian - 2008-10-12 Thanks! Good that you solved it. Sorry, I forgot to mention/think of that only single quotes can be used. I will add it both to the FAQ on the project site and to the comment in Zenpage itself. Btw, did you try that code within TinyMCE? Actually it is just html so it might work even there (the google video on hte project site is just within that.) Thumb size MaxSpace and + ZenPage Question - olihar - 2008-10-16 ahh sorry your answer just slipped me. Yeah I did try the code in TinyMCE.. The best result was to use it in the codeblock. Have you managed to look into the `` I am still getting these funky sizes as thumbs mainly on the index page. It never happens with the ImageThumbMaxSpace only the Album one. Thumb size MaxSpace and + ZenPage Question - acrylian - 2008-10-16 Have you ever tried to use the normal printCustomThumbImage() setting just a size? Then actually Zenphoto should make the size after the longest side. The maxspace functions are actually best suited for none square images (although I admit it should work actually). Thumb size MaxSpace and + ZenPage Question - olihar - 2008-10-16 I think I will just go back to the standard way of doing things for now as the other options are not reliable as of now.
Thumb size MaxSpace and + ZenPage Question - olihar - 2008-10-16 EDIT: again... I think its better to go to sleep I forgot to but the old way into album.php and of course I was getting the same errors. Well I guess I will keep it like this for now untill the other settings have been fixed, if possible. Thumb size MaxSpace and + ZenPage Question - olihar - 2008-10-17 When Using the standard function the thumbs come out in many different ways. if one is cropped as a panorama or a very high one it goes all over the place. ` ` I Decided to have a better look at the Custom(Album)ThumImage. ` ` When used with only height or width I get very bad results as there are mix between the portrait and landscape photos in the same folder. What I have been looking into the printCustomAlbumThumbMaxSpace is how it creates the thumbs. I have found it interesting at how random it picks if it puts the given number to width or height. We say the given number is '200' sometimes it makes thumbs in the sizes 200x280 , 300x200 , 299x200, 356x200, 200x300. I had a little look at the code...
The only thing that is needed is saying
I have been playing around with this a little bit but not really found any thing out of the ordinary.
} Thumb size MaxSpace and + ZenPage Question - olihar - 2008-10-17 EDIT: as I couldn't edit the one above Like Thumb size MaxSpace and + ZenPage Question - acrylian - 2008-10-17 Actually you are right and I had it that way before but it some how failed sometimes. I did just some tests with the album thumb and somehow it does sometimes work and sometimes not, both landscape and portraits are every once a while too big. Just as you had reported, too. But the good news is I think I found why it does that! The original function EDIT: You can try it yoursefl. The function is in line 1240 of template-functions. Set $sizing to "" in the if/else construct and see if it solves that for you, too Thumb size MaxSpace and + ZenPage Question - olihar - 2008-10-17 I just tried. And as far as I can see it this has no effect. Thumb size MaxSpace and + ZenPage Question - acrylian - 2008-10-17 I fear to ask, but did you clear the image cache and the browser cache? Thumb size MaxSpace and + ZenPage Question - olihar - 2008-10-17 Yes I did both... There is something I think I totally forgot to mention. This random cache error is only on
When I go into folders or subfolders with images and no folders everything is just fine it seems. When ImageMaxSpace is used.
You can have a look here in this dummy I put up. Thumb size MaxSpace and + ZenPage Question - acrylian - 2008-10-17 OK, I was only talking about the album thumb actually.. I see somehow the function use sometimes width when it should use height. Don't know why, that must lay in the internal class functions I am, I have to admit, not that familiar with. I have to consult sbillard on that, I guess. EDIT: A thing I forgot to mention is that I not only set $sizing="" but also added the $height/$widht within the albumthumbmaxspace one also to the size paramenter like this Thumb size MaxSpace and + ZenPage Question - olihar - 2008-10-17 Well funny enough it looks like it makes a "small" difference.... but no fix, tough. it only makes the error thumbnails have worse quality. Thumb size MaxSpace and + ZenPage Question - olihar - 2008-10-17 Has Sbillard had the time to take a quick look at this problem? Thumb size MaxSpace and + ZenPage Question - acrylian - 2008-10-18 Not yet since we were working on cropping functionality in general (keyword: custom cropping!). We will look at this but you need to be a little patient...:-) Thumb size MaxSpace and + ZenPage Question - olihar - 2008-10-18 No worries. I will be on the lookout. thanks. |