-
- 4,149 Posts
Gallery does not support phpThumbOf integration.
shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect |
github |
splittingred.com
-
- 168 Posts
boo. thanks for the quick reply.
is there any way to get gallery to pass over "&q=100" in the img src other than what i did? i see there’s a mention of "imageQuality", which "If being used by a plugin, the quality of the image, from 0-100.", but i couldn’t figure out what to do with that. i put it in my call, but it didn’t seem to do anything.
-
- 82 Posts
ahh this expains why i could not apply phpthumb of watermark filter - is there any other work around for this have a client crying out for watermarks ?
-
- 82 Posts
this wasn’t far off what i have i can apply phpthumbof filters but it mucks up some of the features of my jquery gallery -
this is my ; galItemThumb ;
<div class="[[+cls]]">
<a href="[[+image]]&fltr[]=wmt|TESTER TEXT" rel="prettyPhoto[[[+album]]]">
<img class="[[+imgCls]]" src="[[+thumbnail]]" alt="[[+name]]" />
</a>
</div>
if i place the phpthumbof watermark text it appears however when using with prettyphoto which has a nice thumbail bar within the large image the thumbnails do not show - is fine if i remove the line ;
&fltr[]=wmt|TESTER TEXT
Actually, phpthumbof works perfectly in the Gallery template, but you have to change the placeholder to the direct image URL (fileurl). I find some JQuery scripts work much better if you use phpthumbof instead of the Gallery resizer:
[[+fileurl:phpthumbof=`w=890&h=890`]]
Gallery was causing too much of a delay in serving the image for my JQuery gallery.
WebsiteZen.com - MODX and E-Commerce web development in the San Francisco Bay Area
-
- 61 Posts
Quote from: Oleg at Mar 06, 2011, 07:27 AM
Actually, phpthumbof works perfectly in the Gallery template, but you have to change the placeholder to the direct image URL (fileurl). I find some JQuery scripts work much better if you use phpthumbof instead of the Gallery resizer: [[+fileurl:phpthumbof=`w=890&h=890`]]
Gallery was causing too much of a delay in serving the image for my JQuery gallery.
Hi, I try used this and not work for me
My gallery chunck:
<article class="bEspecialidades">
<div class="fblanco">
<ul>[[!Gallery? &album=`7` &thumbTpl=`Especialtpl`]]</ul>
</div>
<h2>Nuestras especialidades</h2>
</article>
and my thumbTpl
<li>
<div class="image"><img src="[[+fileurl:phpthumbof=`w=420&h=224`]]" alt="[[+name]] - [[++site_name]]" /></div>
<h3 class="data">[[+name]]</h3>
</li>
what is wrong??
I used MODx Revolution 2.0.8-pl (traditional) and Gallery 1.2.0 RC1. I want use phpthumbof because this error
http://modxcms.com/forums/index.php/topic,63281.0.html makes me crazy
tnx
Did you install the phpthumbof package? If so, what errors are you getting?
WebsiteZen.com - MODX and E-Commerce web development in the San Francisco Bay Area