Advertisement:

Author Topic: nCode Image Resizer  (Read 207763 times)

Offline b33z

  • Semi-Newbie
  • *
  • Posts: 41
  • ScifiUnited.Net -Uniting Science Fiction Fans
    • ScifiUnitedNet on Facebook
    • @ScifiUnitedNet on Twitter
    • ScifiUnited.Net
Re: nCode Image Resizer
« Reply #40 on: June 26, 2008, 07:17:46 AM »

 index.template.php:

Code: (find) [Select]
background-color: #fefee1; /* the bgcolor behind the text and image */

Code: (replace with) [Select]
background-image:url(', $settings['images_url'], '/imageresizeback.gif); background-repeat:repeat-x; /* the bgcolor behind the text and image */

thanks for this! perfect!

Offline Dante_Arg

  • Jr. Member
  • **
  • Posts: 123
Re: nCode Image Resizer
« Reply #41 on: June 29, 2008, 09:17:44 PM »
Hi, i ve one problem with this mod:

I already install the mod manually but i cant see the text over the pop-up window.... im using Black_red theme. When iam using default theme the text is ok but when i m using my theme it disappears.

Also i modified index.template.php from my folder theme and default too.

What can be happening?




hahaah i am n00b, nevermind, the colour of font and background is the same XD
« Last Edit: June 29, 2008, 09:56:34 PM by Dante_Arg »

Offline b33z

  • Semi-Newbie
  • *
  • Posts: 41
  • ScifiUnited.Net -Uniting Science Fiction Fans
    • ScifiUnitedNet on Facebook
    • @ScifiUnitedNet on Twitter
    • ScifiUnited.Net
Re: nCode Image Resizer
« Reply #42 on: July 11, 2008, 03:38:23 AM »
Hi, i ve one problem with this mod:

I already install the mod manually but i cant see the text over the pop-up window.... im using Black_red theme. When iam using default theme the text is ok but when i m using my theme it disappears.

Also i modified index.template.php from my folder theme and default too.

What can be happening?




hahaah i am n00b, nevermind, the colour of font and background is the same XD

dont feel bad.. i did that same thing with a different mod, took me like two days to figure it out! but we just keep on learnin! hehe..

Offline Dr. Beast

  • Semi-Newbie
  • *
  • Posts: 11
Re: nCode Image Resizer
« Reply #43 on: July 18, 2008, 05:53:21 AM »
I installed this mod but don't have any new options under Layout and Options?  ::)

Offline mymktp1

  • Semi-Newbie
  • *
  • Posts: 33
Re: nCode Image Resizer
« Reply #44 on: July 24, 2008, 12:23:05 PM »
Hi... I'm having the same problem everyone else had... except I couldn't solve it... I can't get the tab that opens orignal size to appear can some please take a look at my index.template.php and see what the problem might be thank you :P oh... bye the way I am also using the orange template

Offline hhy89

  • Full Member
  • ***
  • Posts: 486
Re: nCode Image Resizer
« Reply #45 on: July 31, 2008, 01:27:51 PM »
for manuel setup
phpmyadmin; setup table code 's   :-\
Seo4Smf 2.0 - Full Top10 Stats(full top10) - Aligned and Bilateral Child Boards(2li 3lü alt bölümler)
http://www.smfmod.com
http://destek.smfmod.com

Offline MoreBloodWine

  • SMF Hero
  • ******
  • Posts: 2,695
  • Gender: Male
  • ...
    • Uncharted 2: Among Thieves Stat Sig Generator
Re: nCode Image Resizer
« Reply #46 on: August 05, 2008, 06:49:41 PM »
Does anyone have a site with this mod installed that I can look at ?
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


Offline locau

  • Semi-Newbie
  • *
  • Posts: 40
Re: nCode Image Resizer
« Reply #47 on: August 12, 2008, 10:11:27 AM »
Is there any chance of getting a new option to show the image ? I'm looking for Lightbox !

Anyone able to do this ?

Offline MissyNL

  • Full Member
  • ***
  • Posts: 643
  • Gender: Female
Re: nCode Image Resizer
« Reply #48 on: August 13, 2008, 02:08:54 PM »
Is there any chance of getting a new option to show the image ? I'm looking for Lightbox !

Anyone able to do this ?

Hi.. this should be a good mod for you.. however.. know that once you have installed the lightbox.. when you click on that image.. it is going to open in de mode of this mod and it's opening in the lightbox...

So.. my question is... can the link to open it in it's original size be disabled in this mod, so that it only can open in the lightbox??
Sorry for my poor English, but i think it's probably better then your Dutch :)

Offline kizer

  • Jr. Member
  • **
  • Posts: 383
  • Gender: Male
    • Links4Jeeps.com
Re: nCode Image Resizer
« Reply #49 on: August 13, 2008, 03:06:45 PM »
Does anyone have a site with this mod installed that I can look at ?

Heres the script in action.
http://www.links4jeeps.com/forum/index.php?topic=8371.msg62440#msg62440
Own a Jeep? Links4Jeeps.com

Offline knaphih

  • Semi-Newbie
  • *
  • Posts: 27
Re: nCode Image Resizer
« Reply #50 on: August 15, 2008, 09:40:35 AM »
wow...it sure works on the link u gave kizer...... im using the theme Classic-FS which i downloaded from the SMF theme site..... It doesnt have the language folder..im not able to see the image wen i installed it.....sure i did the theme index modification alright....any ideas?

Offline Axodious

  • Semi-Newbie
  • *
  • Posts: 88
    • Aftermath WoW Guild Website
Re: nCode Image Resizer
« Reply #51 on: August 15, 2008, 06:36:08 PM »
I'm using the DarkWoW theme on SMF 1.1.5, the mod installed fine. However when I go to the Layout and Options at the bottom it shows a drop box and 2 edit boxes that are both blank with no text beside them. Also the mod doesn't work at all no changes to any images, for editting the index.template.php are you suppose to just copy the ncode part from the default index.template.php ? That is what I did and it still didnt work.

Attatched is a screenshot of the layout and options page.
"You make my heart pound; my mouth water. Yeah, there’s nothing like a chili dog." Sonic the Hedgehog

Offline knaphih

  • Semi-Newbie
  • *
  • Posts: 27
Re: nCode Image Resizer
« Reply #52 on: August 15, 2008, 11:05:53 PM »
nevermind..ive got it working on my forum now...superb mod btw

Offline Axodious

  • Semi-Newbie
  • *
  • Posts: 88
    • Aftermath WoW Guild Website
Re: nCode Image Resizer
« Reply #53 on: August 24, 2008, 01:47:03 AM »
I'm using the DarkWoW theme on SMF 1.1.5, the mod installed fine. However when I go to the Layout and Options at the bottom it shows a drop box and 2 edit boxes that are both blank with no text beside them. Also the mod doesn't work at all no changes to any images, for editting the index.template.php are you suppose to just copy the ncode part from the default index.template.php ? That is what I did and it still didnt work.

Attatched is a screenshot of the layout and options page.

Anyone got a fix for this issue yet?
"You make my heart pound; my mouth water. Yeah, there’s nothing like a chili dog." Sonic the Hedgehog

Offline triantis7

  • Semi-Newbie
  • *
  • Posts: 59
Re: nCode Image Resizer
« Reply #54 on: August 24, 2008, 07:00:09 AM »
Hello i tried to translate to Greek, but my site doesnt recognise the language..
my site is in Greek, i have installed the greek package!
I open with dreamweaver the install.mod and change in greek,but as you see at the photo my site doesnt recognise Greek!
Do you know why?

Offline n00dle

  • Semi-Newbie
  • *
  • Posts: 19
Re: nCode Image Resizer
« Reply #55 on: August 25, 2008, 07:03:44 PM »
I got this to work but I cant see any text in the bar above the image.. it just has the little icon and the tan bar without any words...
[nofollow]
[nofollow]

Offline linette97

  • Jr. Member
  • **
  • Posts: 130
  • Gender: Female
Re: nCode Image Resizer
« Reply #56 on: August 26, 2008, 10:11:20 PM »
Thanks for this Mod! it's great! I modified it in my custom theme index.template.php.

1st I had problems because I was copying & pasting from SMF Manual install instructions & a error would occur. So I read this topic and found out that sometimes copying from SMF would mess up the code.. So I did what was said, take the code from install.mod file. My issue was that file was a AVI file!!! so when I tried to open it, it would open in windows media player (nothing played of course).. So I decided to Open With notepad and the codes were hard to read!!! They didn't look like the normal codes... SOOOO after maybe an hour of trying to figure it out! I said let me try and copy & paste it to MS Word and don't you know the code came out clear as day and after pasting into index.template, IT FINALLY WORKED!! phew!! this manual install is a killer! But I'm loving my theme so I gotta do it!
Just letting you guys know in case someone has the same issues as I did!!

Thanks again for this great mod!
Watch Documentaries Online!


Yesterday is history,
Tomorrow is a mystery,
Today is a gift,
That’s why it’s called the Present.

Offline gaodogo

  • Newbie
  • *
  • Posts: 1
Re: nCode Image Resizer
« Reply #57 on: September 01, 2008, 01:09:19 AM »
This is a great mod. Thank you for sharing this with us.

I have translated this mode into to Simple Chinese.

Find Edit (if you are using a custom theme, you should change :Modifications.chinese-simplified-utf8.php" in the  "languages" folder of that theme.)
./$languagesdir/Modifications.chinese-simplified-utf8.php


Find
Code: [Select]
?>
Add Before:
Code: [Select]
<add before>
// --- Begin added code - Advanced Visual Verification ---
$txt['ncode_imageresizer_warning_small'] = '点击这里看原图';
$txt['ncode_imageresizer_warning_filesize'] = '此图片大小已经自动更改,点击这里看原图. 图片原始大小为 %1$sx%2$s x %3$sKB.';
$txt['ncode_imageresizer_warning_no_filesize'] = '此图片大小已经自动更改,点击这里看原图. 图片原始大小为%1$sx%2$s.';
$txt['ncode_imageresizer_warning_fullsize'] = '点击这里看小图';
$txt['ncode_imageresizer_mode'] = '图片大小自动更改模式';
$txt['ncode_imageresizer_original'] = '保持原本大小';
$txt['ncode_imageresizer_enlarge_same'] = '在同一文件中变大';
$txt['ncode_imageresizer_open_same'] = '用同一窗口显示';
$txt['ncode_imageresizer_open_new'] = '用新窗口显示';
$txt['ncode_imageresizer_max_width'] = '最大宽度';
$txt['ncode_imageresizer_max_height'] = '最大高度<br />
<span class="smalltext">不填入数字则不会设定最大高度</span>';
// --- End added code ---
</add before>
« Last Edit: September 01, 2008, 01:33:10 AM by gaodogo »


Offline Sabre™

  • SMF Hero
  • ******
  • Posts: 2,527
  • Gender: Male
  • IF IT AINT BROKE, I CAN FIX IT TILL IT IS!!
Re: nCode Image Resizer
« Reply #59 on: September 20, 2008, 05:17:30 PM »
Everyone having issues with not seeing the writing on the bar, and or Admin panel for this mod, go to your       Themes/default/languages/Modifications.english.php  template, and make sure this code is installed

Code: [Select]
// --- Begin added code - Advanced Visual Verification ---
$txt['ncode_imageresizer_warning_small'] = 'Click this bar to view the full image.';
$txt['ncode_imageresizer_warning_filesize'] = 'This image has been resized. Click this bar to view the full image. The original image is sized %1$sx%2$s and weighs %3$sKB.';
$txt['ncode_imageresizer_warning_no_filesize'] = 'This image has been resized. Click this bar to view the full image. The original image is sized %1$sx%2$s.';
$txt['ncode_imageresizer_warning_fullsize'] = 'Click this bar to view the small image.';
$txt['ncode_imageresizer_mode'] = 'Resize Mode'; $txt['ncode_imageresizer_original'] = 'Keep original size';
$txt['ncode_imageresizer_enlarge_same'] = 'Enlarge in same document';
$txt['ncode_imageresizer_open_same'] = 'Open in same window';
$txt['ncode_imageresizer_open_new'] = 'Open in new window';
$txt['ncode_imageresizer_max_width'] = 'Maximum width';
$txt['ncode_imageresizer_max_height'] = 'Maximum height<br /><span class="smalltext">Leave blank for no max height.</span>';
// --- End added code ---


If youre using UTF8, then you will have to do the manual installation to that language file.
« Last Edit: September 20, 2008, 05:22:14 PM by Sabre™ »
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)