Results 11 to 20 of 21
Hybrid View
-
21st Aug 2011, 08:11 AM #1BannedWebsite's:
CloudNXT.netYes i know what plugin u need just recode timthumb it will do perfect job
EnCiPh3r Reviewed by EnCiPh3r on . looking for wordpress image resizer plugin anybody know wordpress image resizer plugin which is support for external image hosting i've been looking but many of them its only work when image location is in my wordpress galery, i cant resize them if my image source from other image hosting Thanks Rating: 5
-
21st Aug 2011, 08:12 AM #2Too busy :|Website's:
L337Fx.com BeastieBay.netAs far as I know, you cannot remove it but you can customize that part like how I have done it on scenexxx.com
I changed it to pink to match the theme and changed the icon too.
If you can then apply a transparent style to it and see if it works.
-
21st Aug 2011, 08:23 AM #3Member
First back up your file (ncode-image-resizer.php)
Then open ncode-image-resizer.php
Then delete lines 48-49-50-51-52.
Then on line 38 delete only
Code:table.ncode_imageresizer_warning {background: #FFFFE0;color:#333333;border: 1px solid #E6DB55;cursor: pointer;}table.ncode_imageresizer_warning td {font-size: 10px;vertical-align: middle;text-decoration: none; text-align:left; font-family:Verdana, Geneva, sans-serif;}table.ncode_imageresizer_warning td.td1 {padding: 5px;}table.ncode_imageresizer_warning td.td1 {padding: 2px;}
-
21st Aug 2011, 08:45 AM #4MemberWebsite's:
Releasebb.org wzrelease.com fileserve4u.com iscene360.com
-
21st Aug 2011, 09:14 AM #5Member
Did you delete:
Code:table.ncode_imageresizer_warning {background: #FFFFE0;color:#333333;border: 1px solid #E6DB55;cursor: pointer;}table.ncode_imageresizer_warning td {font-size: 10px;vertical-align: middle;text-decoration: none; text-align:left; font-family:Verdana, Geneva, sans-serif;}table.ncode_imageresizer_warning td.td1 {padding: 5px;}table.ncode_imageresizer_warning td.td1 {padding: 2px;}
PHP Code:<?php
/*
Plugin Name: nCode Image Resizer
Plugin URI: http://www.dmry.net/
Description: This plugin enables you to automatically resize every user-posted image which is larger than given dimensions. Original plugin writen by <a href="http://www.ncode.nl/vbulletinplugins/" target="_blank" title="Jorrit Schippers">Jorrit Schippers for vBulletin</a>.
Author: Hakan Demiray
Version: 1.3
Author URI: http://www.dmry.net/
*/
add_action('init', 'ncode_init');
add_action('admin_menu', 'ncode_options_page');
add_action('activate_ncode-image-resizer/ncode-image-resizer.php','ncode_activate');
add_action('wp_head', 'ncode_wp_head');
add_filter('the_content', 'ncode_the_content',100);
function ncode_init() {
load_plugin_textdomain('ncode', 'wp-content/plugins/ncode-image-resizer/languages' );
}
function ncode_activate() {
add_option('ncode_db_surum', 1);
add_option('ncode_secenekler', array('resizemode'=>'enlarge', 'maxwidth'=>400, 'maxheight'=>''));
}
function ncode_options_page() {
add_options_page(__('nCode Settings','ncode'), __('nCode Settings','ncode'), 'administrator', basename(__FILE__), 'ncode_options');
}
function ncode_wp_head() {
$ncode_secenekler = get_option('ncode_secenekler');
$ncode_plugin_url = WP_CONTENT_URL.'/plugins/ncode-image-resizer/';
?>
<script type="text/javascript" src="<?php echo $ncode_plugin_url; ?>js/ncode_imageresizer.js?v=1.0.1"></script>
<?php if ($ncode_secenekler['resizemode']=='tinybox') { ?>
<script type="text/javascript" src="<?php echo $ncode_plugin_url; ?>js/tinybox.js?v=1.0"></script>
<?php } ?>
<style type="text/css">
<?php if ($ncode_secenekler['resizemode']=='tinybox') { ?>
#tinybox {position:absolute; display:none; padding:10px; background:#fff url(<?php echo $ncode_plugin_url; ?>images/preload.gif) no-repeat 50% 50%; border:10px solid #e3e3e3; z-index:2000}#tinymask {position:absolute; display:none; top:0; left:0; height:100%; width:100%; background:#000; z-index:1500}#tinycontent {background:#fff}
<?php } ?>
</style>
<script type="text/javascript">
NcodeImageResizer.MODE = '<?php echo $ncode_secenekler['resizemode'];?>';
NcodeImageResizer.MAXWIDTH = <?php if($ncode_secenekler['maxwidth']=='') echo "''"; else echo $ncode_secenekler['maxwidth'];?>;
NcodeImageResizer.MAXHEIGHT = <?php if($ncode_secenekler['maxheight']=='') echo "''"; else echo $ncode_secenekler['maxheight'];?>;
</script>
<?php
}
function ncode_durum_katman($mesaj, $durum) {
if($durum == 'guncellendi') $class = 'updated fade';
elseif($durum == 'hata') $class = 'updated error';
else $class = $type;
echo '<div id="message" class="'.$class.'"><p>' . __($mesaj, 'ncode') . '</p></div>';
}
function ncode_the_content($content) {
return preg_replace("/<img([^`|>]*)>/im", "<img onload=\"NcodeImageResizer.createOn(this);\"$1>", $content);
}
function ncode_options() {
if ( function_exists('current_user_can') && !current_user_can('manage_options') ) die(__('Cheatin? uh?', 'ncode'));
if (! user_can_access_admin_page()) wp_die( __('You do not have sufficient permissions to access this page','ncode') );
$array_resizemode = array('none'=>__('Keep original size', 'ncode'), 'enlarge'=>__('Enlarge in same window', 'ncode'), 'samewindow'=>__('Open in same window', 'ncode'), 'newwindow'=>__('Open in new window', 'ncode'), 'tinybox'=>__('Open in modal window', 'ncode'));
if(isset($_REQUEST['submit']) and $_REQUEST['submit']) {
$maxwidth = $_POST['maxwidth'];
$maxheight = $_POST['maxheight'];
$resizemode = $_POST['resizemode'];
$varhata=false;
if(!is_numeric($maxwidth) && !empty($maxwidth)) {
ncode_durum_katman('Maximum width must be numeric', 'hata');
$varhata = true;
} else if(!is_numeric($maxheight) && !empty($maxheight)) {
ncode_durum_katman('Maximum height must be numeric', 'hata');
$varhata = true;
}
if($varhata==false) {
$secenekler = compact('maxwidth','maxheight','resizemode');
update_option('ncode_secenekler', $secenekler);
ncode_durum_katman('Options updated', 'guncellendi');
}
}
$ncode_secenekler = get_option('ncode_secenekler');
?>
<div class="wrap">
<div id="icon-options-general" class="icon32"><br /></div>
<h2><?php _e('nCode Settings', 'ncode'); ?></h2>
<form action="" method="post">
<table class="form-table">
<tr valign="top">
<th scope="row"><label for="resizemode"><?php _e('Images in posts', 'ncode'); ?></label></th>
<td>
<select name="resizemode" id="resizemode">
<?php
foreach($array_resizemode as $_value=>$_option) {
echo "<option value='$_value'". ( ($ncode_secenekler['resizemode']==$_value) ? ' selected="selected"' : '' ) .">$_option</option>";
}
?>
</select>
<span class="description"><?php _e('This blog automatically resizes images which are too large. Please choose here how you would like to view the enlarged images.', 'ncode'); ?></span></td>
</tr>
<tr valign="top">
<th scope="row"><label for="maxwidth"><?php _e('Maximum width', 'ncode'); ?></label></th>
<td><input name="maxwidth" type="text" id="maxwidth" value="<?php echo $ncode_secenekler['maxwidth']; ?>" class="small-text" />
<span class="description"><?php _e('Images taller than this width will be resized. Enter 0 to allow all widths, or leave the field empty to use the default value.', 'ncode'); ?></span>
</td>
</tr>
<tr valign="top">
<th scope="row"><label for="maxheight"><?php _e('Maximum height', 'ncode'); ?></label></th>
<td><input name="maxheight" type="text" id="maxheight" value="<?php echo $ncode_secenekler['maxheight']; ?>" class="small-text" />
<span class="description"><?php _e('Images taller than this height will be resized. Enter 0 to allow all heights, or leave the field empty to use the default value.', 'ncode'); ?></span></td>
</tr>
</table>
<p class="submit">
<input type="submit" name="submit" class="button-primary" value="<?php _e('Save Changes', 'ncode'); ?>" />
</p>
</form>
</div>
<?php
}
?>
-
21st Aug 2011, 11:54 AM #6MemberWebsite's:
Releasebb.org wzrelease.com fileserve4u.com iscene360.com
-
21st Aug 2011, 12:36 PM #7Member
I guess this error is caused by other plugins/Your theme.
But it's strange it shouldn't happen any issue.
-
22nd Aug 2011, 09:44 AM #8MemberWebsite's:
warez-bb.orgI use slimbox2
I tried to check this nCode plugins but i don't know how to use it... Damn .. there is no settings and documentation of this plugin
-
22nd Aug 2011, 10:43 AM #9MemberI use slimbox2
I tried to check this nCode plugins but i don't know how to use it... Damn .. there is no settings and documentation of this plugin
-
25th Aug 2011, 02:28 PM #10Member
Dont use ncode its not good
Use this one you will love it Mate
http://wordpress.org/extend/plugins/image-scaler/
This works with the newest Wordpress Too
Ithis Plugin
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Image Resizer
By Suhel in forum Feedback and SuggestionsReplies: 5Last Post: 21st Sep 2011, 08:05 AM -
image Resizer like KWWH
By iMpeL in forum Web Development AreaReplies: 4Last Post: 5th Mar 2011, 07:45 AM -
any image resizer for vbulletin 4.1.1
By onel0ve in forum vBulletinReplies: 1Last Post: 20th Feb 2011, 10:05 PM -
Need Image Resizer
By Itkraze in forum vBulletinReplies: 1Last Post: 1st Jan 2011, 03:02 PM -
Image resizer
By ACE in forum Feedback and SuggestionsReplies: 14Last Post: 12th Jun 2009, 07:55 AM
themaCreator - create posts from...
Version 3.53 released. Open older version (or...