Page 1 of 1

Automatic image resizer

PostPosted: Sun May 30, 2010 11:44 am
by paul
Hi there,

I am using the Vista template (Everybody loves it) and need an Image resizer for the big images that are posted by the members.

Is there a mod I can use for the Vista style? Please help.

Thanks for answering.

paul

Re: Automatic image resizer

PostPosted: Sun May 30, 2010 3:35 pm
by CaNNon
Most of them should work, I like this one though highslide.

Re: Automatic image resizer

PostPosted: Sun May 30, 2010 4:01 pm
by Helter
just remember that Vista is based off of subsilver2 and proVista is based off of proSilver so follow the mod instructions accordingly

Re: Automatic image resizer

PostPosted: Mon May 31, 2010 5:34 am
by paul
Thanks both for your reply. I 'll try it. The information of subsilver2 base is essential I believe.

Succes with your good work!

Paul

Re: Automatic image resizer

PostPosted: Sat Jun 05, 2010 4:04 pm
by paul
I have a problem.
They want me to alter:
Open: styles/subsilver2/template/attachment.html
Find:
Code: Select all
  1. <!-- IF _file.S_THUMBNAIL -->
  2.             <a href="{_file.U_DOWNLOAD_LINK}"><img src="{_file.THUMB_IMAGE}" alt="{_file.DOWNLOAD_NAME}" /></a><br />
  3.             <span class="gensmall">{_file.DOWNLOAD_NAME} [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOAD_COUNT} ]</span>
  4.         <!-- ENDIF -->


What is in my: styles/subsilver2/template/attachment.html , is this (complete text):

Code: Select all
  1. [<HTML><HEAD>
  2. <META name=GENERATOR content="MSHTML 8.00.6001.18904"></HEAD>
  3. <BODY>[{_file.DENIED_MESSAGE}] {L_FILE_COMMENT}: {_file.COMMENT} {_file.DOWNLOAD_NAME} [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOAD_COUNT} ] {_file.DOWNLOAD_NAME} [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOAD_COUNT} ] {_file.UPLOAD_ICON} {_file.DOWNLOAD_NAME} [{_file.FILESIZE} {_file.SIZE_LANG}] {_file.L_DOWNLOAD_COUNT} [ {L_PLAY_QUICKTIME_FILE} ] {_file.DOWNLOAD_NAME} [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOAD_COUNT} ] </BODY></HTML>]


Where do you think I have to replace the text now? No "thumbnail" found here.
The answer will be simple. I know. But that's always afterwards.
Thanks.
paul

Re: Automatic image resizer

PostPosted: Sat Jun 05, 2010 5:20 pm
by Helter
have you added any mods that have previously altered attachment.html? Your file is not correct.
here is the default file for subsilver2