Free image hosting BUSINESS SECRETS

Discussion in 'General Marketing' started by Mailzas, Jan 8, 2008.

  1. varkeytech

    varkeytech Banned

    Messages:
    214
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #121
    varkeytech, Feb 10, 2008 IP
  2. Johnny Doomo

    Johnny Doomo Banned

    Messages:
    352
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #122
    Mailzas can you please help me on telling me where I put the javascript code you mentioned? I've pasted them below:

    JAVASCRIPT IMAGE RESIZE:
    Place some code

    //Scale image if needed
    		$h = $file_info['1'];
    		$w = $file_info['0'];
    		
    		$oh = $file_info['1'];
    		$ow = $file_info['0'];
    		
    		//width - new_width
    		//height - new_height
    
    		if ($w > 830){
    			$new_width = 830;
    			$new_height = ($h * 830) / $w;
    			
    			$w = $new_width;
    			$h = $new_height;
    		};
    		
    		 		
    		if ($h > 650){
    			$new_height = 650;
    			$new_width = ($w * 650) / $h;
    			
    			$w = $new_width;
    			$h = $new_height;
    		};
    		
    print <<<HTML
    <script type="text/javascript">
      function scale_img(){		
    	  pic = document.getElementById('thepic');		
    	  pic.height = $h;
    	  pic.width = $w;
    	  
    	  link = document.getElementById('thelink');	
    	  link.href = "javascript: max_img()";	  
    	};
    	
      function max_img(){		
    	  pic = document.getElementById('thepic');		
    	  pic.height = $oh;
    	  pic.width = $ow;
    	  
    	  link = document.getElementById('thelink');	
    	  link.href = "javascript: scale_img()";
    	};
    </script>	
    HTML;
    
    Code (markup):
    and

    Showing image

    
    //resized
    	$href= "#";
    	if (($w <> $ow) or ($h <> $oh))
    	  $href = "javascript: max_img();";  
    	
    	$img = "<a id='thelink' href=\"$href\"><img id='thepic' src=\"{$path}{$file}\" width='$w' height='$h' alt=\"{$file}\" title=\"{$file}\" /></a>";
    
    Code (markup):
    I don't know where you were saying to put these chunks of code, can you please help me?

    Can you tell us what to put in our htaccess files to redirect those that are linking directly to our fullsize images so that it redirects them to the website page with the image that has ads?

    Can you also tell us how to got the redirecting of thumbnails you mentioned?

    Thank you for a great thread, I just wish I understood how to do some of the things you mentioned.
     
    Johnny Doomo, Feb 12, 2008 IP
  3. Sipifi

    Sipifi Well-Known Member

    Messages:
    530
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    155
    #123
    Still nothing? :(

    Or if someone else knows how to do it, please pm or reply here.
     
    Sipifi, Feb 15, 2008 IP
  4. varkeytech

    varkeytech Banned

    Messages:
    214
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #124
    Mailzas - Any more tips?
     
    varkeytech, Mar 30, 2008 IP
  5. nickswift

    nickswift Well-Known Member

    Messages:
    535
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    #125
     
    nickswift, Mar 30, 2008 IP
  6. rarebiz

    rarebiz Member

    Messages:
    40
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #126
    i'm not into this image hosting business.
    but this thread is VERY INSPIRING.
    Thanks for sharing Mailzas :)
     
    rarebiz, Mar 30, 2008 IP
  7. souljaboygear

    souljaboygear Guest

    Messages:
    97
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #127
    Hey Mailzas, how are things going with your website? Have you been able to sell it for a fortune like you thought you would?
     
    souljaboygear, Apr 7, 2008 IP
  8. Whitey

    Whitey Active Member

    Messages:
    1,386
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    80
    #128
    Havnt seen this thread updated for a while... I'm eager to know how your site is doing :)
     
    Whitey, Apr 11, 2008 IP
  9. jumpinjack

    jumpinjack Active Member

    Messages:
    347
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #129
    yeah what happened to him? last login feb 7th.
     
    jumpinjack, Apr 11, 2008 IP
  10. ProgMania

    ProgMania Active Member

    Messages:
    632
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    70
    #130
    Maybe he his busy with something ?
     
    ProgMania, Apr 13, 2008 IP
  11. joe3082

    joe3082 Peon

    Messages:
    158
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #131
    wow, this is good stuff, but kinda old
     
    joe3082, Nov 7, 2009 IP