Member
Member
enes   2007-10-15, 23:50
#1

Is it possible to output custom image size, like thumbnails, for search results? And how could I make link that simulates search query, so instead writing "something" I would have click on "something"?

Member
Member
sbillard   2007-10-16, 01:13
#2

You would have to modify the search.php file. I would not recommend you doing that just yet, the search function is still evolving. Wait until after the 1.1 release November 1.

Member
Member
enes   2007-10-16, 01:22
#3

yes, I know, I'm with it last days :-) and constantly updating local files, kinda learning php, for now everything that I tried works fine, cold you explain please what should I do?
I need just this link/search/thumbnail thing so I can go online. thanx in advance

Member
Member
sbillard   2007-10-16, 15:40
#4

there is a template functin printCustomSizedImage that you would use in place of $image->getThumb(). You would have to have:
`global $_zp_current_image;

$_zp_current_image = $image;

printCustomSizedImage($alt, $size, $width, $height, $cropw, $croph, $cropx, $cropy, $class, $id);`
to print the image.

Member
Member
enes   2007-10-16, 21:51
#5

ok thanx I'll try

Member
Member
jules11   2008-02-18, 04:57
#6

could anyone tell me how to include the customsizing imagefunction properly.
that doesn't work..

" title="">

Member
Member
sbillard   2008-02-18, 18:08
#7

This is a snippet from stopdesign:

``

Perhaps yours did not work because the alt parameter was NULL.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.