Automatic image resizer


Automatic image resizer

Postby paul » Sun May 30, 2010 11:44 am

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

paul
 
Posts: 3
Joined: Sun May 30, 2010 11:34 am
Blog: View Blog (0)

Re: Automatic image resizer

Postby CaNNon » Sun May 30, 2010 3:35 pm

Most of them should work, I like this one though highslide.

CaNNon
 
Posts: 3
Joined: Tue Jan 26, 2010 10:56 am
Blog: View Blog (0)

Re: Automatic image resizer

Postby John » Sun May 30, 2010 4:01 pm

just remember that Vista is based off of subsilver2 and proVista is based off of proSilver so follow the mod instructions accordingly

User avatar
John
Site Admin
 
Posts: 548
Joined: Tue Jul 19, 2005 1:29 pm
Location: Seattle Wa
Blog: View Blog (0)
Real Name: John Wagner

Re: Automatic image resizer

Postby paul » Mon May 31, 2010 5:34 am

Thanks both for your reply. I 'll try it. The information of subsilver2 base is essential I believe.

Succes with your good work!

Paul

paul
 
Posts: 3
Joined: Sun May 30, 2010 11:34 am
Blog: View Blog (0)

Re: Automatic image resizer

Postby paul » Sat Jun 05, 2010 4:04 pm

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

paul
 
Posts: 3
Joined: Sun May 30, 2010 11:34 am
Blog: View Blog (0)

Re: Automatic image resizer

Postby John » Sat Jun 05, 2010 5:20 pm

have you added any mods that have previously altered attachment.html? Your file is not correct.
here is the default file for subsilver2

Attachments
attachment.zip
(1.69 KiB) Downloaded 167 times
User avatar
John
Site Admin
 
Posts: 548
Joined: Tue Jul 19, 2005 1:29 pm
Location: Seattle Wa
Blog: View Blog (0)
Real Name: John Wagner



Post a reply



Return to phpBB3 Mods

Who is online

Users browsing this forum: No registered users and 0 guests

cron