Slideshow - image resize doesn´t work

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
timbo
Phoca Member
Phoca Member
Posts: 11
Joined: 20 Mar 2008, 22:02

Slideshow - image resize doesn´t work

Post by timbo »

hi,

i finally got the plugin work, but the image resize function doensn´t work properly.

{pgslideshow id=23|width=500|height=800|delay=2000|image=S} results in very, very, very small pictures about 50x75px

{pgslideshow id=23|width=500|height=800|delay=2000|image=M} results in very small pictures about 100x150px

{pgslideshow id=23|width=500|height=800|delay=2000|image=L} results in very big pictures - too big for me

so, i can choose: do i want S - picutures i can barely see with my eyes, M - very small pictures or L - VERY VERY BIG pictures. if i choose that the crop is very strong so only details of my picutures are shown.

is it possible so get that work in about 400px width?

thx
best regards
tom
apgraham
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 07 Aug 2009, 04:31

Re: Slideshow - image resize doesn´t work

Post by apgraham »

I'm having the same issue. Doesn't really seem to be any support for this plugin. Let me know if you find a solution.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48398
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Slideshow - image resize doesn´t work

Post by Jan »

Hi, first check size of your thumbnails (in parameters component)

if you have set (or it is set as default) small thumbnail to 100x100 then the code with image=S produces such size, it means 50x75px


if you have set (or it is set as default) meidum thumbnail to 200x200 then the code with image=M produces such size, it means 100x150px


if you have set (or it is set as default) large thumbnail to 640x480 then the code with image=L produces such size, it means 640x480

Of course if you call small thumbnail which have 50x75px you cannot resize it to 500x800. The resize function works only for cropping the image.

E.g. you want the slideshow will be displayed with 300x400px. YOU CANNOT SELECT smaller images like SMALL THUMBNAIL (image=S) or MEDIUM THUMBNAIL(image=M). You need to select LARGE THUMBNAIL which e.g. have the size set to 640x480 and because you want only have 300x400, you need to set it to parameters, so the large thumbnail will be smaller.

Phoca Gallery Components saves 3 types of thumbnails (small, medium, large) and you can set the size of these types in parameters. If you then will use e.g. slideshowplugin, you need to know which size do your thumbnails have. The slideshow plugin doesn't resize images, it only make smaller the images. Resizing images online cannot be done as it in fact will slow your server so it cannot be used.
If you find Phoca extensions useful, please support the project
Post Reply