2011-07-01, 16:20:57
mvlcek Wrote:smdnetau Wrote:(Using a modified version of I18N Gallery)
What kind of modifications?
Anything of general interest to include in the plugin?
The only modifications I did were to the css & html it output. Rather than have multiple DIVs I wanted list items. I also used phpthumb and the tag field in the gallery to add custom cropping code. I'm sure that could have been done easier though.
Code:
<li><a rel="fancybox" href="<?php i18n_gallery_pic_link($gallery,$i); ?>"><img src="phpThumb/phpThumb.php?src=<?php i18n_gallery_thumb_link($gallery,$item); ?>&w=110&h=110<?php echo htmlspecialchars(@$item['tags']); ?>&zc=0&q=75" alt="<?php echo htmlspecialchars(@$item['_title']); ?>" title="<?php echo htmlspecialchars(@$item['_title']); ?>" /></a></li>