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

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Stoffel84
Forum Members
Forum Members
Posts: 69
Joined: Sun Apr 09, 2006 3:33 pm

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

Post 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
Last edited by Anonymous on Sat May 12, 2007 6:34 pm, edited 1 time in total.
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: Album - How to change size of an Image

Post 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
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
Stoffel84
Forum Members
Forum Members
Posts: 69
Joined: Sun Apr 09, 2006 3:33 pm

Re: Album - How to change size of an Image

Post 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
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: Album - How to change size of an Image

Post 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.
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
Stoffel84
Forum Members
Forum Members
Posts: 69
Joined: Sun Apr 09, 2006 3:33 pm

Re: Album - How to change size of an Image

Post 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
Post Reply

Return to “Modules/Add-Ons”