How to limit only width of thumbnail in Documenta

neumeec / 2013-08-11 14:18:01   

Hi, i try to limit only width of thumbnail. I want to remove space between thumbs, if i have one portrait and landscape image. In this example space between second and third thumbnails:

neumeec.com/photo2/index.php/proba2/

arsondpi / 2013-08-11 15:29:30   

you better work with Visual Index.
Actually Vaska released a beta of a Visual Index that uses uniform heights for thumbnails. Search the Customize section of this forum using keywords "visual index thickbox"

neumeec / 2013-08-12 06:20:14   

Thanks Arsondpi, but it's not my format :) . And one more question, how to make onclick over image to go on the next in Documenta? Thanks.

arsondpi / 2013-08-12 10:30:26   

You need to edit the code to do this (btw your site is down)

neumeec / 2013-08-12 15:32:55   

Please check again. Yes, i know about the code :). But i need a little help.

arsondpi / 2013-08-12 15:50:02   

If I'm not mistaken you have Permalinks as the onlick option - you need to be editing the plugin.submedia.php file located in the ndxzsite/plugin/ folder.
I guess you can attach the same link code of the "Next" link, to the img html tag.

neumeec / 2013-08-16 19:07:46   

I resolve problem with blank space between vertical thumbs and other. But please, Arsondpi, be a little more specific about onclick for next. Thanks.

neumeec / 2013-08-19 05:39:09   

Hi again, i've made changes of plugin.submedia and now have a oncklick for next. But when click on last image, url goes to "0". I change the code to:

  1. if ($total > 1)
  2.             {
  3.                 
  4.                 $s .= "<a href= ". BASEURL . ndxz_rewriter($rs['url']) . $nx . ">";

And url whit last image:

neumeec.com/photo2/proba2/…

Just click on it.

ericmichaeljohnson / 2013-09-01 02:26:34   

hey neumeec how did you limit only the width?

This thread has been closed, thank you.