a different slideshow per entry/page

Discuss PivotX 2.0.x extensions here, and view extensions that are available for download.

Re: a different slideshow per entry/page

Postby hansfn » Sun Mar 21, 2010 8:55 pm

Yes, mixing portrait and landscape images doesn't work very well. It's all about the call to timthumb.php - look at the generated HTML source code and see extensions/slideshow/widget_slideshow.php. Maybe adding "fit=1" to the URLs work? Please play with the timthumb.php parameters and tell me if you succeed.
hansfn
Developer
 
Posts: 3281
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: a different slideshow per entry/page

Postby amorph » Sun Mar 21, 2010 9:29 pm

Thanks for the tip. Now I get thumbnails that don't stretch, but they need to be cropped (zc=1). Doesn't seem to matter if 'fit' is 0 or 1, as long as it's set; that made the difference, for some reason. Since I tried all combinations my conclusion is that there's no easy way to logically shrink an image to fit within the frame. Maybe I'll use the gallery extension for that stuff.
amorph
 
Posts: 6
Joined: Fri Mar 19, 2010 6:49 pm

Re: a different slideshow per entry/page

Postby hansfn » Sun Mar 21, 2010 9:37 pm

We have just update timthumb.php to the latest version available - do you end on the same conclusion if you use PivotX Latest from http://pivotx.net/files/unstable-development/ And do you recommend changing the timthumb.php parameters used by the slideshow extension?
hansfn
Developer
 
Posts: 3281
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: a different slideshow per entry/page

Postby amorph » Tue Mar 23, 2010 12:10 pm

With the new version the default settings don't create any stretches with my system. It zooms and crops, and that's it, so no changes needed.
amorph
 
Posts: 6
Joined: Fri Mar 19, 2010 6:49 pm

Re: a different slideshow per entry/page

Postby Harm10 » Tue Oct 12, 2010 2:57 pm

I think
Code: Select all
[[ slideshow folder=$entry.title ]]
or
Code: Select all
[[ slideshow folder=$page.title ]]
depending on the type of entry you are one, should work. The folder still has to be under images\.
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: a different slideshow per entry/page

Postby hansfn » Tue Oct 12, 2010 6:43 pm

Those are good suggestions, Harm, but using the title can cause problems with special characters, space and such. It's better to use the uri - $page.uri or $entry.uri
hansfn
Developer
 
Posts: 3281
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: a different slideshow per entry/page

Postby Harm10 » Tue Oct 12, 2010 7:21 pm

hansfn wrote:Those are good suggestions, Harm, but using the title can cause problems with special characters, space and such. It's better to use the uri - $page.uri or $entry.uri
As always, Hans, you are right! ;) :mrgreen:
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Previous

Return to 2.x Extensions

Who is online

Users browsing this forum: No registered users and 2 guests

cron