Loading...
 
Skip to main content

Features / Usability


Image Re-size

Hello all,

hope you all had a good christmas,

I'm new to Tiki and although I think it has everything I need from a CMS I'm finding it a little frustrating to be able to find the help I need on my own.

I have Tiki 1.9.8.3 installed and the first major problem I'm having is getting my image uploads resized to a maximum width. Thumbnails are resizing Ok but it's the original images that I want to resize. I'm currently storing them in a database, would it be better to store them in a directory or not?

Thanks in advance 🎅

> Hello all,
>
> hope you all had a good christmas,
>
> I'm new to Tiki and although I think it has everything I need from a CMS I'm finding it a little frustrating to be able to find the help I need on my own.
>
> I have Tiki 1.9.8.3 installed and the first major problem I'm having is getting my image uploads resized to a maximum width. Thumbnails are resizing Ok but it's the original images that I want to resize. I'm currently storing them in a database, would it be better to store them in a directory or not?
>
> Thanks in advance 🎅


You can't change the original size of an uploaded image, but you can add a different scale by using the Add scaled images field when creating/editing your Image Gallery. See the docs, hereQuestion for details.



HTH,

-RickQuestion
Need more help? Try TikiWiki for Dummies SmartiesQuestion — A beginner's guide to using ))TikiWiki((.

> You can't change the original size of an uploaded image, but you can add a different scale by using the Add scaled images field when creating/editing your Image Gallery. See the docs, hereQuestion for details.
>
>
>
> HTH,
>
> -RickQuestion
> Need more help? Try TikiWiki for Dummies SmartiesQuestion — A beginner's guide to using ))TikiWiki((.

Thanks for the quick reply Rick but it won't allow me to add scaled images for some reason?

Any ideas?

>
> Thanks for the quick reply Rick but it won't allow me to add scaled images for some reason?
>
> Any ideas?

Are you logged in as the Admin?

Which image library are you using (GD or Imagick)?

When you created/edit the gallery, do you not have these fields:

  • Available scales
  • Add scaled images with bounding box of square size


See hereQuestion for details.


HTH,

-RickQuestion
Need more help? Try TikiWiki for Dummies SmartiesQuestion — A beginner's guide to using ))TikiWiki((.

> Are you logged in as the Admin?
>
> Which image library are you using (GD or Imagick)?
>
> When you created/edit the gallery, do you not have these fields:
> *Available scales
> *Add scaled images with bounding box of square size
>
> See hereQuestion for details.
>
>
> HTH,
>
> -RickQuestion
> Need more help? Try TikiWiki for Dummies SmartiesQuestion — A beginner's guide to using ))TikiWiki((.

Rick,

yes I'm logged in as admin and I'm using GD image library.

Available scales is shown but it says 'No scales available'

I've tried inputing things into the 'Add scaled images' box but it doesn't appear to change anything?
Is my syntax right? '600x450' for instance?

Phil.

> > Are you logged in as the Admin?
> >
> > Which image library are you using (GD or Imagick)?
> >
> > When you created/edit the gallery, do you not have these fields:
> > *Available scales
> > *Add scaled images with bounding box of square size
> >
> > See hereQuestion for details.
> >
> >
> > HTH,
> >
> > -RickQuestion
> > Need more help? Try TikiWiki for Dummies SmartiesQuestion — A beginner's guide to using ))TikiWiki((.
>
> Rick,
>
> yes I'm logged in as admin and I'm using GD image library.
>
> Available scales is shown but it says 'No scales available'
>
> I've tried inputing things into the 'Add scaled images' box but it doesn't appear to change anything?
> Is my syntax right? '600x450' for instance?
>
> Phil.


I see now... you need to realize that you are scaling the image — not resizing it. As such, you can specify only a single pixel size that Tiki will use to attempt to scale the image to the specific sized box.

Use only 600 or 450 — not both. Tiki can't scale the X and Y axis differently — they must be the same.

Think of it this way, if you are using a 600px scale and upload an image that is actually 1024x768, Tiki will rescale it to 600x450 (aprox 58.5% reduction).

Likewise, if you are using a 450px scale, Tiki would rescale your 1024x768 image to 450x337 (aprox 43.9%).

HTH,


-RickQuestion
Need more help? Try TikiWiki for Dummies SmartiesQuestion — A beginner's guide to using ))TikiWiki((.

> I see now... you need to realize that you are scaling the image — not resizing it. As such, you can specify only a single pixel size that Tiki will use to attempt to scale the image to the specific sized box.
>
> Use only 600 or 450 — not both. Tiki can't scale the X and Y axis differently — they must be the same.
>
> Think of it this way, if you are using a 600px scale and upload an image that is actually 1024x768, Tiki will rescale it to 600x450 (aprox 58.5% reduction).
>
> Likewise, if you are using a 450px scale, Tiki would rescale your 1024x768 image to 450x337 (aprox 43.9%).
>
> HTH,
>
>
> -RickQuestion
> Need more help? Try TikiWiki for Dummies SmartiesQuestion — A beginner's guide to using ))TikiWiki((.

Rick,

fantastic! that has solved the problem. Ok now to get to work on my gallery section.

Thanks very much for your help but beware I have more questions to follow shortly 😉

Happy New Year! 😀