![]() |
|
Thinkdream thumbs into Wordpress Sidebar? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Themes (https://forum.zenphoto.org/forum-5.html) +--- Thread: Thinkdream thumbs into Wordpress Sidebar? (/thread-1387.html) |
Thinkdream thumbs into Wordpress Sidebar? - no64 - 24-04-2007 I don't know if this is the right forum for my question.... I would like to use the Thinkdream Theme, which I like very much, especially the way how the thumbs/random picture are shown up - cropped and with the reflections. It would be nice to use that "look & feel" also for showing up a random picture in Wordpress. Is there a way to implement that random picture - cropped and with reflections - into the sidebar of a wordpress theme? I tried to install that "zenPressed" plugin for wordpress, but there is no way to crop the image, etc. Thinkdream thumbs into Wordpress Sidebar? - thinkdreams - 24-04-2007 the only way I could suggest doing it is using zenshow, and doing some modifications to the way the image is requested from zenshow. this would involve some coding however, so make sure you're comfortable with php before you attempt. Thinkdream thumbs into Wordpress Sidebar? - no64 - 24-04-2007 How did you do that in "Thinkdream" with the size/cropping of the thumb? Does the themecode generate that special thumb? Maybe I could combine it with this: ..and no, I'm not comfortable with php, so If you could help me out with that "thumbnail" creation I would really appreciate that Btw. It seems zenshow is unavaliable at the moment Thinkdream thumbs into Wordpress Sidebar? - Raz88 - 24-04-2007 ZenPressed does crop the images. And you are also able to control the dimensions. -Raz88 Thinkdream thumbs into Wordpress Sidebar? - thinkdreams - 25-04-2007 Yup, the theme's code is what generates it. This code here (from the index.php file) is an example: `
The So, the parameters read as follows:
$alt is the alt text you want to use. Zenshow is available here: http://www.zenphoto.org/trac/wiki/ZenphotoPlugins I hope that helps get you started. It will be MUCH easier to implement zenshow to do what you want to do though, especially if you are working with wordpress. Zenshow will help display that image for you in Wordpress without having to mess with integration of zenphoto and wordpress. Let us know if you're having trouble with zenshow. While the author may not "lurk" here anymore, I have it running OK on my wordpress blog, and can help with simple problems during its implementation. Thinkdream thumbs into Wordpress Sidebar? - no64 - 25-04-2007 ...do just this line crop and resize the image? printCustomAlbumThumbImage(getAlbumTitle(), null, 230, null, 210, 60, null, null, 'reflect', null) So, what would the code look like if I get a image to my site like this: ..yeah, and the reflection would also be fantastic :) Well, I still can't find "zenShow" , but there is another "zenPress" Plugin I will take a look at. Thinkdream thumbs into Wordpress Sidebar? - thinkdreams - 25-04-2007 That link I provided in my email, if you look at the attachments at the bottom, Zenshow is there. If you still can't find it, go to http://www.thinkdreams.com/files. And you can't use that code or function above directly in Wordpress (I'm sorry, I didn't really make that clear). Unless you've done some funky integration of your zenphoto and wordpress, you might not be able to make the function calls across from wordpress to zenphoto, which is why zenshow and zenpress make it easier for that sort of thing. You will have to find the comparable code in zenshow that performs the same duties, and modify it with the parameters you seek, as well as include the reflect class item to show the reflection. Thinkdream thumbs into Wordpress Sidebar? - thinkdreams - 25-04-2007 Here's the line of code to look for in Zenshow: `if ($Photos = $ZenDB->get_results($SQL_query))
|