Page 1 of 1

[solved] Album - How to change size of an Image

Posted: Sun May 06, 2007 2:18 pm
by Stoffel84
Hi,

i use the Album module with the Tables-Template.

How is it possible to change the size of the shown image (not the thumpnails).

Thanks for your help!

Steffen

Re: Album - How to change size of an Image

Posted: Mon May 07, 2007 4:14 pm
by Elijah Lofgren
Hi Steffen,
Stoffel84 wrote: i use the Album module with the Tables-Template.

How is it possible to change the size of the shown image (not the thumpnails).
1. Go to: Content ยป Photo Albums
2. Click on the "Installed Templates" tab.
3. Click on the "Tables Template"
4. Find this:

Code: Select all

<img src="{$picture->picture}" alt="{$picture->name}" />
5. Replace with something like this:

Code: Select all

<img src="{$picture->picture}" alt="{$picture->name}" />
picture}" alt="{$picture->name}" width="600" height="480" />
Hope this helps,

Elijah

Re: Album - How to change size of an Image

Posted: Mon May 07, 2007 4:47 pm
by Stoffel84
Hi Elijah,

thanks for help.
With this trick i only resize the output of the image but how i am able to chance the resize value in the module?
I guess the album module resizes the uploaded images, right?

Steffen

Re: Album - How to change size of an Image

Posted: Mon May 07, 2007 4:54 pm
by Elijah Lofgren
Stoffel84 wrote: Hi Elijah,

thanks for help.
With this trick i only resize the output of the image but how i am able to chance the resize value in the module?
I guess the album module resizes the uploaded images, right?

Steffen
Hmmm.. I can't remember if I make Album resize the pictures or not...
Looking at the code, it looks like Album does not resize the pictures: http://viewsvn.cmsmadesimple.org/viewsv ... iew=markup

It does resize thumbnails though.

Re: Album - How to change size of an Image

Posted: Mon May 07, 2007 5:20 pm
by Stoffel84
Sorry you were right.

It seems as my customer had resized the images - without any message to me.....

Thanks for your time and sorry for my bad bad english

Steffen